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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
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