CustomActionData property
Hello,
I would like get info in CustomActionData property.
I set "CustomActionData" property in the property table like this :
Property : CustomActionData Value : /folder=[VIM_DEFAULT_DIR]
But the MsgBox in my Custom Action return "blank", no value.
folder=Session.Property("CustomActionData")
MsgBox folder
The custum action is in "Deferred execution in System context".
How can i get the data in the property CustomActionData ?
Regards
Answers (1)
What you should do is insert a type 51 custom action (Set Property) in IMMEDIATE context. The name of the property you set should be the NAME of the deferred custom action you want to use. So if the name of the deferred CA is MyAction, the name of the property you set should be MyAction
In that deferred custom action you can then read out the value you passed by referencing Session.Property("CustomActionData")
Also using this method there is no need for the /folder= part of the value, what you place in the property is what you'll get in the deferred custom action