/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


CustomActionData property

10/31/2012 11111 views

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

Answer Summary:
0 Comments   [ + ] Show comments

Comments


All 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

Answered 10/31/2012 by: pjgeutjens
Red Belt

  • Thanks !
  • What is custom action property?where it will be used ?
  • Custom action property
 
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