Skip to main content
Nintex Community Menu Bar

I have a large Skuid page with several snippets and functions. It works fine when I’m in Classic and/or Preview. But, when I use a Lightning Skuid Page Component I get an error when running a certain snippet. 

It’s saying pageTitle is not defined. I am using the following line of code. Why doesn’t this work in Lightning and how can I get it to work in Lightning?


pageTitle = $(‘#cart’);

 

I have a Page Title component with an id of ‘cart’. I’m using the snippet to handleMessages() after running some functions over a few different models. 

Figured out the problem. I believe this is because js is in Strict mode according to documentation. I had to change my js code to adhere to strict mode. Everything worked correctly once I did that.


Reply