fix(viewscard): Prevent execution of FDL:VIEWSCARD without a doc id (closes #4528)