示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }