3

Web template WSP works on share-point foundation 2013 but not showing up in office 365.

What could be the possible reason ?

I can activate the wsp and also can activate the feature. I also tried to go through all available tempaltes using a script but template is not there.

11
  • also i cannot see listview webpart in office 365 Apr 5, 2014 at 17:34
  • i also tried this spminwebtemplate.codeplex.com/SourceControl/latest but it doesn't appears too Apr 5, 2014 at 17:47
  • Since you can see the feature in the o365 site the wsp is deployed properly. Can you verify that by any chance did the WebTemplate module got excluded from that feature.Just to check.Also look for any changes if you have made any after it was deployed to ur 2013 on premise
    – Unnie
    Apr 5, 2014 at 18:33
  • module ? do we use modules on office 365 for web templates, please provide me an example if you can. thank you Apr 6, 2014 at 10:01
  • @customezed when you use web template in sharepoint online, the web template is deployed as a module. Please check whether the feature has that web template inside it.
    – Unnie
    Apr 6, 2014 at 11:25

3 Answers 3

1
+50

Not sure if web templates are actually supported in office 365 or not, but there is a work around your problem, use SharePoint designer or browser to make changes to a web, then save it as a template, this will give you a .wsp file.

Import this wsp file in visual studio 2012, only select the web templates and it's modules, make changes to it and re-deploy it.

If your web template is not too much customized then use browser to customize it and save it as a template, it should save the template to be used in future as well.

1

Let me guess...you are deploying directly from Visual Studio, which activates the features for you on deployment.

In O365 when you upload a WSP you need to explicitly activate the feature. Go to site collection features and activate it.

4
  • nope, in visual studio you cannot remotely deploy to sites, so its not even possible, thanks for help suggestion Apr 5, 2014 at 17:54
  • sorry, no, I mean you are deploying to your Foundation environment - the one that works - from Visual Studio. In O365 you have no option but to upload it yourself. Have you activated the Feature in your O365 site? Apr 5, 2014 at 17:58
  • yup, activated the feature Apr 5, 2014 at 17:59
  • i created a new site collection and uploadded the wsp and it works on it, so it's just office 365 Apr 5, 2014 at 18:04
1

The major problem in saving web templates in an on premise environment is that not all features are available in Office 365 and vice versa. If you save a site as a template all the feature ID from an on premise SharePoint Installation will be stored in the WSP.

In addition this also causes trouble if you like to move templates across farms.

The problem is not really new an Rene Modery created a script that let you cleanup the WSP to be able to deploy it to the cloud and from the cloud back to an on premise. Cleanup Templates using PowerShell

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.