cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
soumyam
Level 3

VBScript Property Access

Jump to solution

Hi I need information on if there is any way by which we can edit Property Variables in VBScript
The only thing I know about is how to access them i.e. by using somevariabletostoreproperty = Session.Property("PROPERTY_NAME_TO_ACCESS")
but I was wondering if there is any way by which it can also be edited directly from vbscript???

Labels (1)
0 Kudos
(1) Solution
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @soumyam,

Thank you for your post.

If you are asking how to set an MSI property via VBScript, you could try the following VBScript syntax:

Session.Property("MYPROPERTY") = "MyPropertyValue"

Please give this a try. Does it work for you?

Please let us know if you have any questions or concerns. Thanks!

View solution in original post

(3) Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @soumyam,

Thank you for your post.

If you are asking how to set an MSI property via VBScript, you could try the following VBScript syntax:

Session.Property("MYPROPERTY") = "MyPropertyValue"

Please give this a try. Does it work for you?

Please let us know if you have any questions or concerns. Thanks!

Thank You for the solution it did work. 🙂

0 Kudos

You Are Welcome, @soumyam; we are happy to help. We are happy to hear that the solution worked. ðŸ™‚

0 Kudos