ObjectTypeInfoMacroCollectionName Property |
Note: This API is now obsolete.
Namespace: CMS.DataEngine
[ObsoleteAttribute("This property is obsolete and will be removed in the next version. Use MacroSettings.MacroCollectionName instead.")] public string MacroCollectionName { get; set; }
Should be set when info object belongs to MainObjectTypes and has more than 1 ObjectTypeInfo.
If MacroCollectionName is set to 'cms.role' then macro intellisense supplies hint for user as 'Roles' because of GetNicePropertyName(String) method used internally by InfoObjectRepositoryTCollection, TObject, TSettings.
Value of this property is used in Kentico macro engine for acquiring objects of given type, e.g. SiteObjects.Roles or GlobalObjects.Roles.