Skip to main content
Nintex Community Menu Bar
Question

Custom Field Renderers & Mass Updates in tables...

  • July 9, 2024
  • 1 reply
  • 8 views

Forum|alt.badge.img+3

How do custom field renderers affect mass actions in tables? 
We have one conditionally rendering fields as read-only in a table, but when you go to run a mass update, the field is set as read-only, regardless of which records you have selected.

From what I can tell, it appears it’s checking the condition for only one of the records & applying that to the renderer.  Can anyone shed more light on how custom field renderers interact with mass actions in tables?

Thanks!
-Pat

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+13

Mass Update only lets you edit fields that are NOT marked as “Read Only” from the Page Composer.

Mass Update will run your Custom Field Renderers, but in “context” of a generic row that, in general, does not have any field values pre-populated. 

Currently the best approach for these circumstances is to run slightly different code logic in case your field renderer is being used by mass-update. 

One way you can check whether your field renderer is being run by Mass Update is this:

var inMassUpdateContext = !field.model.id;<br>if (inMassUpdateContext) {<br>&nbsp; &nbsp; // Do something<br>}