Edit Attributes
Besides editing the geometry of features it is important to give attributive information about what is being edited. The WebOffice core client allows many different types of attributive editing which are explained in the following chapter. Attributive information can be entered into the edit tool form while using the edit actions Create or Edit. If you are creating a new object, attribute fields will be immediately available. In case you are editing an existing object you have to select the object first and edit attributes afterwards.
Types of input fields available in the WebOffice core client
The WebOffice core client allows the user to enter attributive information with the following input field types:
•Text input
•Multiline text input
•Drop-down list
•Checkbox
•Date Fields with Calendar
•Slider
•File name
•File path
•File upload
Mandatory Attribute Fields
An attribute field which is marked with a is a mandatory field. Therefore, the editing operation cannot be submitted as long as no value has been entered into this field.
Restricted Attribute Fields (read-only)
It is also possible to configure the editability of an attribute field. This can be used to prevent a user from changing the object afterwards or during certain editing actions.
Attribute form with restricted edit fields in WebOffice core client
See chapter Editability for details about the configuration of restricted edit fields (read-only). |
Date Fields with Calendar
If a field of type Date is configured, the WebOffice core client offers a calendar function in the search window, which is called by the button . The current date is marked with a red outline and the entry will use the Date Format defined in the Common Settings.
Calendar function in the WebOffice core client
File Upload, File Path, File Name
Attribute fields of these input field types offer the button to open a file dialog and browse to a file in order to:
•upload the file to the server
•upload the file path
•upload the file name
Use the button to remove any entry from the attribute field.
Using the input type Slider is extremely useful when working with rotation fields that have to be edited. According to the Input format Configuration, WebOffice 10.9 R3 helps to identify the direction of a symbol by pointing a line with the longer part showing the direction. Use this assistance to point arrows to the correct direction.
Hierarchical Editing
The WebOffice core client supports Hierarchical Levels for editing fields, usually in combination with subtypes/domains defined in ArcMap. This way, the user has to select a value for the field with the top hierarchical level (i.e. the topmost field and mandatory). The field with second hierarchical level will only provide the values which are valid for the topmost hierarchical field.
Please note that when using Hierarchical Editing corresponding values for the property Hierarchy Level in WebOffice author standalone must be set (see Hierarchy Level). |
Hierarchical editing in WebOffice core client
The WebOffice core client supports the use of editing templates to allow the user to automatically fill attributes or symbols when editing. Thus, the user only has to select the desired template to create an object with the stored attributes in WebOffice 10.9 R3. Editing templates support the use of domains or subtypes.
Correctly configured and published editing templates will then be automatically created in WebOffice for the tool Edit in the Object attribute window on the right side of the Map area.
For more information, see About feature templates in the ArcGIS Online help. |
•This function is only possible in the WebOffice core client. •In order to be able to use editing templates, an ArcGIS Server feature service must be used as an Edit Layer. •If a default value or suggested value is defined for an attribute in the template, this field must also be added as an edit field in the edit field list. Otherwise, the editing template will not be displayed in the tool window. •For the layer no hierarchical hierarchical lookup must be defined in the WebOffice configuration. •The editing template does not contain values (template values) for fields that are defined as edit fields in the edit layer in the WebOffice configuration. If a value is defined for an attribute in the template, the edit field must also be available at the edit layer. See chapter Editing Fields Table. |
Display of editing templates or templates in the WebOffice core client
Automatic filling of attribute values based on editing templates
In the editing form of the WebOffice core client it is possible to display a symbol preview. This shows all the symbols provided by the service, which can be set for the object being edited. The service must be a feature service.
Symbol preview in the WebOffice core client
•This feature is only available for the WebOffice core client based on the ArcGIS API for JavaScript and can only be applied to edit layers of type feature service. •In order for the editing symbols to be visible in the attribute window, the corresponding layer must be defined as a feature layer in the map view and also referenced accordingly in the table of content (TOC); in addition, the map service must be enabled in the TOC. |
More information on configuring the symbol preview in the WebOffice author standalone can be found in the chapter Edit Layer. |