On Sat, 11 May 2019 at 00:03, Anita Graser <[email protected]> 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

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.

Nyall


>
>
> or escaped:
>
>
> FIELDS_TO_COPY: '[\'NAME\',\'USE\']'
>
>
> What's the correct way to specify the "Layer 2 fields to copy" in the modeler 
> GUI?
>
>
> Regards,
>
> Anita
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to