pacx settings set - neronotte/Greg.Xrm.Command GitHub Wiki

Sets the value of a setting in the current environment

Aliases

pacx settings setValue
pacx setting set
pacx setting setValue

Usage

This command can be used to set the value of a setting in the current environment, in both app or environment (organization) level. It is a proxy for SaveSettingValue action.

To set the value of a setting at environment level:

pacx settings setValue -n MySettingName -v MySettingValue

To set the value of a setting at app level:

pacx settings setValue -n MySettingName -v MySettingValue -a MyAppName

Arguments

Long Name Short Name Required? Description Default value Valid values
name n Y The unique name of the setting to set the value for. - String
value v Y The value to set for the setting. It should match the setting type. For boolean - String
app a N The unique name of the app to set the value for (if setting the value at app level). - String
solution s N The solution where to save the created setting. If not specified, the default solution is considered. - String