- Sun Mar 17, 2019 8:55 pm
#823425
How can I generate an Output Document based on the values gathered and saved in the Dynaform when it has come to the end of the process?
Client Name: @#clientName
Client Address: @#clientAddress
//set to the ID of the Output Document:
$outDocId = '1234567890abcdef1234567890abcdeg';
PMFGenerateOutputDocument($outDocId);
//set to the ID of the Output Document:
$outDocId = '1234567890abcdef1234567890abcdeg';
$aVars = array(
"clientName" => @@clientName,
"clientAddress" => @@clientAddress
);
PMFSendVariables(@@APPLICATION, $aVars);
PMFGenerateOutputDocument($outDocId);
cabrerabenj wrote:Does hiding the Output Document step means not showing this screen?Yes. Instead of having an Output Document step in your process that the user will see, you use a trigger with the PMFGenerateOutputDocument() function that generates the Output Document file for the case, which the user won't see.
cabrerabenj wrote:I also want to know if a generated document can also be automatically attached in an email that will be sent to the user.You need to use a trigger to do this. You can generate the Output Document either with a step or with PMFGenerateOutputDocument() in a trigger. Then, use the code shown in "Example Emailing Generated Output Document Files".
cabrerabenj wrote:Will it automatically generate a document when Submit button is pressed?If you set a trigger to fire after the Dynaform that contains PMFGenerateOutputDocument(), then it will generate the Output Document file immediately after you click on the "Submit" button.
cabrerabenj wrote: ↑Sun Mar 24, 2019 11:39 pm What is the location/ where can I see the automatically generated Output Document when Submit button is generated? Is it possible to see the generated file automatically on the bottom side of the browser?If you want the user to see to the generated file, then you should to use an Output Document step and not use PMFGenerateOutputDocument().
Experience heightened pleasure with Cenforce 100 M[…]
Get an instant solution to move emails to MBOX for[…]
Betvisa clone scripts are pre-built software solut[…]