Skip to main content
Nintex Community Menu Bar
Question

Set Field Renderer for Field in Javascript

  • Jul 10, 2024 8:15 PM UTC
  • 4 replies
  • 53 views
  • Translate All

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.

Translate

Forum|alt.badge.img+2
  • Author
  • Jul 10, 2024 8:56 PM UTC

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. 

Translate

Forum|alt.badge.img+2
  • Author
  • Jul 10, 2024 8:56 PM UTC

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

Translate

Forum|alt.badge.img+2

Nice! I’ll remember that

Translate