Click or drag to resize
BaseObjectSelectorGetID Method
Converts object name to ID on the specific site

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 12.0.0
Syntax
C#
protected virtual int GetID(
	string name,
	string siteName
)

Parameters

name
Type: SystemString
Name of the object to find ID for.
siteName
Type: SystemString
Name of the site.

Return Value

Type: Int32
See Also