Tip #19 – Change Rolecenters from the Role Center


This Blog Article was brought forward from my old blog

For consultants it might be nessesairy every now and then to change Role Center for testing purposes.

You can change your Role Center in table 2000000073 – User Personalization and page 9172 – User Personalization Card

But to go there is quite a hassle. So I decided to add this to my Database Information page I created in Tip #18

The CurrentRoleCenter variable is of Text 50.

This will find the current Role Center in a function. I’ve added two functions.

With this code

Where Text001 is this text

The function ChangeRoleCenter is called from the OnDrillDown of the CurrentRoleCenter field.

So now our page looks like this.

Download the page here

Advertisements
This entry was posted in Tips and Tricks. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s