V9.6.1
Method
Description
Applies configurations defined in an XML Document Transformation file to Cora SeQuence's web and application configuration files. You can take the tokens required for the transformation from the environment variables.
Syntax
Set-CoraSeQuenceApplicationConfiguration [-TokensValues <Hashtable>] -ApplicationType <String> [-ApplicationID <Int32>] [-AllInstances] -ConfigurationName <String[]> [<CommonParameters>]
Set-CoraSeQuenceApplicationConfiguration -TransformationFile <String> -TargetConfigFile <String> [-TokensValues <Hashtable>] [<CommonParameters>]
Set-CoraSeQuenceApplicationConfiguration -TransformationFile <String> [-TokensValues <Hashtable>] -ApplicationType <String> [-ApplicationID <Int32>] [-AllInstances] [<CommonParameters>]
Set-CoraSeQuenceApplicationConfiguration [-TokensValues <Hashtable>] -ConfigurationLocation <Object> -ApplicationType <String> [-ApplicationID <Int32>] [-AllInstances] [<CommonParameters>]
Parameters
-TransformationFile <String>
The transformation file to apply.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-TargetConfigFile <String>
The target configuration file to apply the transformation on.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-TokensValues <Hashtable>
A hash table of the tokens and the value to replace in the transformation file. This option overrides the environment variables.
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ConfigurationLocation <Object>
Path to the location where the custom XDT files for the Cora SeQuence applications are located. The file names and relative paths should match those of the target application.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ApplicationType <String>
The type of the Cora SeQuence application.
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ApplicationID <Int32>
The numeric ID of the application instance.
Required? | false |
Position? | named |
Default value | 1 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-AllInstances [<SwitchParameter>]
To apply the transformation to all instances of the application.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ConfigurationName <String[]>
One or more configurations to be applied from the predefined configurations in the application configuration store. Use the GET command to list all the predefined configurations under the CoraSeQuenceProperties.Configurations.
For example:
$app = Get-CoraSeQuenceSite -SiteType Administration
$app.CoraSeQuenceProperties.Configurations
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
For more information, see about_CommonParameters.
Examples
PS C:\>Set-CoraSeQuenceApplicationConfiguration -ConfigurationName "OpenIDConnect" -ApplicationType Flowtime
PS C:\>Set-CoraSeQuenceApplicationConfiguration -ConfigurationLocation "C:\CoraSeQuenceConfiguration"