{module_oid}

Description

{module_oid} will output in plain text the current item's object ID.

For example if I isnert this module on a page that has this URL in the Admin console - http://mtica1.businesscatalyst.com/Admin/WebPages_Detail.aspx?PageID=15663711 it will output "15663711". The same is valid for other entities as well (products, webapp items, blogs and so on).

Syntax

{module_oid collection="my_custom_collection_name" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

This module can be rendered:

  • in plain text
  • using Liquid collections - this is the Liquid output tag you can use - my_custom_collection_name.oid

Examples

  • {module_oid} - if this is inserted on a page it will output the page's system ID, for example "15663711"
  • {module_oid collection="collection1" template=""} - in this case nothing will be displayed, however the module's Liquid tags will become available in the collection1 collection.

Syntax

{module_oid}

Examples

  • {module_oid} - if this is inserted on a page it will output the page's system ID, for example "15663711"