SobekCM_Database.Edit_URL_Portal Method
Edit an existing URL Portal or add a new URL portal, by primary key
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static int Edit_URL_Portal(
int PortalID,
string BaseUrl,
bool IsActive,
bool IsDefault,
string Abbreviation,
string Name,
string DefaultAggregation,
string DefaultWebSkin,
string BasePurl,
Custom_Tracer Tracer
) |
Parameters
- PortalID
- Type: System..::..Int32
Primary key for the URL portal to be edited, or -1 if this is a new URL portal
- BaseUrl
- Type: System..::..String
URL used to match the incoming request with this URL portal
- IsActive
- Type: System..::..Boolean
Flag indicates if this URL portal is active
- IsDefault
- Type: System..::..Boolean
Flag indicates if this is the default URL portal, if no other portal match is found
- Abbreviation
- Type: System..::..String
Abbreviation for this system, when referenced by this URL portal
- Name
- Type: System..::..String
Name of this system, when referenced by this URL portal
- DefaultAggregation
- Type: System..::..String
Default aggregation for this URL portal
- DefaultWebSkin
- Type: System..::..String
Default web skin for this URL portal
- BasePurl
- Type: System..::..String
Base PURL , used to override the default PURL built from the current URL
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Int32 New primary key (or existing key) for the URL portal added or edited
Remarks
See Also