/build/static/layout/Breadcrumb_cap_w.png

session.property not working in vbs

hi i have a CA in deferred sys context running in the correct sequence but it does not work properly.
i use session.property("ProductCode") and it returns the product code to my vbs perfectly.
however 2 lines late i use session.property("CommonAppDataFolder") and it returns blank!
weird?
i have tried loads of diff properties here with no joy!
any ideas?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: spartacus 17 years ago
Black Belt
0
In the deferred sequence you would only expect to be able to read the following properties directly :

ProductCode, UserSID, and CustomActionData

which explains why your CA is able to read ProductCode but not the CommonAppDataFolder property.

To get around this (if you really must use deferred), you would need to use an indirect method using the CustomActionData property.

This article should hopefully explain.

Regards,

Spartacus
Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
you need to use the CustomActionData property to get stuff from the deferred sequence.

In order to do this you simply create a CA which has the same name as the property you wish to extract.

Then call session.property("CustomActionData")
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