CustomActionData property


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. 

MsgBox folder

The custum action is in "Deferred execution in System context".

How can i get the data in the property CustomActionData ?



0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: pjgeutjens 9 years ago
Red Belt

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

  • Thanks ! - egiberne 9 years ago
  • What is custom action property?where it will be used ? - Harik 9 years ago
  • Custom action property - Harik 9 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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