allisonlbanderson

Selecting PDF to view from datagrid result

Discussion created by allisonlbanderson on May 1, 2012
Latest reply on May 2, 2012 by allisonlbanderson
I have a datagrid that is returning the results from a spatial selection.  One of the fields contains the names of pdfs that I would like to have launch when clicked.  I've created a formatter for this field, so the user does not see the name - it's just a button.  If there is just one pdf listed in the attribute, I'm good.  But there are some features that have multiple pdfs and the user would pick which one they want to open. They are delimited by semicolons now in the attribute field.  I'm trying to figure out the best option for providing this functionality. 

Is it possible to create a dropdown list of all the pdfs and the one selected would launch?

Or do I create a dialog box that would have links to each pdf?  I'm guessing I would need to parse out the individual pdf names into an array.

I'm new to all this programming stuff and am hacking together samples to make this work.

Outcomes