Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
windows:how_does_it_work:declarative_development:sobjects_editor:fields_tab [2018/05/16 12:02]
Kate Gavrysh
windows:how_does_it_work:declarative_development:sobjects_editor:fields_tab [2018/05/16 14:38] (current)
Kate Gavrysh
Line 55: Line 55:
  
 In addition, you can the [[windows:​how_does_it_work:​declarative_development:​field_usage_report|Field Usage Report]] for a certain field --- open any object file in the editor and click on the Open Field Usage Report window button at the toolbar. In addition, you can the [[windows:​how_does_it_work:​declarative_development:​field_usage_report|Field Usage Report]] for a certain field --- open any object file in the editor and click on the Open Field Usage Report window button at the toolbar.
 +
 ===== Editing fields ===== ===== Editing fields =====
  
Line 131: Line 132:
  
 The IDE will modify the corresponding XML file(s) for target object(s) with the cloned field(s) and open them in the editor, so you can modify them. The IDE will modify the corresponding XML file(s) for target object(s) with the cloned field(s) and open them in the editor, so you can modify them.
 +
 +===== Fields Dependency =====
 +
 +In The Welkin Suite IDE, you can easily work with dependent / controlling fields without a need to go back to a browser. To get access to this functionality,​ click the **Open Field Dependency wizard** button on the toolbar. You'll get an opened wizard. As a first step in the wizard you should select/​enter the following details:
 +
 +  * **Controlling field** --- controlling picklist. Both standard and custom fields are allowed here, and custom fields are highlighted with a different background,
 +  * **Dependent field** --- dependent picklist. Only custom fields are allowed,
 +  * **Delete Dependency** --- if you select this checkbox, the dependency between these fields will be deleted, otherwise, on the next step, you will be able to create or modify it.
 +
 +----
 +
 +{{ :​windows:​how_does_it_work:​declarative_development:​sobjects_editor:​field-dependency-selection.png?​nolink |Field Dependency selection}}
 +
 +----
 +
 +On the next step you can see a matrix that allows you to configure the dependency between these fields:
 +
 +  * values of the controlling field are shown as columns,
 +  * values of the dependent field are shown as checkboxes in each column.
 +
 +----
 +
 +{{ :​windows:​how_does_it_work:​declarative_development:​sobjects_editor:​field-dependency-modifying.png?​nolink |Field Dependency Modifying}}
 +
 +----
 +
 +By setting checkboxes you can allow or forbid certain values of the dependent picklist according to the value from the controlling picklist. At the same time, there are bulk ways to control checkboxes: you can click on a column header to check / uncheck all checkbox in that column, or you can check / uncheck the first checkbox in each row to check / uncheck it.
 +
 +In the lower part of the wizard you can see the '​Preview'​ section.
 +
 +----
 +
 +{{ :​windows:​how_does_it_work:​declarative_development:​sobjects_editor:​field-dependency-preview.png?​nolink |Fields Dependency Preview}}
 +
 +----
 +
 +In this block, you can see two picklists: for both controlling and dependent fields, and you can see what options you will have in a dependent picklist when you'd select any value from the controlling field.
 +
 +When everything is done, click the **Next** button for these changes to be applied to the organization immediately.
 +
 ===== Saving changes ===== ===== Saving changes =====
  
Last modified: 2018/05/16 14:38

footer image