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
11 subscribers
Views
2167 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have a record that contains entries some of which might have attachments. I s
helmuta
over 10 years ago
I have a record that contains entries some of which might have attachments. I store the folder id in my process and I can retrieve the attachments using the function getdocumentsfromfolder(folder_id, true). But I am having trouble trying to expose these attachments in the records....
OriginalPostID-80966
OriginalPostID-80966
Discussion posts and replies are publicly visible
0
chase.putnam
over 10 years ago
Hi Helmut,
You can use the rule rule!APN_uiLinkFieldFromDocs in the Appian Common Objects package to create a list of the available attachments.
Example:
rule!APN_uiLinkFieldFromDocs("Attachments", "This is a list of attachments.", getDocumentsFromFolder(if(isnull(rf!attachmentsfolderid), 0, rf!attachmentsfolderid), false()), true())
The Appian Common Objects package can be found on the Appian Software page:
forum.appian.com/.../apps
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
Thanks Chase!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
Now I am getting an error "Expression evaluation error at function rule!APN_uiLinkFieldFromDocs [line 44]: Invalid function rule!APN_uiLinkFieldFromDocs (not available as [rule])" Is this a Common Appian component?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chase.putnam
over 10 years ago
Yes, this is in the package I referenced. You will need to download and install that application on your instance in order to have that rule available. If you already have that application installed, please make sure you have the latest version, Release 4.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
Thanks Chase I will download it and install it. As usual I appreciate your help. Have a great weekend.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
The code works like a charm. Greatly appreciated Chase!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel