/build/static/layout/Breadcrumb_cap_w.png

quick question on variables...

I forgot how to do this... What I'd like to do is use an item from my directory table as a variable.

"CLIENT", points to one directory while
"Client", points to another.

I'd like to apply a variable for, "Client" not "CLIENT". using [CLIENT] returns a value... using [Client] returns nothing. I think the format is [~Client]? I'm not sure. I'd give it a shot but this app takes so damned long to compile, I'll probably get an answer here faster than the recompile!

Thanks!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 14 years ago
Red Belt
1
Where are you trying to use the variable? Obviously 'CLIENT' is a public property (being all upper-case) whereas 'Client' isn't. You could simplify the entire exercise by changing the _Directory name 'Client' in the Directory table to, say, 'CLIENT2'. As long as the actual directory name remains as 'Client', there's no problem: the former is just aan alias, in effect.
Posted by: Secondlaw 14 years ago
Third Degree Blue Belt
1
[Client]

is a user profile directory
Posted by: jmcfadyen 14 years ago
5th Degree Black Belt
1
user profile directories cannot be accessed like that. the problem is that on installation it will cache the user profile directory to the msi cache and successive repairs attempt to repair to the same location regardless of the logged in user.

the way to get files deployed to the user profile is to use an HKCU entry as the keypath to the component.

if it is not a file you are talking about then simply using [CLIENT] should suffice alternatively you can makes calls to the session object

xxx = session.property("CLIENT")

Or session.TargetPath
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