Tag Info

Hot answers tagged

2

We have only discussed this internally but not created an actual solution yet. Here are some of the thoughts I have on the subject: I would probably opt for a pattern with a provider hosted app that create the site collection using the correct master page etc. This means that you could host on your own IIS on-premises, and when you move it to the cloud you ...


2

The Search Center is a dedicate site template, with its dedicated onet / webtemp entries & definition. You could easily add one to your site collection by creating a subsite with the template SRCHCENTERLITE#0 / SRCHCENTERLITE#1 or SRCHCEN#0. Alternatively, you could inject the key search webpart within a dedicated page like in your code sample. You'll ...


2

I think that you should not to add web part to the page directly, instead of it you should use web part provision. You can start your research from this posts: Provisioning Custom WebPart in SharePoint 2010 tricks Provision a WebPart using a SharePoint Feature Provision publishing page with webpart in sandboxed solution


1

When provisioning Discussion Board it is required to specify ContentTypeID attribute for View element as demonstrated below: <View List="Lists/Discussion" BaseViewID="3" WebPartZoneID="WebPartZone2" DisplayName="Discussion" ContentTypeID="0x012001" /> where ContentTypeID value is set to 0x012001 (RootOfList)


1

I know this question was asked a while ago now, but for anyone else with a similar problem, I would personally avoid using the site template approach. Perhaps a better solution (IMO) would be to create a separate site-scoped feature as suggested by Ted N.. The Web App scoped feature would still create the new site but could also activate any site-scoped ...


1

I guess your confused with $Resources:core, You can access them from 12 hive, In my case they are all located in this folder location C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources This Link might help you Resorces in 12 hive


1

If you look at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\PublishingLayouts\ProvisionedFiles.xml it contains the PageLayouts for publishing which is provisioned like: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="OSGPageLayouts" Url="_catalogs/masterpage" ...



Only top voted, non community-wiki answers of a minimum length are eligible