Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Custom attributes on datasource fields?

    Is it ok to add my own custom attribute in the ds.xml for a datasource field to be referenced in the client?

    For example:
    Code:
    <field name="xxx" type="text" foo="bar">
    and then reference the attribute "foo" in this case on the client.

    Thanks.

    #2
    Yes, the framework is explicitly designed to allow this kind of extension. You can access custom properties that you have created this way from both client and server code to drive custom behaviors.

    Comment


      #3
      Excellent! That was the answer I was hoping to get. Thanks.

      Comment

      Working...
      X