Skip to main content
Nintex Community Menu Bar
Question

Custom components broken in Spark

  • July 11, 2024
  • 4 replies
  • 21 views

Forum|alt.badge.img+18

I just upgraded from Brooklyn (10.0.27) to Spark (12.2.9). All of my custom components are now broken.

Any ideas on where to start looking?

4 replies

Forum|alt.badge.img+5
  • Nintex Employee
  • July 11, 2024

Hey Matt,

Just seeing this after the weekend. Hrm, I’m not positive what it could be. Do you see any clues in the JavaScript console, error-wise?

If not, here are the collection of Heads Up sections that seem relevant to custom code in the major versions since 10.0.27: 

https://docs.skuid.com/v11.2.27/en/release-notes.html#heads-up
https://docs.skuid.com/v11.1.1/en/release-notes.html#heads-up
https://docs.skuid.com/v11.0.0/en/release-notes.html#heads-up

It seems the biggest things would be these two updates. Give these a read and see if they affect your code:
https://docs.skuid.com/v11.1.1/en/release-notes.html#use-getrenderer-and-getfieldrenderer-instead-of-directly-accessing-properties
https://docs.skuid.com/v11.1.1/en/release-notes.html#skuid-component-createchildcomponents-has-been-deprecated

And not sure if you’re trying this or not, but custom components are not currently supported in v2I figure it’s just your v1 pages that are off, but I wanted to make sure to note that just in case.


Forum|alt.badge.img+18
  • Author
  • July 11, 2024

Thanks. I’m investigating further. I attempted to update the to the skuid.ui.getFieldRenderers() function, but there is a conflict in the documentation. Some places use the plural, some the singular. Apparently getFieldRenderers() plural is not a function, but getFieldRenderer() singular is a function.


Forum|alt.badge.img+5
  • Nintex Employee
  • July 11, 2024

Ahhh yeah, this looks like a typo on our end. I’ll get that fixed now. Thanks for pointing that out!


Forum|alt.badge.img+18
  • Author
  • July 11, 2024

You may have already updated it, but the same is true for skuid.ui.getRenderer() singular, not .getRenderers() plural.