Skip to main content
Nintex Community Menu Bar
Question

Page include error: Uncaught TypeError: UserContext.initialize is not a function""

  • July 10, 2024
  • 3 replies
  • 26 views

Forum|alt.badge.img+10

I’m getting the above error and I can’t figure out at all what’s going on.

I have a Skuid page called Inner, which has in it just a template with some text in it. Then I have a Skuid page called Outer, which has only a page include component that includes Inner.

If I preview Outer, it renders fine and I see the text coming through from Inner. But what I want is for Outer to appear in a Visualforce page. As soon as I embed Outer in a Visualforce page and view the Visualforce page, I get a console error: “Uncaught TypeError: UserContext.initialize is not a function”.

I’ve tried it in two different orgs. Driving me nuts. Anyone seen it before?

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+10

Ignore me. I got to the bottom of this. The org was missing a local cloned version of the “Include” Visualforce page. Face suitably palmed. 


Forum|alt.badge.img+17
  • Nintex Employee
  • July 10, 2024

Ooh.  The tragedy.  Thanks for letting us know you got it solved. 


Forum|alt.badge.img+6

In case someone else runs into this, please find the documentation here: https://docs.skuid.com/latest/en/skuid/deploy/salesforce/visualforce/skuid-page-visualforce-component.html