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: 9.0.565.0 (9.0.565)
Syntax
IUrlMapPageHistoryEntry AddOrUpdateCustomUrl( string action, IPage page, string newPath, string originalPath = "", EnumUrlMapPageHistoryType type = EnumUrlMapPageHistoryType.Custom, bool canonical = false, bool requireSSL = false )
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