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

Returns the editable custom fields. 

Break Inheritance checkbox:

  • 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 checkboxes (iterate through all of this tables elements).
  • When unchecked, disables all assignment checkboxes (iterate through all of this tables elements).
  • Assignment Checkboxes:
  • When clicked: if 'Assignment' button is going unchecked, then ensure required is 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.

C#
public String GetEditableCustomFieldAssignments(Object folderID, Object editMode);
Visual Basic
Public Function GetEditableCustomFieldAssignments(ByVal folderID As Object, ByVal 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!