I am currently building a page that is supposed to have multiple instances of the same DNN module but I'm having trouble uniquely identifying each instance. I thought the ModuleId
property would do the trick but further research revealed that ModuleId
is shared across all instances of that module. Does anyone know of a way to uniquely identify each instance of a DNN module?
dnn how to uniquely identify instances of the same module
182 views Asked by jeg At
1
Try using TabModuleId instead, though ModuleId is shared across all "copies" of a module, not all instances of a module.
If you were to add a module to a Page A (via the control panel), then add the same module to that same page (via the control panel), you would get a new ModuleID and a new TabModuleId
If you were to COPY a module to another page (via the control panel add existing), choosing the modules on the first page. The ModuleId of the two modules would be the same, but the TabModuleIds would be unique.