Adding or Edit a Resource in a Project

How to add or edit a resource in the project.

Procedure

  1. In Studio Explorer, select the folder where you want to store the new resource and right-click to display the menu.
  2. To add a new rulefunction, follow these steps:
    1. Select the RuleFunction node, right-click and select New > Rule Function
    2. Input the values in the Rule Function wizard, as appropriate.
    3. Enter the code for the rule function in the editor.
    4. Save the rulefunction.
  3. To edit an existing rulefunction, follow these steps:
    1. Select the rulefunction to be edited.
    2. Double-click to open the rulefunction in an editor. Modify the function code as required.
    3. Save the rulefunction.
  4. Save your project.
    • To save all changes to all resources in a project (since last save), click File > Save All or click Ctrl+Shift+S.
    • To save changes in just the currently viewed resource, click File > Save or click Ctrl+S, or click Save.