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.

Mathematics
  • 1,753
  • 5
  • 28
  • 56
  • also i cannot see listview webpart in office 365 – Mathematics Apr 05 '14 at 17:34
  • i also tried this https://spminwebtemplate.codeplex.com/SourceControl/latest but it doesn't appears too – Mathematics Apr 05 '14 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 05 '14 at 18:33
  • module ? do we use modules on office 365 for web templates, please provide me an example if you can. thank you – Mathematics Apr 06 '14 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 06 '14 at 11:25
  • nope i didnot added that, any tutorial i cannont find using module – Mathematics Apr 06 '14 at 12:27
  • you dnt have to add module explicitly..the VS Webtemplate itself is the module.i was asking you to check whether it is present inside that feature – Unnie Apr 06 '14 at 18:49
  • Is it a newly created webtemplate in 2013 or a 2010 template? Could you post the xml of the webtemplate? – Remko Apr 07 '14 at 11:34
  • newly created in 2013 for office 365, ok i will – Mathematics Apr 07 '14 at 11:36
  • Is there an event receiver attached to the Feature? Elements.xml would also give some useful info. – Milen Apr 08 '14 at 06:03
  • Do you have UIVersion="15" set in the onet.xml file? Try this site. – wjervis Apr 08 '14 at 12:43

3 Answers3

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.

Derek Gusoff
  • 8,011
  • 1
  • 17
  • 15
1

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.

Muhammad Raja
  • 9,250
  • 7
  • 44
  • 85
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

Stefan Bauer
  • 2,734
  • 16
  • 19