Format

From Plex-XML

Jump to: navigation, search
A format is a customized HTML-Page build on the XML result of a Plex-XML function call.

All data you see in the format is extracted from your Plex-Modell via Meta-Code on the first function call. You don't have to type it manually.

--> Hint: See Formats 2.0 for the next version of Plex-XML formats scheduled November 2007

Contents

Translate a format name

If need to translate the name of a format you could enter a translation just like you enter the header of a function. While a header translation has the running number 1 a format translation has number 2.

Hide a format

If you need to hide a format from the user selection in the upper right corner you could set the "Authorization" field to "Private" and the "Owner" to your name or another fictive name. If you use your name that format is only visible for you.

Note: A function format that has the authorization private could still be called form every user that is allowed to use that function by using the URL. The authorization effects only if the format is shown in the upper right corner.

Format properties

For dictionary functions you can define as many formats as you like. In each format each field could be customized in the following properties:

DictionaryFindBrowse

  1. Required (yes, no)
  2. Show Field (Input, Readonly, Hidden, Excluded)
  3. Sequence in a row (number)
  4. Sequence in column (normal, 2.Field 1.Row, 3.Field 1.Row, 1.Field 2.Row...)
  5. Column width
  6. Find Field (yes, no)
  7. Use in Fulltext search (yes, no)
  8. Find Operator (Equal, Not Equal, Start, Less, Less Equal, Greater, Greater Equal, Full Text, In, Between)
  9. Order By (number)
  10. Order By Descending (yes, no)
  11. Row Sort (yes, no)
  12. Group by (yes, no)
  13. Alow Wrap (yes, no)
  14. Style Attributes (free CSS status field)
  15. Local overide (yes, no)
  16. Translation
  17. Shape (Character, Check-Box, Combo-Box...)
  18. Field Type (Character, Numeric, Date-ISO, Date-Numeric-7, Date-Numeric-8, Time-ISO, Time-Numeric-6, Timestamp-ISO, BLOB)
  19. Max Length
  20. Display Length
  21. Decimal Places

DictionaryEdit, DictionarySimpleDialog

  1. Required (yes, no)
  2. Show Field (Input, Readonly, Hidden, Excluded)
  3. Sequence in a row (number)
  4. Sequence in a column (number)
  5. Sequence in a column column (number)
  6. Field Set (number)
  7. Tab (number)
  8. Tab Index (number)
  9. Style Attributes (free CSS status field)
  10. Local overide (yes, no)
  11. Translation
  12. Shape (Character, Check-Box, Combo-Box...)
  13. Field Type (Character, Numeric, Date-ISO, Date-Numeric-7, Date-Numeric-8, Time-ISO, Time-Numeric-6, Timestamp-ISO, BLOB)
  14. Max Length
  15. Display Length
  16. Decimal Places

Example

Formats can be customized by Drag&Drop...
Image:FormatsDD.png
...or by editing the field values in a dialog window.
Image:FormatsEdit.png
Personal tools