Returns unique web part ID within the given Page template.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- baseId
- Type: System String
Base web part id (required)
- templateInstance
- Type: CMS.PortalEngine PageTemplateInstance
Page template instance
- counterOffset (Optional)
- Type: System Int32
The counter number which will be used as a starter counter for checking the unique id. Example: counterOffset=2, returns ids starting with number two ('wp_2', 'wp_3', 'wp_4'...)
Return Value
Type: StringSee Also