Click or drag to resize

ICustomTabsConfigAdd Method


Adds a new custom tab to the collection

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
ICustomTabSetting Add(
	string name,
	string displayName,
	string url,
	string icon,
	string iconClass,
	string resourceId,
	bool isGlobal = false
)

Parameters

name
Type: SystemString
Name of the new tab
displayName
Type: SystemString
Display name of the new tab. Shows up on the actual tab label
url
Type: SystemString
URL of the tab, can be either relative or absolute
icon
Type: SystemString
Icon image path of the tab
iconClass
Type: SystemString
Icon class of the image tab, specifically the fontawesome icon class name
resourceId
Type: SystemString
The id of the text resources from the CMS localization system for current locale
isGlobal (Optional)
Type: SystemBoolean
Specify whether it a global tab (App), or a tab attached to page or asset

Return Value

Type: ICustomTabSetting
Newly created custom tab
See Also