/build/static/layout/Breadcrumb_cap_w.png

Setting a property

Hi all,

I have created a public property whose name is YO and value is 10
i am trying to set the property with vbscript

I am using embeded vbscript with only this line :
Session.Property("YO") = 12

later on i am printing the property value and getting alway 10 instead of 12!!!!
i use "call vbscript from embeded code " before ExecuteAction under userinterface.

I want to know how can i set the property value using the right way?!

am i putiing the script in the wrong place? or something is missing in script?

Thanks for your reply

Best Regards

0 Comments   [ + ] Show comments

Answers (3)

Posted by: kiptek 16 years ago
Second Degree Green Belt
0
I would put say right before CostFinalize in the Execute Immediate section
Posted by: AngelD 16 years ago
Red Belt
0
And you need to have the value enclosed around quote characters
Session.Property("YO") = "12"
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
what are you trying to achieve seems a little odd to be doing this in the UI.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ