Skip to content

planStateActivation

planStateActivation(xml, definitions): StateActivationPlan

Defined in: packages/simply-settings-core/src/address/addressSettingsXml.ts:164

Sets <active> and <visible> to true on exactly the states named by definitions, leaving every other state and every country untouched.

string

The settings file’s text, as retrieved from the same org it will be deployed to.

StateDefinition[]

The states to activate.

StateActivationPlan

The rewritten XML (only when something changed) and how each definition was handled.