public static FormPropertyList FormName(ClientContext context, string libraryUrl, string xsnUrl) { ManifestWrapper manifest = new ManifestWrapper(FormFileContents(context, libraryUrl, xsnUrl, manifestPath).Contents); FormPropertyList properties = new FormPropertyList(); properties.Add(manifest.GetInitialCaption()); properties.Add(manifest.GetId()); return(properties); }
public static FormPropertyList FormSecuritySettings(ClientContext context, string libraryUrl, string xsnUrl) { ManifestWrapper manifest = new ManifestWrapper(FormFileContents(context, libraryUrl, xsnUrl, manifestPath).Contents); FormPropertyList propertyList = new FormPropertyList(); propertyList.Add(manifest.GetInitialCaption()); propertyList.Add(manifest.GetTrustSetting()); propertyList.Add(manifest.GetTrustLevel()); return(propertyList); }
public static FormPropertyList FormCompatibility(ClientContext context, string libraryUrl, string xsnUrl) { ManifestWrapper manifest = new ManifestWrapper(FormFileContents(context, libraryUrl, xsnUrl, manifestPath).Contents); FormPropertyList properties = new FormPropertyList(); properties.Add(manifest.GetInitialCaption()); properties.Add(manifest.GetInfoPathVersion()); properties.Add(manifest.BrowserCompatible()); return(properties); }