[QGIS-Developer] FIELDS_TO_COPY syntax for native:joinattributestable

Anita Graser anitagraser at gmx.at
Mon May 13 02:29:52 PDT 2019


On Sun, May 12, 2019 at 7:30 AM Nyall Dawson <nyall.dawson at gmail.com> wrote:

> On Sat, 11 May 2019 at 00:03, Anita Graser <anitagraser at gmx.at> wrote:
> >
> > Hi,
> >
> > I'm trying to figure out the syntax for using native:joinattributestable
> in the modeller. Specifically, I'd like to specify the FIELDS_TO_COPY
> parameter. I know from the Processing history, that the correct syntax is :
> >
> > FIELDS_TO_COPY: ['NAME','USE']
> >
> >
> > but no matter how I try to enter the field names into to modeller GUI, I
> always end up with either everything mashed into one field name, e.g.
> >
> >
> > FIELDS_TO_COPY: 'NAME,USE'
>
> NAME;USE
>

Thank you, Nyall! That did the trick.

It's completely opaque and not user friendly at all. This will
> eventually get fixed when the fields parameter is ported to the new
> wrapper API, where we can add specific helper tooltips and text around
> the widget.


That will be a huge improvement. Without tooltips this is really difficult
to figure out.

Regards,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190513/66dea089/attachment.html>


More information about the QGIS-Developer mailing list