Not able to add template for the upload control to Quick Approve
Trying to let my managers know that there has been docs uploaded when viewing the task via Quick Approval so they know to look for them. Not seeing in the available "Controls" dropdown in the Setup Approval/Rejection screen. Would actually like to add links to them if possible.
v7.4.7.454
-
An Upload control's template value will not return links to uploaded documents. You will have to use a business rule like the one in this example to show links in a Message control. Then use the template value of that Message control in the Quick Approval.
0 -
So i've got this far, but havn't figured out how to get the actual filename that was uploaded where "Link" is in the code.
haveuploads.value = "<a href='" + baseUrl + "/attachment/"+SupportingDocuments.value+"/does_not_matter' target=_blank>" + "Link</a>";
0 -
It is not possible to get the name of uploaded files in business rules. However, you can change the file name of an uploaded attachment in the form. Please see this documentation. If you name the uploaded files using the File Name property, then you can use that same name while creating links in the business rule.
0 -
Hmm, trying to replicate but no luck. Can you give me a simple example? ie. Set upload control File Name to what Set haveuploads.value = what . Just trying to get that to show a filename of any kind right now.
Fyi. haveuploads is my message control
0
Please sign in to leave a comment.
Comments
4 comments