Merge command: [strnews-paginationon ]
Merge variable/item: strXdocPaginationOn
Comments:
This gets a (flag)item `prevnext_on` from the n-th news document. This value indicates whether the n-th document itself has pagination activated (i.e. because there are underlying documents or not).
Formula:
@If( strDocType="database" & @Length(@Text(strXdocPageID))=32;""; strDocType="database" & @Length(@Text(strXdocCategoryID))=32;@Text(@GetDocField(@Text(strXdocCategoryID);"prevnext_on")); strDocType="database" & @Length(@Text(strXdocDatabaseID))=32;@Text(@GetDocField(@Text(strXdocDatabaseID);"prevnext_on")); strForm="adminFormDatabase";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormLabel";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormDocument";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormMenu";@Text(@GetDocField(@Text(queueList);"prevnext_on")); "" );
Merge variable/item: strXdocPaginationOn
Comments:
This gets a (flag)item `prevnext_on` from the n-th news document. This value indicates whether the n-th document itself has pagination activated (i.e. because there are underlying documents or not).
Formula:
@If( strDocType="database" & @Length(@Text(strXdocPageID))=32;""; strDocType="database" & @Length(@Text(strXdocCategoryID))=32;@Text(@GetDocField(@Text(strXdocCategoryID);"prevnext_on")); strDocType="database" & @Length(@Text(strXdocDatabaseID))=32;@Text(@GetDocField(@Text(strXdocDatabaseID);"prevnext_on")); strForm="adminFormDatabase";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormLabel";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormDocument";@Text(@GetDocField(@Text(queueList);"prevnext_on")); strForm="adminFormMenu";@Text(@GetDocField(@Text(queueList);"prevnext_on")); "" );