Difference between revisions of "NVGate: Properties"

Jump to navigation Jump to search
55 bytes added ,  11:46, 14 October 2021
Line 185: Line 185:
====Structure of the ''userPropertyPolicies.xml'' file====
====Structure of the ''userPropertyPolicies.xml'' file====
The properties policy are defined in this file. The 2 main fields are:<br>
The properties policy are defined in this file. The 2 main fields are:<br>
:*applyTo: nothing/project/measurement/model/hidden<br>
1) applyTo:<br>
:*presetPolicy: empty/sameAsPrevious/sameAsToday<br>
:* nothing<br>
The “sortWeight” field enables to change the order of the properties in the list. When using the policies “sameAsPrevious” and “sameAsToday”, NVGate saves the values typed by the user in the field “value” and the date in the field “date”.<br><br>
:* project<br>
:* measurement<br>
:* model<br>
:* hidden<br>
2) presetPolicy:<br>
:*empty<br>
:*sameAsPrevious<br>
:*sameAsToday<br>
The '''sortWeight''' field enables to change the order of the properties in the list. When using the policies “sameAsPrevious” and “sameAsToday”, NVGate saves the values typed by the user in the field “value” and the date in the field “date”.<br><br>
The file structure is described below, with the example of the 3 properties listed in the ''userPropertiesLibrary.upl'' file. At the end of the file, the policy of the incoming properties (imported from projects/measurements/models) is defined.<br><br>
The file structure is described below, with the example of the 3 properties listed in the ''userPropertiesLibrary.upl'' file. At the end of the file, the policy of the incoming properties (imported from projects/measurements/models) is defined.<br><br>
File header<br>
File header<br>

Navigation menu