Skip to main content


 

 

How can we help you?

 

Druva Documentation

Unable to restore packages into Salesforce Org due missing field: activateRSS

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

 

Problem description

When you try to restore packages from Druva backup, the restore job errors out with the following message: 

ErrorRequired field is missing: activateRSS.

 

 

Cause

When deploying between orgs with managed packages installed, you can instruct Salesforce to install a managed package in the target org by including the corresponding InstalledPackage metadata item in the deployment. The summer ’18 release added a new required property to the InstalledPackage type, activateRSS.

Moreover, when retrieving from Salesforce this property is always undefined: <activateRSS xsi:nil=”true”/>

To deploy this value, it needs to be set to something, but when retrieving, regardless of its value in the source org, it will always be undefined - attempting to deploy this as-is will cause the deployment to fail.

This issue can be worked around by manually editing your metadata and setting the desired value for activateRSS

Workaround:

 

  1. From your Backup Definition -> Metadata -> select the date range and download the required package locally: 

 

  1. Unzip the downloaded zip file -> access the folder which contains the packages 

 

  1. Edit the package that you wish to restore in a text editor: (Note, if there are multiple packages interdependent, then we recommend editing each package separately with similar steps):

 

 

  1. Replace the string: <activateRSS xsi:nil="true"/>

with: 

<activateRSS>false</activateRSS>

 

Save the file

 

  1. Zip this file along with the package.xml that you had in the downloaded zip.

  2. Log in to https://workbench.developerforce.com/

  3. Click the Migration tab -> Select the Deploy section

  4. Click the Choose file option.

  5. Check below below options:

Auto Update Package

Single Package

 

  1. Confirm all of the options for deployment.

  2. Click on the Deploy button when ready.

  3. Confirm the results deploy successfully, if not check the file for any errors.

 

Note:Performing the above edits in the XML files within the backup is not possible due to which restoration of such items can only be done via Workbench or other equivalent tool manually.

  • Was this article helpful?