Features

In Web Designer, you can configure the following feature commands: 

Add a Feature

When you configure Add Feature in the Layer List component, the user can add a new feature to a layer via the menu in the Result Details view.

The initial attributes of a new feature are populated from the layer template.

To add a feature:

  1. In the Components panel, open the Layers List component and navigate to the Layer Actions section.

  2. Click Add Menu Item. A window appears that lets you select a command, workflow, or report.

  3. Select Add Feature and click Select.

  4. Configure the Menu Item settings as needed.

The table below describes the Menu Item settings for the Add Feature menu item.

Setting

Description

Main Settings
Title The name as it appears in the menu.
Description A brief summary about what the menu item does.
Icon The symbol to display next to the menu item.
Command

The action to run when the user clicks the menu item.

Behavior
Hide when Disabled Determines whether the menu item is hidden when it cannot be executed.
Can be Toggled Determines whether the menu item can be toggled off and on.
Visibility Filters
Visible To The users / groups that this component is visible to.
Hidden From The users / groups that this component is hidden from. This setting overrides the Visible To setting.

 

To turn your command into a custom command, click . A code box appears in which you can manually edit the JSON code for the command. Turning your command into a custom command is a one-way operation. While editing the custom command in the code box, press CTRL+Space to access code suggestions. You can specify a sequence of multiple commands.

To convert commands into a workflow, first click to customize the commands, and then click . Converting commands into a workflow cannot be reversed. This option is not available for on-premises Workflow installations that are not installed in the default installation folder.

 

Add Feature appears in the menu for all valid layers.

Add a Geolocate Feature

When you add the Geolocate Feature in the Layer List component, the user can add a feature to a point layer from their geolocation.

To add a geolocate feature:

  1. In the Components panel, open the Layers List component and navigate to the Layer Actions section.

  2. Click Add Menu Item. A window appears that lets you select a command, workflow, or report.

  3. Select Geolocate Feature and click Select.

  4. Configure the Menu Item settings as needed.

The table below describes the Menu Item settings for the Geolocate Feature menu item.

Field

Description

Main Settings
Title The name as it appears in the menu.
Description A brief summary about what the menu item does.
Icon The symbol to display next to the menu item.
Command The action to run when the user clicks the menu item.
Behavior
Hide When Disabled Determines whether the menu item is hidden when it cannot be executed.
Can be Toggled Determines whether the menu item can be toggled off and on.
Visibility Filters
Visible To The users / groups that this component is visible to.
Hidden From The users / groups that this component is hidden from. This setting overrides the Visible To setting.

 

To turn your command into a custom command, click . A code box appears in which you can manually edit the JSON code for the command. Turning your command into a custom command is a one-way operation. While editing the custom command in the code box, press CTRL+Space to access code suggestions. You can specify a sequence of multiple commands.

To convert commands into a workflow, first click to customize the commands, and then click . Converting commands into a workflow cannot be reversed. This option is not available for on-premises Workflow installations that are not installed in the default installation folder.

 

Geolocate Feature appears in the menu for all valid layers.

Edit a Feature

Web Designer provides you with extensible editing capabilities, which allow as much control over editing behaviors as you need.

Enabling editing allows the user to select a feature and make modifications, within the limits of the parameters you set.

The following are the recommended methods for configuring the editing capabilities, which depend on your requirements:

You can customize the editing behavior for all features via Result Edited.

Enable Editing in the Result Details Component

When you enable editing in the Result Details component, an Edit button is added to the Result Details view. The user can select a feature and click the button to begin editing.

To enable editing in the Result Details component:

  1. In the Components panel, open the Result Details component and navigate to the Editing section.

  2. Toggle Allow Editing to the ON position.

    Edit appears in the Result Details view when the user selects a feature.

Configure Editing in the Map Component

When you configure editing in the Map component, an Edit Result button is added to the user's Result Details view. This button behaves just as the Edit button enabled in the Result Details component. However, on the back end, it provides you with an alternate solution to creating complex workflows when you require more advanced editing behaviors.

For example, you have three layers, each of which you want to have a different editing experience. These layers are as follows:

Using Edit Result, you can configure different parameters for each layer to specify the editing behavior.

And, similar to enabling editing in Result Details, you can still optionally run a workflow. Except this workflow is simpler because it runs only for that specific layer.

To configure editing in the Map component:

Before you configure Edit Result, you must ensure you first disable Allow Editing in the Result Details component.

  1. In the Components panel, open the Map component, navigate to the Layer Extensions section, and select a layer.

  2. Click Add Menu Item in the Feature Actions.

    A window appears that lets you select a command, workflow, or report.

  3. Select Edit Result and click Select.

  4. Configure the Menu Item settings as needed.

    The table below describes the Menu Item settings for the Edit Result menu item.

    Field

    Description

    Main Settings
    Title The name as it appears in the menu.
    Description A brief summary about what the menu item does.
    Icon The symbol to display next to the menu item.
    Command The action to run when the user clicks the menu item.
    Behavior
    Hide When Disabled Determines whether the menu item is hidden when it cannot be executed.
    Visibility Filters
    Visible To The users / groups that this component is visible to.
    Hidden From The users / groups that this component is hidden from. This setting overrides the Visible To setting.

To turn your command into a custom command, click . A code box appears in which you can manually edit the JSON code for the command. Turning your command into a custom command is a one-way operation. While editing the custom command in the code box, press CTRL+Space to access code suggestions. You can specify a sequence of multiple commands.

To convert commands into a workflow, first click to customize the commands, and then click . Converting commands into a workflow cannot be reversed. This option is not available for on-premises Workflow installations that are not installed in the default installation folder.

 

The layer-specific Edit Result appears in the Result Details view when the user selects a feature.

 

Refer to this Community post for more information on customizing the editing experience in Web.

Delete a Feature

When you enable Allow Deletion in the Result Details component, users can click or draw to select one or more features, which they can then permanently delete.

To enable deletion:

  1. In the Components panel, open the Result Details component and navigate to the Editing section.

  2. Toggle Allow Deletion to the ON position.

    Delete appears in the Result Details view when the user selects a feature.