Skip to main content
Nintex Community Menu Bar
Question

skuid.model.getModel('MY_MODEL') is always undefined on Dev Console (Chrome)

  • July 10, 2024
  • 4 replies
  • 20 views

Forum|alt.badge.img+2

Hi,

I had a need of showing a skuid page as a popup on a custom button click which is on Account Detail Page.

Here is the flow of components:

Account Detail VF Page –> has a VF Component –> this VF component has a button
If this button is clicked , I am opening a modal dialog with an iframe showing Skuid Page.

Now, the problem is, when I open the modal dialog it shows the skuid page fine, but on Chrome Developer Console , unable to access models which are on this skuid page.

How can we access Skuid page models from chrome console in this case ?


4 replies

Forum|alt.badge.img+3

Hi Kvin,

since you have iframe, you need to select the right frame(for example see in screenshot) before running skuid.model.*. If you face issue, event after that, please give more details (attach screenshot of your frames like below)


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

Hi,
Thanks for the response.
Yes, after I have tried all possible options like you mentioned in above snapshot, I decided to post in here.

I should have added the snapshot earlier . . .


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

Never mind . . . I was able to figure it out.
Need to select the iFrame in context there in list and it solved the data access issue.

Thank You!


Forum|alt.badge.img+3

Ok, Kvin, Good that you figured it out.
I’ve pointed out that’s the reason in my original reply.