Getting portal userid in VC iview

Hi all,
I want to get portal userid in my VC application. Can someone please guide me how to do that.
Regards

Hi Siddharth,
In VC 6.0 it is not possible.
Actually, you have a "User Data" element (look at the "Compose" task pane).
This element can be used to retrieve all sorts of user specific data - anything provided by the portal runtime.
This data can then be used in dynamic expressions.
The user data functionality that is mentioned above is only available with the new version of VC which is currently in Pilot phase. this version is going on ramp up with SP7 of NW04s.
Hope this helps,
Deep.

Similar Messages

  • Resources not getting displayed in Resource Planning iView

    Hi,
    We are working in CRM 5.0. We have assigned the iview for Resource Planning for a Portal Role. The iView is also opening correctly.
    The Problem is that when we give a Particular Service Org Unit (Technicians Group) in Advanced Search, none of the Resources are getting displayed in the Gantt Chart and also no service order items are getting displayed.
    The same thing is working fine in GUI. All related WFM settings and resource creation report have been done.
    Please help.
    Regards,
    J.Prabananth

    Hi Prabananth,
    I am also trying to access Resource Planning iView from CRM through EP
    Workforce Management> Resource Planning
    While accessing the iView I am getting the following error
    The Application WFDS_RPA is Invalid.
    I have checked on the SICF transaction for the following BSP application
    WFDS_RPA.
    But I could not found one on the list.
    I have also checked the CRM BSP Application List. But It is not available there.
    tHAT'S WHY i AM GETTING THE ERROR.
    How can I check and get this BSP application ?
    Need ur help.
    Thanks and warm regards
    Purnendu

  • How to get SSO userid to URL-based app?

    I'm developing a web-app using Struts that will be accessed by Portal (I guess as a URL-based app). The web-app will not require login. The web-app will not be Portal "aware", except that it requires the SSO userid for auditing/logging purposes.
    I know little about Portal and SSO. How can Portal be configured to send the Portal userid of the logged-in Portal user? Can it send it as a parameter in a GET or POST?
    The version of Portal will be 9.0.2 (or greater).

    This topic is answered in the PDK forum here:
    How to get SSO userid to URL-based app?

  • How to get the URL of an iView using AbstractPortalComponent

    Hi All,
    I need to get the URL of an iView using AbstractPortalComponent using the following code.
    But i am unable to open the URL from the Browser
    This is the following code snippet
    public class AbsClass extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    IPortalComponentURI componentURI = request.createPortalComponentURI();
    componentURI.setContextName("pcd:portal_content/LOG_Viewer/LogViewer");
    String URI=componentURI.toString();
    response.write(URI);
    The output i got from the browser is:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
    Actual Path: pcd:portal_content/LOG_Viewer/LogViewer
    Output Path: /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
    Why some extra numerics are embeded in the output path when compare with the Actual Path.
    Can any one send me the modified code and your suggestions, how to achieve this problem.
    Regards
    Phani

    Hi,
    Now i need to get the URL of this component.
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentURI componentURI = request.createPortalComponentURi();
    componentURI.setContextName("com.sap.portal.appintegrator.sap.bwc.Transaction");
    String URI=componentURI.toString();
    response.write(URI);
    I export this component into Portal and i tested with an iView based on this par file, i got the URL in the Preview.
    But when i tried to run this URL by adding the http://<IPADDRESS>:<PORTNO>+URL
    I am facing one AccessDenied Exception for this Object. ( USER/GUEST)
    Is there any security zone, or other Permissions Problem, if so can you plz guide me what are the settings i have to change inorder to resolve this exception
    Regards
    Phani

  • Push MDM search results from webdynpro to portal's standard ResultSet iView

    Hi,
    I have gone thru a lot of SDN information, blogs and PDFs
    regarding the usage of EPCF, EPCM for communication between
    Webdynpro and Portal utlizing portal eventing phenomenon.
         My requirement a.k.a. predicament and grief::
    I get back mdm search results in webdynpro app, using a
    specialized search strategy to MDM repository. I need to
    ship these resuls off to the standard out-of-box
    portal's MDM ResultSet iView (which is a part of portal's
    MDM business package).
    I haven't had much success getting crisp resolution to
    satisfy my requirements. In my WD code, I know,  I need
    to put some sort of ?event-generating-2-liner-code? that
    sends my results to portal's standard iView.  
    Surely, I can send just recordIDs or I can send the actual
    results. I get 5 fields per record of Material's table.
    Once the ResultSet-iView displays the search results,
    my responsibility is over. Now onwards, portal's standard
    business package will take over from there for further user
    interacitons, like accessing item details etc..etc..
    Any and all help is highly appreciated.
    -Shashank Date

    No replies............yet.....It's been 2 days now.....
    Can someone provide some clues?
    thx.
    -Shashank Date

  • Getting portal runtime error when cancel button is pressed

    Dear team,
              When i am trying to reset password, in that screen when i press cancel, i am getting portal runtime error . Actually when i press that button it should come to the intial login screen but now it is coming to the initial login screen but getting runtime error and also the images on that login screen are not being displayed. All the images are displayed as cross marks. When i press change password, its working fine and its logging into the portal .
    Please provide me some solution.
    Regards,
    Dinesh.

    Dear Prashant,
    Sorry for my delay... please find the Error Log below.
    Full Message Text
    03:30_12/04/11_0465_8587550
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: portalapps.default
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:222)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 

  • How to get Portal User Context  in Web Dynpro application

    I have successfully integrate a web dynpro app into SAP Netweaver Portal.
    Within my web dynpro app, how can I get portal user context information such as first name, last name, job title or some newly created ume attibutes.
    Is there any programmatical approach to get portal user context in my web dynpro. I not sure whether I can use the following codes in web dynpro?
    IUserContext userContext = request.getUser();
    String firstName = userContext.getFirstName();
    String lastName = userContext.getLastName();
    If yes, can someone point me the name of the jar file I have to import.
    Note : The SAP Netweaver installation that runs my web dynpro app is same with the SAP Portal.

    Hi ,
    you can use the below code to get User details and  add com.sap.security_2.0.0 > lib > com.sap.security.api.jar
    try
              IWDClientUser clientUser = WDClientUser.getCurrentUser();
    String firstName = clientUser.getFirstName();
    String lastname = clientUser.getLastName();
    catch (WDUMException e) {
                wdComponentAPI.getMessageManager().reportException("Error Retrieving User"+e.toString(),true);
    Regards,
    Sunitha Hari

  • Getting Portal Runtime Error while accessing one link in Portal Page.

    Hi,
    Can anyone tell why I am getting below error while accessing one of the portal page link:
    " Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 01:19_27/02/09_0046_16441150
    Refer to the log file for details about this exception. "
    Also please let me know how to get rid of this if possible.
    Thanks in Advance
    Vaibhav Srivastava

    Thank you for your prompt reply.
    Could you please elaborate the same.
    I am getting Portal runtime error while I am acessing an iveiw in E-recruiting. We have setup the role and user in both portal and Backend. But still the error. Could you pls send me the setting you have done.
    Portal runtime ERROR
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 02:27_27/04/09_0042_113148050
    Refer to the log file for details about this exception.
    regards
    Justin

  • Getting portal runtime error in MSS

    Hi guys ,
      I am getting portal runtime error in mss in Team, Budget ,headcount
    the error is saying about some jmx authorizations .....
    what to do in this case..
    please help me ..
    thanks in advance

    11:22_06/10/11_0048_2907850
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bw/BEx?sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;style_sheet=&lt;LAF.StylesheetUrl[url_ENCODE]&gt;&amp;&lt;TrayInformation[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;Report&gt;&amp;&lt;BusinessParameters&gt;&#39;; the problem occured at position 82. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • WD Portal Eventing - Reload wd-iView depending on second wd-iView

    Hi all,
    I have got the task to implement the following:
    Two different wd-iViewsv(a and b) are embedded in the portal. If the iView a is loaded (reloaded), the iView b should be reloaded too.
    Does anybody know, how to solve this problem?
    Thank you in advance!
    Best regards, Patrick.

    Hi,
       Go through <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/3857422d095542e10000000a1550b0/frameset.htm">this</a>.
    Regards,
    Satyajit.

  • Get portal users

    Hi,
    We are developing an abap program that need to get a list of sap portal users. With the configuration we
    have on our sap portal, the portal users aren't the same as R/3 users, therefore, portal users are independent of sap R/3 users.
    Another option would be to get portal users from sap portal. It is possible?
    Thank you very much.
    Marc

    Hi,
    I think it would be easier to create a portal web service (you have all the API and the data at hand) and use it as a data source for Visual Composer. See this link for more info:
    [Consuming Web Services Using Visual Composer|Consuming Web Services Using Visual Composer]
    Hope that helps,
    Romano

  • Open Webpage in portal as java webdynpro iView

    Hi Experts,
    I am trying to find the way to open Webpage in portal as webdynpro iView. Do any one know how to do this using webDynpro programming. I promise to award point for the answers. Please help.
    Thank you && Regards
    Maruti CR

    Hi,
       You have 2 options:
    1. Create an URL iview and on evaluation of the condition in WD fire a portal navigation to this iview. This would also mean that the URL needs to be static.
    2. You can use the suspend-resume mechanism in WD. You can find more information [here|http://help.sap.com/saphelp_nwce10/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm].
    Regards,
    Satyajit.

  • Get Portal Session ID?

    Hi,
    Is it possible to get the portal session id for the logged on user when the WDA is executed from Portal? If it is not possible to get Portal session id then is there any other unique value that we can get from currently opened Portal session for each logged on user to this WDA?
    Thanks and Regards,
    Shrini
    Edited by: Shrinivas Gadde on Oct 8, 2009 3:04 PM

    Hi,
    Refer this link : How to get all session id  or one session id ?.
    Answer by Thomas.

  • SRDEMO ??? error occurred while getting property "userId" from an instance

    Error
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    Hello,
    Can you please guide to correct the above error. Thanks a lot.
    DShah

    Hi,
    I got the answer to my question. The tables were not populated. So I ran the script - populateSchemaTables.sql, and got the data into the tables. The error is gone!
    Lin

  • An error occurred while getting property "userId" from an instance of class

    Running application SRDemo (Tutorial Chapter 6 Implementing Login Security)
    After logging, the List page popped up. But no data returned. Get Error
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo.
    Questions:
    1. What are possible reasons to cause the getting property "userId" problem?[
    2. Why the Login page asked User Name and Password and the program used the query with "WHERE (EMAIL = 'sking')"
    The Log file shows the select statement:
    SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Info]: 2006.11.08 11:07:09.468--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SRDemoSession login successful
    [TopLink Finer]: 2006.11.08 11:07:09.468--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Fine]: 2006.11.08 11:07:09.500--ServerSession(1235)--Connection(1925)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Finer]: 2006.11.08 11:07:09.578--ClientSession(2021)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client released
    [TopLink Finer]: 2006.11.08 11:07:09.625--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Fine]: 2006.11.08 11:07:09.625--ServerSession(1235)--Connection(1922)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Finer]: 2006.11.08 11:07:09.625--ClientSession(2027)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client released
    2006-11-08 11:07:09.640 WARNING JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:09.640 WARNING JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:09.640 WARNING javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:11.515 WARNING rowIterator is null
    2006-11-08 11:07:11.515 WARNING rowIterator is null
    Process exited.

    Hi,
    I got the answer to my question. The tables were not populated. So I ran the script - populateSchemaTables.sql, and got the data into the tables. The error is gone!
    Lin

Maybe you are looking for

  • External hard drive not showing in finder or disk utility

    1TB WD external hard drive is not showing in finder sidebar, destop, or disk utility. I have checked and all the preferences are ticked. The disk itself is showing a light and making a whirring sound during start up after being plugged into the power

  • RECN: Conditions Tab: Header data for second section not appearing

    Hello, Need your kind advise please. I have entered a contract successfully. The contract type is Pay:Rates Payment. The contract has been successfully saved. The problem comes when I am trying to display the contract. Here is what's happening sequen

  • RECV TLSv1 ALERT: fatal, handshake_failure in Java 1.7

    I have two Java applications. Both were originally running Java 1.6. The applications communicate via an HTTPS call. The client is being converted to Java 1.7 while the server is being left at Java 1.6 for now. When the client is run using Java 1.7 i

  • Pr CC Mac: third party audio VST plugs issue

    The GUIs are garbled and useless on my VST plugs from WaveArts.  But, the AU versions work fine. Another bug in Pr CC Mac. Anybody else?

  • PHP3 and Oracle8/8i

    Has anyone that has work'd with Oracle longer than me using PHP3 had any experience with actually designing a package within your database and calling it's functions/procedures rather than doing direct DML calls from your PHP3 pages? I'm currently tr