migrating a page pack to another org

Timothy MooreTimothy Moore Member
edited June 25 in Problems
We've followed the instructions about creating a page pack, but its not defined how to get the created page pack to appear in another org.


We downloaded the static resource that was created and uploaded it into the target org via the UI but its not available to unpack.

Can we get some clarification on this part of the process?


  • Zach McElrathZach McElrath Skuad
    edited March 2017
    Hi Timothy,

    Can you check to make sure that the StaticResource has a content type of "application/json"? That is required in order for it to appear in the list of available packs to Unpack.

    If it does not have a content type of "application/json", the easiest way to change this is to find the file on your computer, add the ".json" extension to the file name, and then re-upload the file to your StaticResource. 
  • Timothy MooreTimothy Moore Member
    edited March 2015
    The guide on Skuid makes no mention of moving the static resource.

    Tried uploading with .json extension still made no difference as Mime type was application/text, was able to change the mime type via ecplise and workbench as its not a UI option (which is weird).

    Recommend that Skuid updates their instructions as they are rather incomplete.

  • Pat VachonPat Vachon Member 💎💎💎
    edited June 25
    I'm having the same issue. Manually downloaded and uploaded the json file. Shows up as a MIME Type of "application/octet-stream" in the destination org.

  • Zach McElrathZach McElrath Skuad
    edited December 2016
    Pat, you may need to go into Developer Console and perform a manual modification of the Page Pack's Content Type. From Developer Console, in the SOQL query editor, run the following query:

    select Id, Name, ContentType from StaticResource where Name = 'NAME_OF_YOUR_RESOURCE'

    Then click Run Query, and you should get a result. Now double-click on the ContentType where it says "application/octet-stream" and change it to "application/json"
  • Matt SonesMatt Sones Member ✭✭
    edited December 2016
    Will this always be the case? Seems like a strange way to have to go about updating a page pack...
  • Rob HatchRob Hatch Skuad, Sonar ✭✭
    edited September 2016
    We don't usually reccomend manual moving of page packs because of this issue.  A change set is better.  Or moving the static resource using an IDE is even better.  

    But as far as we know,  when you download the static resource to your computer - you are always going to need to make sure that the file is saved with the JSON  extension.  Salesforce is not going to take care of that for you.  Bummer. ... 
  • Charles ZinkCharles Zink Member
    edited August 2015
    This is an interesting issue. Whenever I have moved page packs, I've simply viewed the static resource in my browser, copy/pasted it into a code editor and saved with a .json extension. Uploading that to the new org has always worked without issue.
Sign In or Register to comment.