I have set up the application user to be able to add UDD word docs and export them, as word or pdf.
If its a word doc, I use
DISPLAY DOCUMENT UDDParameter.ps_UserDefDoc.UDD_Name
If its a pdf export, I use
EXPORT DOCUMENT UDDParameter.ps_UserDefDoc.UDD_Name TO FILE UDDParameter.DocumentPath
EXECUTE PROGRAM UDDParameter.ExecuteBat
IMPORT DOCUMENT UDDParameter.DocumentPDF FROM UDDParameter.DocumentPDFPath
DISPLAY DOCUMENT UDDParameter.DocumentPDF
These processes are taking around 30 seconds on average to run.
Is there a way I can speed this up?
Im hoping for sub 5 seconds but Ill take what I can get.