Skip to main content
Nintex Community Menu Bar
Question

Set Field Renderer for Field in Javascript

  • July 10, 2024
  • 4 replies
  • 10 views

Forum|alt.badge.img+2

If i create a new UI-Only field in Javascript, is there any way to define what the field renderer will be when i create that field? 

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+2

They have the same options for renderers as legit fields. I use field JS field renderers all of the time on UI-only fields.


Forum|alt.badge.img+2
  • Author
  • July 10, 2024

Sorry, I should be more clear. 

I am creating a field in Javascript and adding it to my model.

After i create the field I want to assign a field renderer in it . All done within Javascript. 


Forum|alt.badge.img+2
  • Author
  • July 10, 2024

I was able to figure out a workaround. I define a custom snippet that applies to standard renderer.

When writing the XML for the field in a table, apply the custom snippet


Forum|alt.badge.img+2

Nice! I’ll remember that