using local variable in page JS Block
Application Type

I want to refresh a page based on the value of a local variable. I am using page Javascript block but when I am writing if condition in that page JS then its not working. I  think its not able to pickup the local variable value. Can anyone propose a solution.

Hi Manjeet,

Could you perhaps share some more details (e.g. screenshots or a .oml file) so we can see what's going on?
Based on what you've described so far, I would suggest to implement something like this (use your local variable as input variable for the JS block):

Kind regards,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.