TransWikia.com

QGIS2web setting condition for the attachment widget

Geographic Information Systems Asked on April 3, 2021

I have a layer, where I need to set an attachment as a widget.

Unfortunately only 4 elements have the attachment. Other don’t. In turn, when exporting the map I have the path icon, which I don’t want.

enter image description here

If I choose the widget "Hidden", then for all elements the path won’t be visible. I don’t want that, because I have 4 photos of 4 individual objects.

I tried to set an expression for it:

where at the "Default Path" label I provided:

       if("Path"='NA',"","Path")

but this icon is still visible when extracting the map.

Does anyone know how to solve it?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP