This project is read-only.

Provisioning of List Schema using Remote Provisioning

Aug 20, 2014 at 2:31 PM
Edited Aug 20, 2014 at 2:38 PM
Hi,
First of all great stuff and thanks for sharing with us this code.

For remote provisioning, as per my information code talks about list instance only. but what in case of List schema. So if user wants to create same list from schema then how to handle this with remote provisioning.

Thanks,
Keval
Aug 22, 2014 at 11:44 AM
Hi Keval,
As part of the provisioning you'd provision first out fo the box document library and then you'd apply the needed customizations on top of that using CSOM... this could be views, content types, columns and whatever is the objective. For view creation, there is actually nice extension method as a reference in the core component called CreateListVewsFromXMLFile which is part of the ListExtensions.cs (https://github.com/OfficeDev/PnP/blob/master/OfficeDevPnP.Core/OfficeDevPnP.Core/AppModelExtensions/ListExtensions.cs).

Notice also that we have moved the code to Github to address https://github.com/OfficeDev/PnP and the best support you will get is from the Yammer group dedicated for this project at https://www.yammer.com/itpronetwork/#/threads/inGroup?type=in_group&feedId=4597220.
Aug 26, 2014 at 11:40 AM
Hi Vesku,

Thanks for your reply.
Currently we are following same approach as you mentioned however through console application not with App. but here again I was looking that if End user wants to create customized list with same list template then is there any way like we have concept of list definitions provisioned through feature which is available in "Add an app" gallery. but again it might be not supported as those will be part of file system.

Br, //Keval