Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Using Content Assist

TIBCO Business Studio 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.cust`in 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();

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.