I have a paging grid on Record dashboard in Tempo,I have to show link correspond

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
    Certified Lead Developer
    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
  • 0
    Certified Lead Developer
    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
    )
    )
    )
  • thanks tim, i am using Appian 7.3 but a!documentDownloadLink() is also not working .. for showing link in rows of my paging grid..