You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > CustomFields Class > CustomFields Methods > GetEditableCustomFieldAssignments
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CustomFields.GetEditableCustomFieldAssignments Method

Returns the editable custom fields. 

Break Inheritance check box:

  • Visible if not at root.
  • Checked if any fields assigned without inheritance.
  • If unchecked & form saved, removes all assignments.
  • If checked & form saved and no assignments chosen, creates NULL assignment (CustomFieldID -1).
  • When checked, enables all assignment check boxes (iterate through all of this tables elements).
  • When unchecked, disables all assignment check boxes (iterate through all of this tables elements).
  • Assignment Check boxes:
  • When clicked: if 'Assignment' button is unchecked, then ensure required us unchecked.
  • When clicked: if 'Required' button, don't accept checks if assigned is unchecked.
  • When form submitted, copy checked items to hidden field.
  • Form processor;
    • If break inheritance checked, and any items in hidden field, send contents to db.
    • If break inheritance checked, and hidden field empty, create dummy assignment fieldID = -1.
    • If break inheritance NOT checked, remove all assignments for this folder.
 

Note: If editMode is false, then items are visible but not changeable by user. 

This method can be accessed through the CustomFields.asmx file located in:

~/Workarea/webservices/WebServiceAPI/CustomFields.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetEditableCustomFieldAssignments", Description = "")]
public string GetEditableCustomFieldAssignments(object folderID, object editMode);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetEditableCustomFieldAssignments", Description = "")>
Public Function GetEditableCustomFieldAssignments(folderID As object, editMode As object) As string
Parameters 
Description 
folderID 
The folder's ID. 
editMode 
Edit mode. 

String

Function GetEditableCustomFieldAssignments: ''

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!