Enable or Disable features using SDF

  1. Create a new project in the VS code.
  2. Import the features.xml file to the ‘AccountConfiguration’ folder. (You can manually add the ‘features.xml’ file to the AccountConfiguration if it is not available.
  3. validate the project against the target account and if there is no issues, deploy them into the new account.

Below added the sample content present in the feature.xml file. You can add extra features based on the client’s request.

Provide the feature ID in between the tag <id> and </id> also provide the possible values for that feature, like ENABLED or DISABLED, in between the tag <status> and </status>

<features>

    <feature>

        <id>DEPARTMENTS</id>

        <status>ENABLED</status>

    </feature>

    <feature>

        <id>CLASSES</id>

        <status>ENABLED</status>

    </feature>

    <feature>

        <id>FXRATEUPDATES</id>

        <status>ENABLED</status>

    </feature>

</features>

Leave a comment

Your email address will not be published. Required fields are marked *