예제 #1
0
 private void ProvisionFields(AppManifestBase manifest)
 {
     if (manifest.Fields != null && manifest.Fields.Count > 0)
     {
         var fm = new FieldManager {
             FieldDefinitions = manifest.Fields
         };
         fm.Notify += Provisioner_Notify;
         //Fields should always be provisioned into the root or app web
         fm.CreateAll(_ctx);
     }
 }