[Control("Button")]
class ViewFile
{
public void clicked()
{
super();
if (businessDocumentActionOutputFileTmp)
{
guid UID = submission
? submission.UID
: submissionExternal.UID;
if (UID)
{
str fileContents = BusinessDocumentServiceController::getOutputFileById(
UID,
businessDocumentActionOutputFileTmp.ExecutionID,
businessDocumentActionOutputFileTmp.ActionID,
businessDocumentActionOutputFileTmp.IDName);
element.outputFile(fileContents, submission.Filename);
}
}
}
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156