I was using nuSetProperty to set a hash cookie on the main form. Then i was using this value on a browsedit form displayed within an iFrame.
So on the main form i used.
var p = nuCurrentProperties()
nuSetProperty('CurrentCompanyEditID',p.record_id);
then within the iFrame form i used
var p = nuCurrentProperties()
p.hash.CurrentCompanyEditID
to access this variable.
During some recent update the hash section on the properties has disappeared and now i cannot access the variable.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nuSetProperty() behaviour changed
Re: nuSetProperty() behaviour changed
Andrew,
You are correct, I did change something.
Try this in the iFrame...
It will be a lot simpler.
Steven
You are correct, I did change something.
Try this in the iFrame...
Code: Select all
var p = parent.nuCurrentProperties()
console.log(p.CurrentCompanyEditID);
Steven
-
- Posts: 75
- Joined: Tue Dec 26, 2017 8:58 pm