Using Content Assist

TIBCO Business Studio - BPM Edition can provide some helpful assistance when entering scripts.

If you cannot remember whether you had called the field data.cust or data.customer you can type the first few letters and press Ctrl+Space. You are prompted with a list of words, variables, methods and so on, that are appropriate for where you are in the script.

To insert data.custin the script, you can:

  • Select data.cust and press ENTER. A list of words, variables, methods and so on, associated with data.cust is displayed.
  • Type u. Only items beginning with "cu" are displayed.
  • Press ENTER.
  • Double-click cust.

Next, type =co and press Ctrl+SPACE. Only the content assist that matches "co" in our example is displayed. Press ENTER to insert the factory name into the script, as shown below:

data.cust = factory.com_example_data

Next, type "." to give a list of the factory methods. This allows you to choose the type of Business Object to create, as shown below:

Since the Business Object we want is already selected, press ENTER to cause the text createCustomer() to be added to the script. Press ENTER to complete the line.

data.cust = factory.com_example_data.createCustomer();