Merge command: [strnews-filepath ]
Merge variable/item: strFilepath
Comments:
This calculates the filepath for opening the file attachment related to the n-th news document in case it is of docType file.
Formula:
strFilePath:=@If( strXdocDocType="file" & @Length(@Text(strXdocCategoryID))=32;@Eval("@GetDocField(\""+@Text(strXdocCategoryID)+"\";\"filePath\");"); strXdocDocType="file" & @Length(@Text(strXdocPageID))=32;@Eval("@GetDocField(\""+@Text(strXdocPageID)+"\";\"filePath\");"); @Eval("@GetDocField(\""+@Text(queueList)+"\";\"filePath\");") ); strFilePath:="\\"+@ReplaceSubstring(strFilePath;"/";"\\");
Merge variable/item: strFilepath
Comments:
This calculates the filepath for opening the file attachment related to the n-th news document in case it is of docType file.
Formula:
strFilePath:=@If( strXdocDocType="file" & @Length(@Text(strXdocCategoryID))=32;@Eval("@GetDocField(\""+@Text(strXdocCategoryID)+"\";\"filePath\");"); strXdocDocType="file" & @Length(@Text(strXdocPageID))=32;@Eval("@GetDocField(\""+@Text(strXdocPageID)+"\";\"filePath\");"); @Eval("@GetDocField(\""+@Text(queueList)+"\";\"filePath\");") ); strFilePath:="\\"+@ReplaceSubstring(strFilePath;"/";"\\");