Questions tagged [widget]

Small tools or extensions that perform a specific job.

Filter by
Sorted by
Tagged with
2 votes
0 answers
30 views

Nesting Cascading lists/Subtypes in QGIS?

Has anyone got any experence in creating nested cacading lists/subtypes in QGIS? (QGIS - 3.22.10-Białowieża) I am trying to create a form that allows user to select a type of survey from a list, then ...
1 vote
0 answers
19 views

show plugin widget whenever I update my layer by adding a point [closed]

I am developing a plugin that addresses the point layer, I want to add specific information to each point I add. For that, I need to write a script that make the Plugin widget pop out each time I add ...
  • 11
0 votes
0 answers
25 views

Remove objectid from query in Esri search widget

I am developing a search and the search should operate only on two columns aka "name" and "alternate". The search widget as coded using ArcGIS JavaScript API 4.22: const source: ...
  • 2,564
0 votes
0 answers
38 views

ArcGIS JS API Sketch snappingOptions is not reacting to featureSources

I'm trying to set the Snapping options of the sketch widget, to snap only to a specific graphic layer, and not all others. It seems like the results " ignores" my settings, shows all the ...
  • 123
8 votes
1 answer
114 views

Sorting values in Unique Values widget in QGIS

In QGIS 3.24.3 I have a GeoPackage table containing a text field "box_id". Within its Layer Properties > Attributes Form page I have assigned it a Unique Values widget type as shown here: ...
  • 7,080
0 votes
0 answers
57 views

Is there an "Add Data Widget" equivalent for the ArcGIS Server JavaScript API?

The ArcGIS Web AppBuilder has an Add Data widget which: allows you to add data to the map by searching for layers in ArcGIS content, entering URLs, or uploading local files. In this way, you can ...
  • 20.6k
3 votes
0 answers
57 views

QGIS - automatically complete habitat codes based on name

In a QGIS (3.22) form, I try to automatically complete habitat codes when I enter a habitat name. For this, I have a csv Table with the codes btcode and the names btname. btcode | btname 1.1 | ...
  • 1,454
3 votes
1 answer
56 views

Using overlay_nearest expression

I have a project in Qgis where I have 2 layers: 1. plot of land (in the project named as "lohko") and 2. observation. I have joined the id of the plot of land layer to the observation layer ...
5 votes
1 answer
227 views

QGIS: How to sort Drop Down Lists in Value Relation Widget

I have some attributes in my data and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). The ...
  • 1,383
0 votes
1 answer
94 views

Adding functionality to QField

I have a question regarding adding functionality to QField. I'm currently doing a school project, where the customer involved would like to have a functionality to QField, where basically by tapping a ...
1 vote
1 answer
107 views

QGIS / QField wrong entry from value relation

I am absolutely puzzled what went wrong here: I am setting up a project in QGIS 3.16.11 which should be taken into field with QField 1.11 in order to collect data about the local situation concerning ...
0 votes
0 answers
35 views

Edit widget-Fields-Check box multiple variables to (un)check

I'm making a treeplan with QGIS and QField. A tree has different attributes, length, hight, ... one of the attributes is the visual defects a tree can have. I'd like to use a checkbox, so I can ...
  • 1
0 votes
0 answers
61 views

Use "calendar" input in DateTimePickerInput on FeatureForm widget in ArcGIS JS API v 4.x

There is DateTimePickerInput in FeatureForm widget which allows to edit date/date-time fields of a feature. Is there any ability to use "calendar" input to pick a date with a mouse?
1 vote
0 answers
39 views

File type for value relation widget in a shapefile (QGIS)

In QGIS 3.18. This question is related to this one which has not been answered; my hope is that a broader question will help solve my problem. I have a shapefile layer for which I want some attributes ...
  • 1,011
4 votes
1 answer
62 views

Moving widgets fields to the top in QGIS

I would like to change the order of my widgets in the attribute form section. But after changing the order of columns in the data attribute table, they remain still in the same order in the "...
  • 3,511
4 votes
1 answer
224 views

Multiple attribute form views in QGIS

In QGIS 3.18. There are 3 ways of visualizing attribute information that I am aware of: The attribute table the Identify Features box the Form view (accessible via either the attribute table or the ...
  • 1,011
0 votes
0 answers
49 views

Cursor coordinates in ArcGIS Online

I use the coordinate widget in ArcGIS Online. I then get the coordinates when clicking in the map. Is it possible to get the coordinates "real-time" when moving the cursor?
  • 173
1 vote
1 answer
31 views

Get Directions details from Directions Widget

I have created a Directions Widget as below var directionsW = new Directions({ map: map, routeTaskUrl: "https://xxxxxxxxxxxx/arcgis/rest/services/...
0 votes
0 answers
18 views

Add ShowSaveButton in Directions widget arcgis api 3.38

I am working with Directions Widget with arcgis JS version 3.38 and want to display the Save button on the widget, so I have added the ShowSavsButton parameter. But still can't displayed on the widget!...
0 votes
0 answers
12 views

Update Directions Widget SearchOptions/geocoderOptions Parameters

How can I change the Directions GeoCoder Service to let him point on my own Geocoder service I have declared My directions as below, with the routeTaskURL var directionsW = new Directions({ ...
0 votes
0 answers
51 views

Identify click not properly shown result in CMV-calcite

I am using Calcite Map-CMV, facing issue on identify widget, it's not showing properly result on Mobile. Screen is attached when I click on map, identify not properly shown.
0 votes
1 answer
276 views

Creating a dependent drop-down list in Google Earth Engine [duplicate]

I am trying to create a dependent drop-down list in Google Earth Engine that will respond to the input from the first list. I am basing this off an example provided by Google Developers... https://...
1 vote
1 answer
187 views

N:M relation in QGIS with custom form in Qt Designer

The manual: https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/attribute_table.html#creating-one-or-many-to-many-relations describes how to create a N:M relation and how to use it with ...
1 vote
1 answer
39 views

Smart editor has disappeared from Portal Widgets

I'm just doing a sanity check to see if anyone else is having the same issue: Upon editing a Portal app which used to have the smart editor widget I can no longer select that widget as an option. It's ...
  • 111
0 votes
0 answers
327 views

Mobile friendly Styling for Esri Widgets in JavaScript 4.x API and Calcite

Has anyone had difficulty (or experience) styling Esri widgets for mobile friendly use? I am currently working on a routing application whose code structure (I believe) makes it impossible to access ...
2 votes
0 answers
83 views

Refreshing image in attribute form based on classifier using QGIS

We have two tables: road_signs (road sign points). lut_road_signs (classifier of road signs), this table has a column sing_img (blob) in which the image of road signs is written in png format. How ...
2 votes
1 answer
60 views

Selecting specific tab at opening in the QGIS options dialog

I want to open QGIS options dialog (menu Settings > Options) programmatically and focus a specific tab. I saw the QgisInterface.showOptionsDialog class method description : virtual void ...
  • 13.2k
3 votes
0 answers
410 views

QGIS: Using Filter expression for Drop Down Lists in Value Relation Widget

I have a vector layer and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). It works ...
  • 1,383
0 votes
1 answer
334 views

How to make the Polygon tool the active tool when the Sketch widget opens?

Using the ArcGIS Server JavaScript API v4.18, I am adding the Sketch widget. My goal is to have the Polygon tool as the only available tool, and to have this tool active when the widget opens. I've ...
  • 20.6k
1 vote
0 answers
125 views

Custom position of in-panel widget ArcGIS Web App builder

I need the opportunity to toggle between 'draggable' position of an in-panel widget (ArcGIS Web App Builder 2.19) and its fixed position in the footer of an application. Is there an option to do it ...
2 votes
1 answer
139 views

Does ArcGIS have something similar to Attachment Widget Type of QGIS?

I have shapefile and I would like to be able to add the path to a chosen file to its attribute in ArcGIS. It is a pretty straightforward task in QGIS. I simply changed the widget type of the field to ...
  • 1,383
2 votes
1 answer
263 views

Widget Expand is not functioning correctly

I have placed 2 widgets (baseMapGallery, LayerList) inside a small map in a rather large popup. To keep it from crowding out the view, I am trying to use an Expand to launch it from a small icon ...
  • 1,729
3 votes
1 answer
90 views

Displaying reference pictures to a varying value in QField

While developing a QField project for forestry inventories, I aim at displaying botany board related to the current selected species selected in a scrolling-menu for field operator. It should be used ...
  • 79
0 votes
0 answers
46 views

ArcGIS WebApp Near Me widget is missing features

When I set up the Near Me widget in my Web App configured to 'Only draw selected layer results' the map view does not display all of the features in my layers (even before I have selected a layer in ...
  • 1
2 votes
2 answers
96 views

Create interface for user input [closed]

I want to do something like this using Python and QGIS: And I want to save what user input in each field in 4 variables. Here is what I tried but it is not giving what I want: import sys class ...
  • 245
8 votes
1 answer
3k views

Value relation widget in QGIS

I would like to create a cascading select in QGIS using the value relations widget. I'm using QGIS 3.14 (pi) and all layers are stored in a geopackage. The geopackage shown in this example can be ...
0 votes
1 answer
340 views

Incorporate location selection drop-down widget into split panel Earth Engine App

I am relatively new to using the ui module for creating Earth Engine Apps. I used the split panel code from the Earth Engine example apps https://google.earthengine.app/view/split-panel to create my ...
1 vote
0 answers
244 views

Generating UUID(unique ID) at joining points

I have road network (lines) and points (Address) . With the help of closestSegmentWithContext function, I join points to nearest lines in QGIS. Is there a way to to generate a unique ID at every ...
  • 835
1 vote
1 answer
36 views

Join/relation not an available widget option in the attributes form?

I cannot figure out why, but, in a tree/planting projects database, I have a fairly simply data model where I have one polygon layer to symbolize the area/project (eg. Maple Oak Park, John Smith ...
  • 43
0 votes
1 answer
78 views

ArcGIS WAB Layerlist Popup Opacity

I'm having an issue with the Layer list popup menu in my WAB apps being slightly transparent, which can make the layer names harder to read. I would like to set the background opacity to 100% so that ...
  • 131
5 votes
1 answer
167 views

PyQGIS add feature in layer with Value Relations in columns

Have a point layer (from geopackage) with value ralations widget in several columns. Trying to add new feature to this layer with the following code: import uuid layers = QgsProject.instance()....
  • 515
1 vote
1 answer
487 views

How to attach pictures saved in relative path

I have a QGIS project saved under G:\USER\xyz\projects\QGIS.qgz In the same folder is a subfolder Pictures. My layer contains a column with the picture names (For example: 101.jpg). The picture 101....
  • 2,291
1 vote
1 answer
235 views

How can I use a custom .ui file (widget) as a popup in qgis2web?

I am exporting a map with qgis2web with popups. I have seen that I can make attributes and their labels show up on the popups. The problem is that I want to add a custom widget I created in QT ...
0 votes
0 answers
125 views

How to add a button to the Qdockwidget Layers in Qgis 3 with PyQgis

I want to add a plugin for styles to the layers panel. So I am trying to find a way to add a button to the toolbar of the layers-panel. Is this possible? If not is it possible to add a menu-item to ...
  • 445
-1 votes
1 answer
573 views

Linking maps to dropdown menu in Google Earth Engine [closed]

I am attempting to make an interactive app to display air quality data but am new to using panels and widgets so am running into some issues that I hope can be resolved. First question: Is there a way ...
  • 101
0 votes
1 answer
40 views

ArcGIS web app builder near me find my location

Anybody know where to find this in the near me widget config? I built my last version with it but now can't find the option to add it anywhere.
  • 1,465
2 votes
1 answer
440 views

Qfield 1.4.4 - value relation widget working on QGIS and not on Qfield - list of invisible unfiltered values

I am trying to use value relation widget (working on QGIS) in Qfield (which should be implemented in the latest releases). I'm trying to use the widget to filter a long list of plant species. A first ...
1 vote
0 answers
54 views

Restrict layers in attribute table widget in JavaScript?

I'm building a webapp, where you can change from several map services. In every map service there are several layers with same naming, but not with the same number of layers. I cannot set the ...
1 vote
1 answer
73 views

On the fly/Dynamic measuring not working on Measurement Widget with different Basemap

I am developing an application with OS Open Carto Map as a Basemap and I have added a Measurement widget in the app. The measurement widget works fine for when the points are clicked for distance and ...
1 vote
1 answer
63 views

Making qgis2web web map display description rather than value of field with valuemap widget

I am making a web map with qgis2web which I want the pop-up to display the description rather than the value from a field which I have a value map widget on. Is this possible, or should I just make ...