My goal is to have the user press a button to select a file ONE TIME that will be used both as an attachement and the button icon. I know how to do each of these tasks separately, but this requires my user to select the same file twice. I am looking for a way to either:
- Have them import a file as a button Icon, then change the Icon into a DataObject and attach it to the pdf
- Have them import a file as a DataObject attachment, then convert it to an Icon
Is this possible? I haven't been able to figure this conversion step out.
Thanks