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
2942 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
janakik
over 10 years ago
toInteger(ac!attachment) would return you the Id of the document. If this attachment is of multiple type, you need to use a looping function Ex: apply(fn!tointeger,ac!attachments).
Hope this helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
janakik
over 10 years ago
toInteger(ac!attachment) would return you the Id of the document. If this attachment is of multiple type, you need to use a looping function Ex: apply(fn!tointeger,ac!attachments).
Hope this helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data