local!a:toInteger(20),document(local!a,"id") works, but when using ri!Table_Name.docId getting error.

local!a:toInteger(20),document(local!a,"id") works, but when Replcaed local!a with ri!Table_Name.docId getting error, How to fix?

a!linkField(
label: "Link",
labelPosition: "ABOVE",
links: {
a!documentDownloadLink(
label: "Document Link",
document:document(6802,"id") -->replced 6802 with ri!Table_Name.docId gets an error
)
}
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data