Assigning WPC page to a role

Hello,
I have followed all the steps of this blog.
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6150
I created a role and then a folder. I assigned the path for navigation connector of the wpc file, but still not able to see the page for that role.
Is there any specific settings to be done for KM related to this?
Thanks,
Priya

Hi Priya.
Common beginner's mistakes are the forgotten prefix wpcnavigation://  and a wrong number of slashes in the property External Connector:
wpcnavigation:///wpccontent/Sites/<MyWebSite>/Site Navigation/navigation.wpc
If it is not your case, try recreate a role from a scratch. Sometimes it helps.
Best regards,
Aliaksandr Zhukau

Similar Messages

  • Automate the assignment of iviews, pages, workset to role....

    Hello Gurus,
    We are using EP 7.0. Is there any tool available in EP 7.0 that will automate the assignment of different content objects, like assignments of iviews, pages and workset to role.
    We want to assign large no. of iviews, pages,worksets etc. to diffrenent roles. Is there anything available that will help us to automate the assignment, rather than manually assign the objects to the role as it will be a huge task and time consuming.
    Any help will be highly appreciated.
    Regards
    Deb
    [Points guranteed for helpful answers]

    Hi Deb,
    as far as I know there is no standard tool for mass assignment of content objects to portal roles. But you can easily develop your own solution. The folloowing sections of the SAP Library should be helpful:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/43863b2e641193e10000000a155369/frameset.htm">How PCD Lookups are Performed</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/726396278212d0e10000000a422035/frameset.htm">Working with Semantic Objects</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/703fd42043053ce10000000a1553f6/frameset.htm">Delta Links</a>
    Best regards,
    Martin

  • View sites without assigning "Web Page Composer" role

    I have created a site in web page composer, created a "Test" role in portal and connected it with the site.
    Now the requirement is to assign the "Test" role to users so that users can see the output of the sites as a visitor but they should not be assigned the "Web Page Composer" role.
    I removed the role "Web Page Composer" from users and assigned them the "Test" role to view the output. As a result, they are able to open the site but do not see any content.

    Hello Arpita,
    You should check the initial configuration steps from the online documentation
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/3fea9ff34d4a18e10000000a114a6b/frameset.htm
    Do you have the Everyone group assigned to the Standard User role (eu_role), and have you assigned your test user to the Everyone group? 
    Check the following documentation:
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/f0f7415e639c39e10000000a155106/frameset.htm                          
    Regards,
    Lorcan.

  • WPC pages gives portal runtime error

    hi Experts,
    i am trying to make a WPC page  but while i am in edit page and i click on page layout or publish or finish i am getting portal runtime error in the pop up window.
    i am having WPC_Editor role.
    please suggest what can be the problem here.
    regards
    SS

    Hi SS,
    Please ensure that you have followed all the steps mentioned in this thread.
    GMT wrong in activity report
    Note 1128018 - Portal Runtime Error appears in Web Page Composer pages
    Lastly, you can try refreshing the page and figure out if it works.
    Cheers!
    Sandeep Tudumu

  • Anonymous access to the WPC pages of the Web Content repository

    During setting up access of anonymous user to Web Page Composer pages we need to use Web Content repository that is not in the Documents repository.
    As is in the note 837898 there are no prefixes for WPC pages in the URL Generator Service.
    So the an anonymous user get login screen then attempt to access any WPC pages of the Web Content repository.
    How to achieve that content in the Web Content repository get as Content Link property the value '/irj/go/km/docs/wpccontent/u2026', rather than '/irj/servlet/prt/prtroot/...'?

    Hi Vladimir
    Did you try the following from the note:
    2. Open the PCD Editor as Content Administrator: Content Administration > Portal Content > Portal Content > Portal Users > Standard Portal Users > Standard User Role > Open > Object
    a) Navigate to Home (note the tooltip "com.sap.km. home_ws") > Hidden > URL Access.
               b) Open contained iView: Document (km-doc-iview) for editing
               c) Select the property category "Advanced"
               d) Change the property "Authentication Scheme" to "anonymous"
               e) Save the changes.
    I think that ought to fix your problems.
    Else go see this note 1237530 as it describes that there has been some mis-coding internally in WPC with relation to using /irj/go/km/docs instead of standard servlet.
    Best regards,
    Martin Søgaard

  • Any iView to add WPC page in NW Portal 7.3?

    Hi All,
    Recently we have upgraded our portal from 7.0 to 7.3.
    In 7.0 i used to create an iView from com.sap.nw.wpc.runtime portal component,in the iView i use the RID of Compound Document to give the path of the WPC page in KM.Since i am adding WPC page to the iView i could able to use the  edit Page option.
    But in 7.3 there is an iview template WPC Web Content iView,with this i could able to add only the WPC content not the page because of that i am not getting the edit page option in 7.3.
    Anyother way to add the WPC page to the portal page.??Any body faced this issue??,Kindly help me to solve the issue.
    Naga

    Hi,
    since NW 7.3 SP9 it is possible to connect to a page not only to the area. The page itself has an id which you can use to connect to within a role. see here:
    http://scn.sap.com/community/netweaver-portal/blog/2013/04/10/wpc-pages-and-navigation-properties
    if you don't have SP9, you can achieve this as follows:
    1. create new iView from gpar:/com.sap.nw.pcc.mgr/default (this iview has ability to run wpc page via rid = path to runtime page), the old iview wpc.runtime.... will not work anymore.
    2. to find the rid of your wpc page you have to go to pcd inspector, path
       pcd: com.sap.portal.pcc/StagingAreaId/<yourarea>/ and click on "all properties" on the page you want to display. search for property com.sap.portal.pcc.rtObjectId
    copy this value to rid in the new iview and the page will be displayed with the new iview.
    if you have SP9, you don't need pcd inspector as the page id displayed in area management is the same as com.sap.portal.pcc.rtObjectId
    best regards,
    Lars

  • WPC: unable to add different resources with the same name into a WPC page

    Hi,
    I got a WPC problem when adding different KM resources with the same name into a WPC page.  Only one KM resource is able to be added in WPC.
    For example:
    There two "article.html" with different content and RID:
    1. /company_a/article.html
    2. /company_b/article.html
    when adding these two html pages into a WPC page, only one page will be shown.
    This means that a WPC page is not able to contain resources with same file names.  I think the problem might lie on the resource-linking mechanism of WPC. WPC will add a resource link in the page folder, when a new resource is drag&dropped into WPC.
    Anyone has some good ideas to solve my problem? Thanks a lot.
    Regards
    Lei NING
    Edited by: Lei NING on Apr 15, 2008 4:16 PM

    As this is not possible and double entries cause this problem, why not just pu both napes in the contact details on the same number. IE John Smith & Peter Jones all in the first name, by doing this if you search your contacts either by searching for john, peter, smith or jones the number will show up and if either calls the number will show John Smith & Peter Jones, it may not be perfect but will work. As the phone only recognises a number if two seperate entries of the number exist with different names it cannot possibly know who is calling ?
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • OES MAPI problem of "Assigning Principals to an Administration Role"

    Hi,
    I meet the problem of programmatically Assigning Principals to an Administration Role using Oracle Entitlement Server Management API. I can successfully run the sample code following the <Developer Guide>, Chapter 5.4.3 Assigning Principals to an Administration Role
    My code snippet is like this:
    List<PrincipalEntry> principals = new ArrayList<PrincipalEntry>();
         principals.add(new BasicPrincipalEntry
           ("weblogic.security.principal.WLSUserImpl", "Lisa"));
         //Grant the users in the list the role
         admManager.grantAdminRole(adminRole, principals);
    And no error or exception occurs in java app side or oes_admin side. But when login to http://vmware.localdomain:7001/apm admin GUI, I could not login with Lisa.
    I also tried manually assign app1 with delegated admin role, and then Lisa can successfully login to admin GUI.
    Then I run the app program to programmatically assign app2 with delegated admin role to Lisa. Login with Lisa could not see app2.
    I have checked the system admin "weblogic" login to admin GUI and it can see that app2 already have Lisa listed on the external user of delegated admin of app2.
    I even checked the DEV_APM.JPS_CHANGELOG in the oracle database schema for oes. I can see the changelog of java app assiging operation.
    Can anyone tell me the reason why programmatically assign user to an delegated admin not work correct? Is there some mistake steps in my java app code or there is a bug in OES product?
    I use the OES 11.1.1.5 version with Oracle Database 11.2.0, Weblogic 10.3.5 on Oracle Enterprise Linux 6 32bit.
    Thanks very much.

    Thanks very much for all the reply posts. With the suggestions from yours, I tried distribute the policy and finally it works!
    The code snippet is from 4-8 Using the distributePolicy() Method  , listed below:
    //get the PolicyDistributionManager
    PolicyDistributionManager pdm =
      app.getPolicyDistributionManager();
    //distribute policies
    String distID = pdm.distributePolicy(true);
    DistributionStatusEntry status = pdm.getDistributionStatus(distID);
    System.out.println("Start distribute policy");
    while (status.getPercentComplete() != 100) {
      Thread.currentThread().sleep(200);
      System.out.print(".");
      status = pdm.getDistributionStatus(distID);
    System.out.println("Finish distribute policy");
    There is another trick that I discovered from DEV_APM.JPS_CHANGEBLOG:
    If this is the first time that user be assigned as a delegated admin, you should also grant user with applicaionRole "APMViewer" to the application "oracle.security.apm"
    You can refer to the sample code from 2-9 Assigning Principals to an Application Role  , also listed below:
    ApplicationPolicy app = ps.getApplicationPolicy("oracle.security.apm");
    AppRoleManager roleMgr = app.getAppRoleManager();
    //Construct the list of users to be granted
    List<PrincipalEntry> principals = new ArrayList<PrincipalEntry>();
    principals.add(new BasicPrincipalEntry
      ("weblogic.security.principal.WLSUserImpl", "Nick"));
    //Grant the users in the list the role
    //admManager.grantAdminRole(adminRole, principals);
    AppRoleEntry appviewerRole = roleMgr.getAppRole("APMViewer");
    roleMgr.grantAppRole(appviewerRole, principals);

  • Pictures in WPC pages cannot be shown suddently!

    Hi gurus,
    I finally figured out the anonymous access of our external portal(EP 7.0 SP13 on solaris) last night, and all our WPC pages can be seen with anonymous user. But this noon, suddently the logon screen went out when we access it. We don't know what happened for it.
    Then i checked it all over again and found wpc runtime iview's authentication scheme was default, after i changed it back to anonymous, the page showed, but all the pics include in the page could not be shown, anybody can help me on it?
    I checked the pic's property, it showed url like http://<host>:<port>/irj/servlet/prt/portal/prtroot/docs/guid/c0723348-85a6-2a10-ad94-fc0406a9fb71, when i paste this url in a new window, it show me login screen, that means it wasn't be accessed by anonymous user.
    What i did is:
    1. change it according to note 837898
    2. 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.
    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. 
    4. pcd: portal_content/com.sap.pct/every_user/general/iViews/com.sap.km.i
    views/com.sap.km.urlaccess/com.sap.km.docs and change the authenticaton scheme to 'Anonymous'. 
    number 2&3 come from this Link:[thread|Re: Web Page Composer Anonymous site error :'wpc:getDisplayName';
    number 4 from Link:[here|/message/4490255#4490255 [original link is broken];
    I checked every place that i can find from this forum, but still cannot get the pics show again. Thanks.
    Best regards
    Peter

    Very damn, after restart the whole server, then it come back again.

  • OBIEE 11g issue - same user assigned to the multiple application role

    Hi All,
    We are facing an issue when assigning a user to the multiple application role and applying the data level filter on the different column of the same table.
    For example, we have a table Department with three columns Department No, Department name, Department location.
    Application Role A1 and A2 are created.
    Data Level security Applied on the application role A1: Department Name='Finance'
    Data Level Security Applied on the application role A2: Department location='US'
    The user "User1" is created in LDAP and is assigned to both the Application roles A1 and A2.
    When logged in with "User1", none of the filters of Role A1 or A2 is applied in the report. If this user is assigned to only one role, either A1 or A2, then the filter is applied. It seems the filter will not be applied if a user belongs to multiple roles with data filter applied on the same table across these roles.
    Please reply if anyone has faced similar issue.

    Hi All,
    Regarding the above issue to update the analysis we came up that the user if assigned to the multiple group with the data filter applied on the same column of the table is getting an *"OR"* join.
    We had a requirement to get an "AND" in the query condition. Please let us know if any one faced the issue and the resolution of the same.
    Regards,
    Jyotshna

  • Get GUID in custom WPC page layout

    I'm developing a custom WPC page layout with an embedded Visual Composer flash file. Since KMC web pages are stored in KM I can use the KM Java API to access properties on the document in KM. I want to use this technique to let users store a value at design-time and use this value to generate the code to view the VC flash file at run-time. I've managed to get everything to work except for one small detail: The only way I've been able to get a reference to the document in KM (as an IResource object) is by reading the GUID from the URL, and this is only available at design-time and when previewing the WPC web page, not at run-time when the web page is opened through portal navigation.
    Does anybody know of a way to get the GUID (or any other reference) to the current KM document from a page (JSP file)? I have the page and WPC taglibs available, and of course the request object.
    Thanks,
    Terje Bjørgum

    It's all in the DOCTYPE declaration that  you see in a typical HTML page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    SAP/WPC usually don't have this properly placed or is missing from any of the pages you create. Once you publish the page you created, view its source by right-click -> view source on the browser. You may be surprised that the DOCTYPE declaration is not there at all and the DOCTYPE declaration tells the browser how to render the page along with the CSS that you may have.

  • Use URL Parameters in WPC Pages

    Hi all,
    Is there anyway to pass url parameters when calling a wpc page? We would like to call a wpc page and pass a URL a parameter that would then be accessible to each individual component within the wpc page. Also, how can we read the url parameter in the XSLT for the component webforms? Any help would be appreciated.
    Thanks and Regards,
    Shibendra

    That would come within flex.
    In my case, there is a SAP CRM web application which has a push button. On click of this button, flex URL is called(ie., http://172.22.41.154/MH_Bluebook_Integration2.html). On click of that button I need to pass an Object ID, which is passed withing that flex URL, something like this:
    http://172.22.41.154/MH_Bluebook_Integration2.html?objID=abcd
    I need to receive 'abcd' in the flex. Any way we could modify the HTML wrapper to send this value to swf? 

  • How to assign possible agents at security role / CAG level?

    Hi Experts, How to assign possible agents at security role / CAG level?

    Yes, that's exactly what I'm talking about. In your task maintenance, goto additional data -> agent assignment -> Maintain
    Click on th task, click on the assign button. Choose object type 'Role', enter role.
    Cheers,
    Mike

  • Field "Location of Linked Object" missing after adding a page to a role

    I am using EP5 (5.06.01.00). After adding a page to a role, the properties of the page in the role no longer include the field "Location of Linked Object". The properties now only consist of two fields: "Name" and "Location". They used to contain a third field "Location of Linked Object", in fact, in older roles the page properties still contain this field. However, when I now add pages to a role or workset, this third property field "Location of Linked Object" is not there. - I am adding the page by clicking the "Add" button to move a page from the "View" area to the role in the "Edit" area. - I have been observing this symptom for several months, but I can not identify any configuration changes or upgrades which would have caused this behavior.
    All hints will be greatly appreciated.
    Thank you
    Message was edited by: Carsten Mund

    I am using EP5 (5.06.01.00). After adding a page to a role, the properties of the page in the role no longer include the field "Location of Linked Object". The properties now only consist of two fields: "Name" and "Location". They used to contain a third field "Location of Linked Object", in fact, in older roles the page properties still contain this field. However, when I now add pages to a role or workset, this third property field "Location of Linked Object" is not there. - I am adding the page by clicking the "Add" button to move a page from the "View" area to the role in the "Edit" area. - I have been observing this symptom for several months, but I can not identify any configuration changes or upgrades which would have caused this behavior.
    All hints will be greatly appreciated.
    Thank you
    Message was edited by: Carsten Mund

  • Which authorizations are required for assigning a query to a role?

    Hi everybody,
    we try to set up some roles for "reporting power users". These guys should be alble to define new queries using BEx (works fine) and also should be able to assign these new defined queries to a role, so other users can use these roles.
    The idea is simple, but we're searching for the right authorization object (or - as i suppose - set of authorization objects) that enables the user to assign a query to a role (using that "enter to a role" button in the open / save dialog).
    At the moment, the user can user that button, and the role, he should the query assigned to is shown. After selecting the role and clicking button "create" it take some seconds and a message "error when saving. entry has not been created" is shown.
    Obviously, there is a problem with writing the role (or adding the new information to that role).
    So, could anyone help me and provide me with a list of authorization objects that are required.
    Thanks in advance,
      Alfred

    S_RFC
    S_TCODE
    S_USER_GRP
    S_BDS_D
    S_OD_SEND
    S_RS_AUTH
    S_RS_BCS
    S_RS_COMP
    S_RS_COMP1
    S_RS_FOLD
    S_RS_ICUBE
    S_RS_MPRO
    The above mentioned authorization objects are enough to add in the role and required for the accessing a query.
    particularly, S_RS_COMP, S_RS_COMP1, S_RS_MPRO, S_RS_ICUBE are the most important auth objects which are directly getting involved in authorization of a query in a role.
    SO, you have to assign the respective info area, info cube and info providers names in these auth objects.
    The same scenario , i am using in my project to give access to the queries in all the areas for my end users.
    The values and access/authorizations restrictions is up to your project requirement.
    Hope this would help you.

Maybe you are looking for