Good morning,
I am trying to add an action button to a VFE form that will call a document template. I have tried adding a runprocess then:
INSERT_FORM_COMP, and INSERT_COMP.
Neither of these do what I want, and I cannot find a data symbol that is something resembles INSERT_DOC_TEMP.
What am I missing? Any ideas?
Thanks,
-B
You could simply do the necessary amount of ADD_FORM_COMP to insert all of the forms that reside within your document template.
Dave
So I tried this:
With and without {}
runprocess:
ADD_FORM_COMP("Enterprise\CCC\HPI-ROS-CCC")
ADD_FORM_COMP("Enterprise\CCC\Prob-Meds-Allergies-CCC")
ADD_FORM_COMP("Enterprise\CCC\PMH-PSH-CCC")
ADD_FORM_COMP("Enterprise\CCC\FH-SH-CCC")
ADD_FORM_COMP("Enterprise\CCC\Preventive Care Screening2-CCC")
ADD_FORM_COMP("Enterprise\CCC\Vital Signs-4-CCC")
ADD_FORM_COMP("Enterprise\CCC\PE-CCC")
ADD_FORM_COMP("Enterprise\CCC\Problems-CCC")
ADD_FORM_COMP("Enterprise\CCC\CPOE A&P-CCC")
ADD_FORM_COMP("Enterprise\CCC\Patient Instructions-CCC]")
ADD_FORM_COMP("Enterprise\CCC\Patient Instructions-CCC]")
What am I missing?
Thanks,
-B
I see a bracket at the end of Patient Instructions-CCC. It also is loading twice.
ADD_FORM_COMP("Enterprise\CCC\Patient Instructions-CCC]")
Is it loading any of the forms?
That was a mistake on my part. None of the forms are loading.
For ADD_FORM_COMP(), the path and the form name are two separate arguments. So try:
ADD_FORM_COMP("Enterprise\CCC","HPI-ROS-CCC")
ADD_FORM_COMP("Enterprise\CCC","Prob-Meds-Allergies-CCC") ADD_FORM_COMP("Enterprise\CCC","PMH-PSH-CCC")
ADD_FORM_COMP("Enterprise\CCC","FH-SH-CCC")
ADD_FORM_COMP("Enterprise\CCC","Preventive Care Screening2-CCC") ADD_FORM_COMP("Enterprise\CCC","Vital Signs-4-CCC")
ADD_FORM_COMP("Enterprise\CCC","PE-CCC")
ADD_FORM_COMP("Enterprise\CCC","Problems-CCC") ADD_FORM_COMP("Enterprise\CCC","CPOE A&P-CCC")
ADD_FORM_COMP("Enterprise\CCC","Patient Instructions-CCC]") ADD_FORM_COMP("Enterprise\CCC","Patient Instructions-CCC]")
The example in help also uses single as opposed to double quotes. I've never run into issues using them interchangeably, however, if you are still running into issues you may want to change that as well.
Thank you. That worked.