Page 1 of 1

Using JS var as name of LSV in a .get Method

Posted: Thu Jul 30, 2015 3:58 pm
by Pavel Zarudniy

Hi Jack,
Param to get function it is just string and you can concatenate it with variable.
For example:
code
var value = Apperyio.storage.selected_job.get("$['" + code + "']");
/code


Using JS var as name of LSV in a .get Method

Posted: Thu Jul 30, 2015 5:33 pm
by Jack Bua

Thank you so much. I was making that too hard and tried what you said before but made another mistake and assumed incorrectly.

Again, thank you Pavel.


Using JS var as name of LSV in a .get Method

Posted: Mon Jul 20, 2020 8:22 am
by Jack Bua

due to the double sets of """". Basically