General Interface is an open source project hosted by the Dojo Foundation

Using the APIs to Set CDF Mapping

You can use the General Interface APIs to set mapping for CDF containers. To see the API for a property, hover the mouse cursor over the property name in the Properties Editor.

To use the API to set a property:

  1. Open Tools > JavaScript Console.
  2. Type the appropriate API syntax and values for the property.

In this example, the T1 text box originally contains the value of CDF record ID 2, which is jane. Using the API setCDFId, we change the T1 text box value from record 2 (jane) to record 1 (john):



Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.