Skip to main content

“preferencelineitem” MDO List

MDO Provider for preferences that have a list of possible values in the database Some preferences have a set of possible values that does not correspond to any existing list. In such cases, rows in the prefdescline table are used to create a list. This provider will take an additionalInfo of the form section|key and return the list of possible values. If the key or section does not exist or do not have such a list of possible values, an empty list is returned. Consider using the method to avoid coding formatting dependencies. Use the class to avoid (mis)coding preference section and key names as strings. The actual preference value to set, corresponding to each choice, is in the extraInfo of each list item. Implemented by the PreferenceLineItemProvider class. The name of the MDO list is ‘preferencelineitem’.

Additional Attributes

Separator: |

Sample Request

Sample Code

Sample Output

  • “preferencelineitemheadings”
  • “preferencelineitemheadingswithallitem”
  • “preferencelineitemheadingswithallitemwithnoselection”
  • “preferencelineitemheadingswithnoselection”
  • “preferencelineitemwithallitem”
  • “preferencelineitemwithallitemwithnoselection”
  • “preferencelineitemwithnoselection”