Questions tagged [widget]

Small tools or extensions that perform a specific job.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

QGIS Forms: control heigh of HTML Widget

When using the HTML Widget in QGIS forms, I find it to be a powerful tool that opens up a lot of possibilities. However, I am facing a problem that requires a solution. Despite my HTML code consisting ...
  • 7,975
0 votes
1 answer
27 views

Remove color from widget form in QGIS

I used colors in a form widget, but I found out that this is not compatible with dark mode. So, I would like to reset this setting, but I don't know how. Is that function just missing?
  • 7,975
1 vote
0 answers
28 views

QGIS relation reference widget shows an empty list instead of values

I'm trying to set up a QField project to entry data from a bird watch project. I have a few layers which I would like to connect with the ID of the tour. I am using relation reference widgets. The ...
  • 11
0 votes
0 answers
26 views

Resize widget in Experience Builder

I'm developing a custom widget in experience builder. I need to increase the height of the widget. I tried to adjust the deafaultSize in Manifest.json, but it is not reflecting the widget size.
0 votes
1 answer
86 views

Downloading NDVI in GEE App

I am designing GEE App and want to download NDVI in GeoTIFF format using ee.Image.getDownloadURL for client side using following code: var urlLabel = ui.Label('Download', {shown: true}); var ...
3 votes
1 answer
80 views

Programmatically add QgsAction to Attributes form using PyQGIS

Context I am developing a QGIS plugin using QGIS 3.22.11-Białowieża. One of the functions is to add a layer to the map and format the fields in the attributes form. I want to avoid developing a custom ...
0 votes
1 answer
133 views

How do I insert an Edit widget in ArcGIS Experience?

I've been desperately looking for the Edit Widget in ArcGIS Experience. I read the documentation, I have the Map Widget ready, but there is just no Edit Widget among the list of Widgets in the Add ...
5 votes
1 answer
186 views

Changing timezone of features attribute

When adding a feature I am adding a Datetime field to the layer (its of type memory layer). I set up the widget to also add the timezone: But: when adding a feature it does not let me change the ...
  • 30.3k
2 votes
0 answers
49 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
23 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 ...
  • 21
0 votes
0 answers
50 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,566
0 votes
0 answers
110 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
172 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,443
0 votes
0 answers
139 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.8k
3 votes
0 answers
58 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,474
3 votes
1 answer
145 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 ...
6 votes
1 answer
326 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,443
0 votes
1 answer
101 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 ...
2 votes
1 answer
172 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 ...
1 vote
0 answers
55 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,031
4 votes
1 answer
75 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,643
4 votes
1 answer
376 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,031
0 votes
1 answer
126 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?
  • 183
1 vote
1 answer
35 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
36 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
1 answer
445 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
249 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
54 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
481 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
94 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 ...
9 votes
2 answers
443 views

Handling multiple selections result in "Value Relation Widget" in QGIS

Using the "Allow multiple selections" in the "Value Relation Widget" results in {value1,value2,...}. But arrays in QGIS are written like ['value1','value2',...]. How do I handle ...
  • 7,975
3 votes
1 answer
107 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 ...
  • 14.9k
3 votes
0 answers
518 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,443
1 vote
1 answer
452 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.8k
1 vote
0 answers
170 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
149 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,443
2 votes
1 answer
406 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,821
3 votes
1 answer
106 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
56 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
156 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
4k 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
406 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
350 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
48 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
88 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
196 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
693 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,496
1 vote
1 answer
271 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
146 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
679 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