cancel
Showing results for 
Search instead for 
Did you mean: 

Web Page Composer Anonymous site error :'wpc:getDisplayName'

Former Member
0 Kudos

Hi all,

I would like to use the new Web Page Composer to implement an anonymous site, I have followed all the configuration in order to make portal anonymous, I have made a test role with a km iView that open an html file and everything is ok.

At this point I have created my site whit WPC I have tried it whit a standard user (authenticated) in order to verify that the site runs correctly and after that I have connected my site to the anonymous role.

I have also followed the guide Define permission in the PCD and Set initial permissions for folders.

When I call my anonymous portal I can see the header the first, second and third level, in the context area I can see the header of my WPC page, (the rss button, print link, email link…) but instead of the content page I have the following error:

Cannot render container : com.sap.engine.lib.xml.util.NestedException: Function with name 'wpc:getDisplayName' not found in context library

Do I miss something?

Thanks and regards

alessio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alessio,

have a look at at this thread:

<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=599765">Link for your error message</a>

Or maybe it is because your WPC isn't fully configured for anonymous access.

To configure it for anonymous access, try this:

1. Configuration in PCD - go to Content Administration -> Portal Content-> Portal Content -> Web Page Composer -> Container iViews -> WPC

Default Containers. All of the iViews in this location should have the

"anonymous" authentication scheme. The next location which should be

checked is Content Administration -> Portal Content -> Portal Content ->Web Page Composer -> iView Templates. Again all of the iViews should

have the "anonymous" authentication scheme. The same applies to all the

templates which reside in Content Administration -> Portal Content ->

Portal Content -> Web Page Composer -> Page Layout Templates. Finally

check if all the pages which reside in Content Administration -> Portal

Content -> Portal Content -> Web Page Composer -> Page Layouts have the

"anonymous" authentication scheme.

2. Configuration in KM - make sure that all the pages, which should be

displayed to an anonymous user have in their permissions the Anonymous

Users Group.

3. Security zones - if you go to System Administration -> Permissions ->Security Zones -> com.sap.nw.wpc -> wpc -> no_safety and you open the

permissions of this object, the Anonymous Users group must be added in

the list.

If all mentioned objects have their setting as described and you still

experience problems (e.g. you see a browser dialog window for

authentication), the reason most probably is, that the KM is not

configured for anonymous access. A full description of the needed steps

is provided with note 837898.

I think the your error message could be solved with the first link.

But afterwards you need to perform the steps mentioned above.

Regards,

Marcus

Former Member
0 Kudos

Hi Marcus,

thanks to all the informations that you gave me and sorry for the delay of my answer.

Unfortunately I still have problem in anonymize WPC, so I have used traditional news to create mi site.

For now it is a prototype and so I have no much time to spend on it.

Any way tanks.

alessio

Answers (0)