Application Integration (On-Premises) : Service Development : Working with Elements : Refactoring Elements
Refactoring Elements
You can change field names in all dependents of elements. Refactoring ensures that changes in multiple references of elements are applied.
To refactor elements
1. In Package Navigator view, double-click the element to open it.
Ensure that you have write access to the element.
2. Right-click the variable you want to refactor.
3. Select Refactor > Rename.
4. In the Refactor variable wizard, type the new name in the text box and click Next.
All the occurrences of the variable are displayed in the Changes to be performed list.
5. Select the checkboxes corresponding to the appropriate variables to define the scope of refactoring. By default, all the variable occurrences are selected.
Note:  
*If you clear the selection of a variable occurrence from the Changes to be performed list, that occurrence is unlinked from the source element. Then you must manually edit the particular variable occurrence.
*Do not clear the selection of the source element from the list.
The IS Asset Compare view displays the changes between the original asset and the refactored asset.
6. Click Finish. The Refactor Log tab displays the refactor status of each occurrence.
Note:  
For variable occurrences that are not refactored, the refactor log displays the reason along with the status. Then you must manually edit these occurrences.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback