FAQ Document list

I've a requirement to make available a number of PDF documents within our UI, that the users can download as and when they wish.
Initially I sorted this by saving those docs in Appian KC, along with an associated DB table that stores amongst other things the docID.

At run time I simply make a call to the db table, get the doc id's and then generate the list using a!documentlnk.

a!richTextDisplayField(
value:{
a!richTextIcon(icon:"newspaper-o",
color:if(fv!item.priority="1","NEGATIVE",{})
),
a!richTextItem( text:" "&todate(fv!item.updatedon)&" "&fv!item.message,
link:if(toboolean(fv!item.islink)=true(),
{
a!documentDownloadLink(
label:"download",document:fv!item.doc)
}

Works great.
However I want to expand this to capture which of the docs are being downloaded and are true FAQ's vs ones that simple dont need to be taking space. Ideally I thought to use an a!saveinto and write the pertinent into to another db table. However can't see how I'd do that and there's no support in the above functions for doing so. If I replaced the above with an array of buttons, then I lose the download function. 

Any ideas ?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data