Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Geolocation

  • Last UpdatedJun 25, 2024
  • 4 minute read

Use Geolocation control to get the geographical position of the user.

Note:You need to enable the location services on your browser or device to access the Geolocation feature.

Properties

The properties for the control are grouped under the following tabs:

Basic

Property

Description

Name

Name that identifies the control. This value is also used for the label of the control.

Description

Description for the control.

Button Text

Text for the control.

Appearance

Property

Description

Enable

Enable or disable the control.

  • Select Yes to enable the control.

  • Select No to disable the control.

    The default value is Yes.

Visible

Show or hide the control.

  • Select Yes to show the control.

  • Select No to hide the control.

    The default value is Yes.

Label Position

Position of the label for the control.

  • Select Default to allow the system to align the label. The system aligns the label to the left of the control or as specified by the container control.

  • Select Left to align the label to the left of the control.

  • Select Top to align the label to the top of the control.

  • Select Right to align the label to the right of the control.

  • Select Bottom to align the label to the bottom of the control.

  • Select Suppress to hide the label for the control.

    The default value is Default.

Note:
- If the value is Default and the control is placed on a container control, then the value of the Label Position property of the container control determines the position of the label for the control.
- For example, if the value is Default and the control is placed on a Base Form with Label Position property set to Top, then the label is aligned to the top of the control.

Label-Control Area

Area occupied by the label and the control in percentage.

  • Select Default to allow the system to set the label and the control areas.

  • Select Custom to specify the label area. The control area is automatically set based on the label area.

    The default value is Default.

Note:
- If the value is Default and the control is placed on a container control, then the value of the Label-Control Area property of the container control determines the area of the label for the control.
- This is applicable only when the Label Position is set to Left or Right.

Alignment

Alignment of the control with respect to the form.

  • Select Default to allow the system to align the control. The system aligns the control to the left of the form or as specified by the control.

  • Select Left to align the control to the left of the form.

  • Select Right to align the control to the right of the form.

  • Select Center to align the control to the center of the form.

Display Mode

Show text and/or image for the control.

  • Select Text Only to show only text for the control.

  • Select Image Only to show only image  for the control.

  • Select Text and Image to show both text and image for the control.

    The default value is Text Only.

Button Size

Size of the button for the control.

  • Select Standard to set the size of the control to 120 x 32 pixels.

  • Select Small to set the size of the control to 30 x 30 pixels.

  • Select Medium to set the size of the control to 180 x 86 pixels.

  • Select Large to set the size of the control to 280 x 130 pixels.

    The default value is Standard.

Image Path

Path to the image for the control.

The image path is specified as:

  • xxx

    We recommend the following image sizes when the Display Mode property is set to Image.

  • Small – 30 x 30 pixels.

  • Medium – 180 x 86 pixels.

  • Large – 280 x 130 pixels.

    We recommend the following image sizes when the Display Mode property is set to Text and Image.

  • Small – 30 x 30 pixels.

  • Medium – 40 x 40 pixels.

  • Large – 50 x 50 pixels.

    Note:
    - This property is applicable only when the Display Mode property is set to Image or Text and Image, and the Button Size property is set to SmallMedium or Large.
    - If the Display Mode property is set to Text and Image and the Button Size property is set to Small, then only the image is displayed.

Image Position

Position of the image with respect to the text for the control.

  • Select Left to align the image to the left of the text for the control.

  • Select Right to align the image to the right of the text for the control.

  • Select Top to align the image to the top of the text for the control.

  • Select Bottom to align the image to the bottom of the text for the control.

    The default value is Left.

Note: This property is applicable only when the Display Mode property is set to Text and Image.

Show as Link

Enable or disable the control to show as link.

  • Select Yes to enable the control to show as link.

  • Select No to disable the control to show as link.

    The default value is No.

Advanced

Property

Description

ID

Reference identification code for the control. This value is automatically generated and cannot be changed.

Form Button

Enable or disable the control to act as form button. When this property is enabled, the control is displayed at the bottom-right corner of the form.

  • Select Yes to enable the control to act as form button.

  • Select No to disable the control to act as form button.

    The default value is No.

Note: If the value is Yes, and the form is viewed on a mobile device, then the control appears in the Action Bar of the mobile device.

Scripts

For information about using scripts, see scripting guidelines for Geolocation property.

Related Links
TitleResults for “How to create a CRG?”Also Available in