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
10 replies
Subscribers
6 subscribers
Views
4694 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Is it possible to output multiple document links with a!documentDownloadLink, wi
Chris
over 9 years ago
Is it possible to output multiple document links with a!documentDownloadLink, within a!linkField, that display on the same line? Or any other solution for document links would work as well.. Similar to how joinarray(links,", ") would separate an array into a comma delmited output on the same line. My code is below, but I can't seem to creat anything that does not display links on one line each.
a!linkField(
links:
apply(
a!documentDownloadLink,
merge(
local!docs,
local!docNames
)
)
)
OriginalPostID-165099
OriginalPostID-165099
Discussion posts and replies are publicly visible
Parents
0
Chris
over 9 years ago
Note the function does not error gracefully if a folder ID does not exist, but it works fine if there is a valid folder ID with no docs in it.
Test Interface:
= load(
local!folderId: 42417,
a!sectionLayout(
label: "Documents",
firstColumnContents: {
rule!displayDocsFromFolder(
folderId: local!folderId
)
},
secondColumnContents: {}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 9 years ago
Note the function does not error gracefully if a folder ID does not exist, but it works fine if there is a valid folder ID with no docs in it.
Test Interface:
= load(
local!folderId: 42417,
a!sectionLayout(
label: "Documents",
firstColumnContents: {
rule!displayDocsFromFolder(
folderId: local!folderId
)
},
secondColumnContents: {}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data