/build/static/layout/Breadcrumb_cap_w.png

Business Objects XI SP2, User Preference

Hi all,

I need to customize the file locations in Business Objects for 'all users'.
It writes its values to

HKCU\Software\Business Objects\Suite 11.5\default\BusinesObjects\"MY LOG ON ID" User Prefs

let's say my log on to Bus. Obj. ID is Gizsha

HKCU\Software\Business Objects\Suite 11.5\default\BusinesObjects\Gizsha User Prefs

Now when I log on with a different ID, I have to set the file locations again.

Does anyone know the variable for this?

Thanks so much.

Gizsha

0 Comments   [ + ] Show comments

Answers (5)

Posted by: michaelnowell 16 years ago
Second Degree Blue Belt
0
Assuming that your username you login into Business objects os the same as you logon name, you'll need to create a custom action to set the username as a property.

You need to create a 'Set Property' custom action.
Under the Property name setting enter "USERNAME" (without the quotes, or you can call this whatever you'd like)
Under the Property Value enter "[%USERNAME]" (without the quotes, this pull the current USERNAME from the environment variables.

So your registry key will look like this

HKCU\Software\Business Objects\Suite 11.5\default\BusinesObjects\[USERNAME] User Prefs

Hope that makes sense.
Posted by: gizsha 16 years ago
Purple Belt
0
Hi,

Thanks for your reply.

This is what I did.
Created a property USERNAME, Value USERNAME

Custom Actions, opened Set Property.
Name: Set Property
Property: from the drop down list i selected USERNAME
Value: %USERNAME%

Was this correct? Probably not.

It didn't fix the problem.

Please let me know what I did incorrect.

Thanks.
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
the value is not %username% it is

[%Username]

lookup the word "formatted" in the SDK for more detail on how this works.
Posted by: AngelD 16 years ago
Red Belt
0
Either use the %USERNAME% environment variable as John suggested ([%USERNAME]) or if you're gonna use the USERNAME property ([USERNAME]) then make sure it's not predefined in the Property table and the NOUSERNAME property is to 1 as this would prevent the USERNAME property from being set to the value from the registry.
Posted by: gizsha 16 years ago
Purple Belt
0
Hi guys,

Sorry for the late reply. Changed jobs in the meantime.

Anyway, the solution turned out to be [LogonUser]
HKCU\Software\Business Objects\Suite 11.5\default\BusinesObjects\[LogonUser] User Pref

Thanks for your help.

Gizsha
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