Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

current.variables.abc value passed into script include is undefined

venkat101
Tera Guru

Hi,

I am trying to pass a variable value into scirpt include and set default value.

i have 3 variables:

var a(reference field)

var b(reference field)

var c(reference field)

 

var b will be populated based on var a and var c will be based on b.

 

I used auto-populate functionality to set var b value from var a. Now, i am want to use var b value and set var c. To achieve this i am using server side call.

I want to use default value field to perform server side script include call by passing variable b value. when i call scriptinclude with  var b value(current.variables.b) I see on script include side received value is undefined.

I know current.variables.b should work because, i am using same logic to set advanced reference qualifier var c.

 

question is, when using current.variables.b in advanced reference qualifier it is working but not on calling script include. I need help on understanding when same logic is working for reference qualifier and undefine while calling script include?

1 REPLY 1

Brad Bowman
Mega Patron

It would help if you show the setup all of this, particularly where you are using calling the script include with var b - it sounds like it is happening before var b is populated.