Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2940 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hello everybody i'n asking about how to generate a document id from upload
ahmada674
over 10 years ago
Hello everybody i'n asking about how to generate a document id from upload multi attachments using this interface with these rules:
----------------------------------------------------------------------------------------------------
a!applyComponents(
function: rule!ucMultiFileUploadRenderField(label: "Upload Files", attachments: ac!attachments, target: cons!Attach_FOLDER , index: _),
array: 1 + fn!enumerate(1 + length(ac!attachments))
),
a!textField (
label: "Document Id", readOnly: true, value: ac!attachments
)
-------------------------------------------------------------------------------------
the value: ac!attachments generate the document id with this format [Document:id]
so i'm wondering how can i download these attachments with specif link for each attachment.
i tried this solution bit it doesn't help:
-------------------------------------------------
a!linkField(
label: "Downl...
OriginalPostID-133308
OriginalPostID-133308
Discussion posts and replies are publicly visible
Parents
0
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
Note that you cannot use the document id on the same interface that the document was uploaded on. This is because the uploaded document is a temporary document, and doesn't have a valid id until the form is submitted.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
Note that you cannot use the document id on the same interface that the document was uploaded on. This is because the uploaded document is a temporary document, and doesn't have a valid id until the form is submitted.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data