<div dir="ltr">Nyall,<div><br></div><div>Thanks! That is exactly what I was looking for.</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 26, 2020 at 6:58 PM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 27 Aug 2020 at 04:49, C Hamilton <<a href="mailto:adenaculture@gmail.com" target="_blank">adenaculture@gmail.com</a>> wrote:<br>
><br>
> The default operation of a QgsProcessingParameterField in a processing algorithm with allowMuliple set to True is to have none of the attribute fields selected. Is it possible to have all fields selected by default when a layer is selected. The field names are not known ahead of time until the layer is selected.<br>
<br>
Set "defaultToAllFields" in the QgsProcessingParameterField constructor to True.<br>
<br>
Nyall<br>
</blockquote></div>