/build/static/layout/Breadcrumb_cap_w.png

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


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: pjgeutjens 11 years ago
Red Belt
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


Comments:
  • Thanks ! - egiberne 11 years ago
  • What is custom action property?where it will be used ? - Harik 10 years ago
  • Custom action property - Harik 10 years ago
 
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