예제 #1
0
        public void UpdateCustomField()
        {
            AdobeConnectProvider provider = GetProvider();

            //https://fiustg.adobeconnect.com/api/xml?action=custom-field-update&account-id=965886535&object-type=object-type-read-only
            //&permission-id=manage&name=esync-mp4-result&comments=eSyncTraining+MP4+Service+Internal+Use&field-type=text&is-required=false&is-primary=false

            var value = new CustomField
            {
                FieldId      = "385412",
                AccountId    = "7",
                ObjectType   = ObjectType.object_type_hidden,
                PermissionId = PermissionId.manage,
                Name         = "esync-mp4-result",
                Comments     = "eSyncTraining MP4 Service Internal Use Updated",
                FieldType    = CustomField.CustomFieldType.text,
                IsPrimary    = false,
                IsRequired   = false,
            };

            var result = provider.CustomFieldUpdate(value);
        }