Question
Display only data entity where the document is accessible by the user
Hello,
I have a table that contains the document id and some document metadata. I want to display a grid with these data and a link to the document but all documents are not accessible by the logged in user. I want to display only row that refer to a document accessible by the user. I try something like this:
if (isnull(todocument(fv!row.docid)),
/* do not display */,
/display the row */
)
I also test
if (todocument(fv!row.docid)="[NO PERMISSION]"
but it doesn't work. How can I tests if the user have access to a specific document ?
Thanks for your help
