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
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)
Please log in to answer
Posted by:
michaelnowell
16 years ago
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.
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
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.
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
Posted by:
AngelD
16 years ago
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.