ICustomTabsConfigAdd Method
|
Adds a new custom tab to the collection
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxICustomTabSetting Add(
string name,
string displayName,
string url,
string icon,
string iconClass,
string resourceId,
bool isGlobal = false
)
Function Add (
name As String,
displayName As String,
url As String,
icon As String,
iconClass As String,
resourceId As String,
Optional isGlobal As Boolean = false
) As ICustomTabSetting
ICustomTabSetting^ Add(
String^ name,
String^ displayName,
String^ url,
String^ icon,
String^ iconClass,
String^ resourceId,
bool isGlobal = false
)
abstract Add :
name : string *
displayName : string *
url : string *
icon : string *
iconClass : string *
resourceId : string *
?isGlobal : bool
(* Defaults:
let _isGlobal = defaultArg isGlobal false
*)
-> ICustomTabSetting Parameters
- name String
- Name of the new tab
- displayName String
- Display name of the new tab. Shows up on the actual tab label
- url String
- URL of the tab, can be either relative or absolute
- icon String
- Icon image path of the tab
- iconClass String
- Icon class of the image tab, specifically the fontawesome icon class name
- resourceId String
- The id of the text resources from the CMS localization system for current locale
- isGlobal Boolean (Optional)
- Specify whether it a global tab (App), or a tab attached to page or asset
Return Value
ICustomTabSettingNewly created custom tab
See Also