I have a sandbox solution running in Sharepoint Online. Now I've made some changes, like addind fields to content types and changing the contents of some module files.

I know that in order to upgrade the solution, I need to run Update-SPUserSolution in Powershell, or call SPFeature.Upgrade() in code. However, the former is out of question due to it being Sharepoint Online, and the latter is not available in sandbox solutions.

I have tried adding a version number and adding some tags to the feature manifest. The code goes like this:

  <VersionRange BeginVersion="" EndVersion="">
    <AddContentTypeField ContentTypeId="foo" FieldId="blablabla..." PushDown="TRUE"/>

(The previous feature definition had no version number, the current one is

Then I packaged it, uploaded the WSP, then used upgrade functionality available in the solution gallery. It did activate the new solution while at the same time deactivating the old one. However, nothing changed with the content type in question.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.