IUrlMapAddOrUpdateCustomUrl Method
|
Add or update the url map entry with a new custom path.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IUrlMapPageHistoryEntry AddOrUpdateCustomUrl(
string action,
IPage page,
string newPath,
string originalPath = "",
EnumUrlMapPageHistoryType type = EnumUrlMapPageHistoryType.Custom,
bool canonical = false,
bool requireSSL = false
)
Function AddOrUpdateCustomUrl (
action As String,
page As IPage,
newPath As String,
Optional originalPath As String = "",
Optional type As EnumUrlMapPageHistoryType = EnumUrlMapPageHistoryType.Custom,
Optional canonical As Boolean = false,
Optional requireSSL As Boolean = false
) As IUrlMapPageHistoryEntry
IUrlMapPageHistoryEntry^ AddOrUpdateCustomUrl(
String^ action,
IPage^ page,
String^ newPath,
String^ originalPath = L"",
EnumUrlMapPageHistoryType type = EnumUrlMapPageHistoryType::Custom,
bool canonical = false,
bool requireSSL = false
)
abstract AddOrUpdateCustomUrl :
action : string *
page : IPage *
newPath : string *
?originalPath : string *
?type : EnumUrlMapPageHistoryType *
?canonical : bool *
?requireSSL : bool
(* Defaults:
let _originalPath = defaultArg originalPath ""
let _type = defaultArg type EnumUrlMapPageHistoryType.Custom
let _canonical = defaultArg canonical false
let _requireSSL = defaultArg requireSSL false
*)
-> IUrlMapPageHistoryEntry
Parameters
- action
- Type: SystemString
add, move, edit, or delete - page
- Type: Ingeniux.CMSIPage
CMS IPage object to operate on - newPath
- Type: SystemString
New SURL path for the page - originalPath (Optional)
- Type: SystemString
Original path (if moving) - type (Optional)
- Type: Ingeniux.CMS.EnumsEnumUrlMapPageHistoryType
Type of url entry, usually Custom - canonical (Optional)
- Type: SystemBoolean
- requireSSL (Optional)
- Type: SystemBoolean
Return Value
Type:
IUrlMapPageHistoryEntry[Missing <returns> documentation for "M:Ingeniux.CMS.IUrlMap.AddOrUpdateCustomUrl(System.String,Ingeniux.CMS.IPage,System.String,System.String,Ingeniux.CMS.Enums.EnumUrlMapPageHistoryType,System.Boolean,System.Boolean)"]
See Also