EPDM Data Card Button - Search for PDF

Is there a way to have a button on a data card, when pressed, read a variable (drawing number) from that card then search for that PDF in the vault?

Thanks!

SolidworksApi macros