PageTemplateInstanceGetUniqueWebPartId Method |
Returns unique web part ID within this Page template.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax public string GetUniqueWebPartId(
string baseId,
int counterOffset = 0
)
Parameters
- baseId
- Type: SystemString
Base web part id (required) - counterOffset (Optional)
- Type: SystemInt32
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