[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);
}
}
}
}
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156