#Document Exist? How do i check if a document exist? document(pv!docid, &qu

#Document Exist? How do i check if a document exist?
document(pv!docid, "name") Fails if the documetn does not exist. pv!docid has a value 1000. but the document might have been manually deleted etc. It fails and throws an error to user. I would like to check if document exist before using that function
if( docExist(pv!docid), document(pv!docid,"name"), "no document");...

OriginalPostID-80995

OriginalPostID-80995

  Discussion posts and replies are publicly visible