cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Portal Desktop selection with Master Rule Collection in Runtime

p330068
Active Contributor
0 Kudos
175

Dear SDN Community,

I have an issue with theme and desktop in the SAP internet Portal with anonymous access.

Main URL: http://<host111 >/irj/portal/anonymous?guest_user=MNOP or we can change to ABCD / XYZ

Two new Internet URL for the same are:

http://<host222 >/irj/portal/anonymous?guest_user=ABCD

http://<host333>/irj/portal/anonymous?guest_user=XYZ

When I try to access the host222 related we have observed following things :-

1. Working fine with host111 URL with anonymous user ABCD

2. First Screen coming successfully with host222 but then I click on detailed navigation or tap level navigation, portal desktop changed for specific to host111

Same for host333.

1. Working fine with host111 URL with anonymous user XYZ

2. First Screen coming successfully with host333 but then I click on detailed navigation or tap level navigation, portal desktop changed for specific to host111

We have defined master rule for all the 3 users,

If user = ABCD then desktop = for ABCD

If user = XYZ then desktop = for XYZ

If user = MNOP then desktop = for MNOP

If user = * then desktop = for Default.

I have tried changing ABCD/XYZ with role, group or url alias (portal/anonymous but is same for all) but nothing work. Also I tried with adding other expressions like

If URL Alias = portal/anonynous

If user NE XYZ

If user NE MNOP

If user NE *

Then desktop = for ABCD

OR

If user = ABCD then desktop = for ABCD

If Role = for ABCD

Then desktop = for ABCD

But it is not working. Please help me the possible scenario to resolve the issue. Also please let me know how many nested IF expression are allowed in master rule collection.

Thanks in Advance.

Best Regards,

AJ

Accepted Solutions (0)

Answers (1)

Answers (1)

p330068
Active Contributor
0 Kudos

Dear All,

Any suggestion please for the above queriy....

Best Regards

Arun Jaiswal

0 Kudos

Hi,

We had the same scenario and what we did is, we have distinguish with the role that was assigned to the user. We did like the following solution.

1. Create 3 different desktop for three different group of user.

2 .Create different roles for these 3 users (Hope the roles are different.)

3. Dont change in master Rule collection, create a new rule.

4. write the first condition if the role is from the specified PCD location load the desktop 1. See example for below.

IF Role = pcd:portal_content/f_user1_role/f_role/*

THEN PortalDesktop = pcd:portal_content/f_user_desktop/f_desktop1

If the user has all the roles first defined desktop in the Rule collection will load.

Try this.

Thanks,

Mahe B.

p330068
Active Contributor
0 Kudos

Dear Mahendran,

Thanks, I did the same way but problem is we have three portal URLS. It is working with main URL but problem with custom URLS i.e. host name is different.

When I open the portal first time with custom urls working but when i click on detail navigation or top level navigation then its not working i mean desktop change to SAP standard desktop or others.

After investigation, I have added one more if expression like :

if url alias = portal/anonymous

then desktop = .......

BUT problem it is not working for nested IF expression. as because i have 3 for anonymous with all 3 url host name are different.

Please how it works for the nested IF expression and what are limitation for nested IF expressions. I have checked help.sap.com but did not find exact what I am looking for. please suggest some pointer for the issue.

Best Regards

Arun Jaiswal

0 Kudos

Hi,

I understand the scenario.

Basically its 3 different desktop for 3 different URLs. Is the Framework page different for 3 different desktop?

p330068
Active Contributor
0 Kudos

Dear Mahendran,

Yes, Framework page / portal desktop are different for the URL's. I mean framework pages are different for 3 different portal desktop.

Best Regards

AJ

p330068
Active Contributor
0 Kudos

Dear All,

Please pointer on my issue......

I have already raised message to SAP but still waiting for the same.

Best Regards

Arun Jaiswal

Former Member
0 Kudos

Hi Arun,

Can you paste all IF expressions in the same order that is there in Master Rule collection without missing any one, I wanted to see the order you've put for IF expressions!

Thanks,

MS