on 07-04-2018 11:01 AM
Hello friends,
Is is possible to access the Global Variables by groovy script in HCI? I need to access and modify.
I want to use the groovy because it is not possible to use the Write Variable passing in the name of variable a dynamic parameter. like ${property.DynVariable}, HCI will create a variable with name ${property.DynVariable}, not with the value of this property.
Thank you
Hi Kaleo,
You can create variable using write variable and then in save it as property in Content Modifier after which you can the property in a groovy script.
Regards,
Merina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello does you know how to read dynamicly a global variable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kaleo,
This doesn't seems to be correct.
If you mention the "${property.DynVariable}" and Type as expression it must work.
This is the expected behavior.
Please share the screenshot if its not working.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.