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
3 replies
Subscribers
11 subscribers
Views
1337 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have a paging grid on Record dashboard in Tempo,I have to show link correspond
swatis552
over 10 years ago
I have a paging grid on Record dashboard in Tempo,I have to show link corresponding to every row of my paging grid. I am getting the url correctly by APN_getDocUrl() but When i use it under APN_uiGridTextColumn it gives the url as Text in the column and not in the form of link . Please suggest me how to show the link in every row of paging grid....
OriginalPostID-98158
OriginalPostID-98158
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 10 years ago
APN_getDocUrl() only works in a portal environment. In SAIL you should be using a!documentDownloadLink() which was released in 7.4
forum.appian.com/.../SAIL_Components
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 10 years ago
If you don't have 7.4 yet you can use:
=load(
local!pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 4, sort: a!sortInfo(field: "label", ascending: true())),
local!sampleData: {
type!LabelValue(label: "HR Procedures", value: 57),
type!LabelValue(label: "Travel Exprenses", value: 58)
},
with(
local!dataForCurrentPage: todatasubset(local!sampleData, local!pagingInfo).data,
a!gridField(
totalCount: length(local!sampleData),
columns: {
a!gridTextColumn(
label: "Name",
field: "label",
data: local!dataForCurrentPage.label,
alignment: "LEFT"
),
a!gridTextColumn(
label: "Documents",
data: {
"Open",
"Open"
},
links:{
a!safeLink(uri: "http://<SERVER_AND_PORT>/suite/doc/"&local!dataForCurrentPage[1].value),
a!safeLink(uri: "http://<SERVER_AND_PORT>/suite/doc/"&local!dataForCurrentPage[2].value)
},
alignment: "LEFT"
)
},
value: local!pagingInfo,
saveInto: local!pagingInfo
)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
swatis552
over 10 years ago
thanks tim, i am using Appian 7.3 but a!documentDownloadLink() is also not working .. for showing link in rows of my paging grid..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel