How to use Portal Logoff even?

Hello,
i have a situation, where on click of a button in the webdynpro iView the user have to get logged off from the portal and and the portal default login page should appear.
previously we had done this using exit plug..but after upgradation to 2004s its no more valid.
so we tried with portal navigation using url iView.. I have created a url iView and inside that have given the url as "http://<<server>>/portglobal/web/logoff.jsp"
and has used this code :
String str = "ROLES://portal_content/<<remainging path>>;
WDPortalNavigation.navigateAbsolute(
str, WDPortalNavigationMode.SHOW_INPLACE, (String) null,  (String) null,  WDPortalNavigationHistoryMode.NO_DUPLICATIONS, (String) null,
  (String) null,null);
but its not navigating. its still in the same window.
when i did show in different window its saying iView not found. but the path is correct.
can you suggest me any thing on this?

use below code:
com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);
Raja T
Message was edited by:
        Armin Reichert

Similar Messages

  • How to use portal navigation context

    Hi,
    I have 4 roles in the portal.
    Out of these, one role name is invisible but iview in that role is visible on left side above detailed navigation.
    It is a URL iview, which contains link of another web dynpro iview A . (This path is set through navigateAbsolute).
    Now the problem I am facing is, if I am in any of the other three roles, accessing some application B  in the detailed navigation of that role, and after that if I click on the web dynpro iview A’s link in URL iview, though this application opens up in the content area, but still B remains highlighted. I want that the moment A link is clicked, that application should open up and at the same time role highlighted should be Home.
    While doing R&D, I came across navigation target and context target. Navigation target is the path of application you want to open and context target is the path which can be set some other value which will then be highlighted. 
    But I am not getting how to use it. I tried different ways, but not able to figure out.
    Can anyone please help in this regard.
    Thanks & regards,
    Anupreet

    Hi,
    Thats a good idea. I have a Button Click Event, and on Action of it, I am doing a set of operation based on some condition and at the end of the operation i need to redirect to the logoff.jsp
    <b>The LinkToURL in place of Button is not allowed</b>.The requirment is to have the button compulsory and i need to do those set of operation onclick of that button.
    <b>Still i can use LinkToURL as a hidden element and can call the logoff.jsp and the end of the above operations on click of that button. Is it possible to achive that...</b>Please share your thoughts.
    Appreciate your help.
    Thanks and Regards,
    Sekar

  • How to use Portal Navigation to redirect to the URL

    Hi ,
    I have a requirement where i need to log off the user which will invalidate the session and redirect the user to the Portal Login Page.
    <b>The logoff.jsp is in a path like /web/logoff.jsp in the server.</b>
    As there is a Problem with exit plug, I should use Portal Navigation (WDPortalNavigation API) to redirect to the log off page.
    <b>Please let me know how to call the above JSP using WDPortalNavigation.</b>
    Thanks and Regards,
    Sekar

    Hi,
    Thats a good idea. I have a Button Click Event, and on Action of it, I am doing a set of operation based on some condition and at the end of the operation i need to redirect to the logoff.jsp
    <b>The LinkToURL in place of Button is not allowed</b>.The requirment is to have the button compulsory and i need to do those set of operation onclick of that button.
    <b>Still i can use LinkToURL as a hidden element and can call the logoff.jsp and the end of the above operations on click of that button. Is it possible to achive that...</b>Please share your thoughts.
    Appreciate your help.
    Thanks and Regards,
    Sekar

  • How to use Portal SSO with existing BSP application

    Hi all,
    we run SAP EP 6.0 here and have a single start BSP page of
    an application integrated with the SAP appintegrator for BSP. The rest of the existing BSP application still uses
    the login functionality based on CL_BSP_LOGIN_APPLICATION
    and is not integrated in the portal.
    Problem: If a user directly accesses one of the "old" BSP pages, he should be redirected to the portal to auth. him via SSO and afterwards the original BSP page with all its parameters should be processed.
    How to deal with that? Is there a similar mechanism like with the BSP_LOGIN_APP in between for the SAP EP?
    Thanks for your help!
    -RAINER-

    I think that doesnt solve the problem.
    I have 2 systems: SAP ECC with all BSPs and the portal on another system. So I have to entry points: Via portal using the appIntegrator BSP or directly to the ECC.
    As-is: If the auth. for the BSP appl. fails, the user is re-directed via the error page given in the service (SICF)
    to a BSP login app. and from there to the requested page.
    No portal in this concept.
    Must-be: A user is still able to directly access a BSP on the SAP ECC by entering the URL in the browser. It's not a must entering via the portal first.
    So when the login failed on the ECC (no SSO ticket), he should be redirected to the portal for getting his SSO.
    After he signed in successfully the user will be forwarded to the BSP page he entered in the browser the first place.
    I can't see a way to use the URL iView. I am thinking of simply changing the login mechanism of the BSP using the portal login functionality.
    The link you gave me offers an implementation of CL_ICF_SYSTEM_LOGIN. Any ideas?
    Regards,
    -RAINER-

  • How to use AcroPDF.dll even if addon is deactivated in InternetExplorer

    Hello,
    hopefully someone can help me with my problem:
    I need to instantiate AcroPDF.dll and have it deactivated at the same time in InternetExplorers Addon-settings.
    But when I deactive the addon in IE, CreateObject("AcroPDF.PDF.1") throws an error that the instance could not be created, but the dll is still registered.
    How does this deactivation work technically? Is there any way to use the dll in other applications regardless of the IE-settings?
    Best regards and thanks in advance,
      Thomas

    For programming issues you should use the forum for Acrobat SDK.

  • Using portal security with reports

    Can anyone let me know how to use portal for security in reports? Any documents where I can find the info.? Pls. help!!

    Check this link
    http://download-uk.oracle.com/docs/html/B10314_01/pbr_sec_arch.htm#1004903
    HTH
    Vinayak

  • How To use APEX logout inside the Portal

    I am not using APEX at the moment, but I would like to use it. At the moment the only thing I want out of APEX is to give me the ability to log out (users) completely from the portal ( all sessions killed, cleared cookies etc, such that user after logging out of portal even if he tries to copy and paste URL ( of the portal page) can not log back in to the portal (of course on the same browser), rather gets redirected to SSO login page, where once again he is challenged for his credentials.
    Based on the little knowledge that I have about APEX. Can I achieve this in the portal. I have developed current portal using Portal Builder (IDE), using OID(LDAP) method of accomplishing SSO. I understand APEX is also another
    web based IDE, uses it's own way of implementing SSO. Will there be any difference between portal users and APEX users?
    My questions are:
    1. Do I have to rewrite the portal page for users, if I use APEX?
    2. If I leave my portal page the way it is, How can I accomplish users logging out?
    3. Does the login also have to be done by APEX, if I choose to do logout by APEX?
    4. How can I integrate APEX with existing portal page? I am not writing any APEX web applications. Just wanna use it for logging out.
    HAPPY NEW YEAR (2007) to all of the Portal, APEX gurus.
    I greatly appreciate your help.
    Very Best Regards,
    -Dhiren.

    No ideas regarding this topic?

  • How to use the CMS functionality in Sun Portal Server 7.2

    Hi All,
    How to use the CMS functionality using the ccd.war(Portlet) which is available in the library as i could add it to my channel but not able to show the functionality as it is showing the error msg "You are currently not logged in. Please login." should I create userid and there respective roles inorder to use the CMS functionality.
    Has any one used this as I could this in glass fish server.
    Any Input is appreciated.
    Thanks & regards
    Srikanth

    Have a look at the "*Roles*" section of the portal server 7.2 content management system guide
    http://docs.sun.com/source/820-4275/index.html . You can also look at [project mirage|https://mirage.dev.java.net] for some screencasts
    Alternatively,
    1. ccd.war has 3 portlets in it:
    (a) custom content definition portlet
    (b) custom content portlet
    (c) workflow portlet
    2. Inorder to work with these portlets, user needs to be in anyone of the below roles:
    (a)Consumer (b) Editor (c) Approver (d) Administrator (e) Submitter (f) Contributor (g) Publisher
    3. By default ccd.war gets deployed using a default roles file (/var/opt/SUNWportal/tmp/ccd.roles.properties)
    Note: In windows, you may not find this file
    4. Access the portlets as a user in any of the role mentioned in the ccd.roles.properties
    (OR)
    you can use a new roles file which has mapping to your custom roles. For this , undeploy existing ccd.war and deploy again with a new roles.properties file
    Hope this helps!

  • How to use a portal jdbc system to delete or insert by IExecution.execute

    hi everyone:
    I create a jdbc system in portal. Then I use following codes to query a table
    IQuery query = client.newQuery();
    query.execute("SELECT * FROM [Categories]");
    It is fine.
    Now, I wanna do insert or delete operation. I can't use the IQuery object. I think it is only for query and it is Deprecated. I find there is a method: IExecution.execute(IOperation). But I don't know how to use that method. Can I insert/delete records using that method? The last question is how to control the sql transaction by that IExecution object.
    thanks
    elliot

    Hi,
    I followed the interface framework to complete a query.
    The code is shown under
    How to Modify DB Records Using JDBC Connector FrameWork
    But I got this exception and I don't know how to go further:
    com.sapportals.connector.execution.ExecutionException: Exception during execution of SQL statement at com.sapportals.jdbcconnector.execution.objects.JDBCExecution.execute(JDBCExecution.java:118) at iview.Simple.doContent(Simple.java:43) 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

  • How to use TREX in Netweaver Portals

    Hi,
    I am new to TREX and i installed TREX 7.0 with Netweaver 2004's java edition and performed Post Configuration for Java client HTTP settings.
    Now i am unable how to use TREX in Portals for searching the documents in KM.
    Can any one help me how to use the TREX for searching the documents in Km if possible plz attach the screen shots.
    ADV Thanks
    Regds
    Phani

    Hi Phani,
    You can test your TREX server by executing the following step:
    Log on to your TREX server and open up the TREX console which you can find in the TREX program folder. Normally you are now inside the python_support folder.
    Execute the following script by typing: "python runInstallationText.py" and hit Enter.
    The script carries out the following tests:
    &#9679; Deleting any test indexes that were generated for a previous script run
    &#9679; Creating a test index
    &#9679; Indexing documents
    &#9679; Testing search functions
    &#9679; Exact, error-tolerant (fuzzy), and linguistic searches
    &#9679; Search using Boolean operators such as AND and OR
    The results are displayed at the end of the script run. You see the tested calls and their statuses (OK or Failed).
    When you run the script for the first time, the call “Delete Index” has the status Failed. This is because there was no existing text index to be deleted. If this is the only cell with the status Failed, the test was successful.
    Below you will see the final output generated by the test script. As stated near the bottom of this screenshot our TREX is running very well or not if there is a problem.
    Best regards,
    Tom.
    PS. Don't forget to reward helpfull answers

  • How to configure mail using portal collaboration

    hi Guys..,
    pls tel me
    how to configure mail using portal collaboration and its uses..
    thanks
    regards
    kamal

    Hi,
    Two Configure Email, first
    You have to create a System for Groupware through System Administration ->System Configuration -> system LandScape
    Then create a Groupwaretransport
    implement SSO between your Mail server and your EP...
    and finally
    Create a Mail service...
    More Info is available at below link..
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/6a469702474146a8ef2f97fe880b2f/frameset.htm
    and have a look at the thread raised by be on Calender Configuration...
    Collaboration calendar : No transport has been configured for the calendar
    Regards,
    Srinivas

  • Allways freezout this new version. Minimum 6-10 times a day, than all the time I will restart than I get back How to use Fire fox! Even I don't need this, I just want to see my stuff on internet! How that can be happen?

    Probably other people have a same problem since the new version updated. So much times in a day just freezout Firefox and than I have to restart. Even doesn't matter how much page I have opened. Sometimes 4-6 somtimes 10-12, but come on this is the NEW FAST AND GREAT version that's shouldn't be a problem for this! Than if I stop to send this firefox and restart again, I everytime waiting so long 2-4 minute 'cause allways re open this new tab with How to use new firefox... or something else! I don't want to learn anymore! I just want to have one firefox wich can be working day by day without problems and I can use my favorit plug ins and I don't mind anymore how I can use this newest version! Please don't change every month than we have a lot of problems! First waiting for the REALLY GOOD VERSION WICH DON'T HAVE ANY PROBLEM AND JUST THAN UP DATE FOR US!!!

    A warm welcome to Apple discussions!
    A 2003 iMac cannot support Snow Leopard 10.6; you'd need an Intel processor and that cannot be retrofitted to your Mac. What does "About this Mac" in your Apple menu say  for your processor speed? What does it say about how much RAM you have?
    If the processor is 1ghz or faster, you can run OS 10.5; otherwise, you are maxed out at 10.4.11.
    Also, are you running any commercial ("pay for") anti-virus or security software? They are notorious for slowing most Macs to a fraction of their speed potential.
    A too-full hard drive can drag down performance, especially if you don't have a lot of physical RAM installed. If you single-click your hard drive icon and then do command i, you'll see the disk usage. Looks like this:
    The value for "Used" should be no more than about 90 percent of "Capacity." In the example image, that drive has about 34 percent of its space used and 66 percent free--more than enough. Please post what you see for your Capacity and Used numbers
    There are a few more things we might check but this is a good start.
    Awaiting your information,
    Allan

  • How to use the Portal Connection Service in a standard J2EE application

    Hi,
    We want to use portal connection service to connection backgend system from a standard j2ee application.
    But the connection need a connectionProperties object which is created in this way:
    ConnectionProperties connectionProperties =
    new ConnectionProperties(
    request.getLocale(),
    request.getUser());
    Because the "request" object is IPortalComponentRequest object, which is a portal object. In our standard application, we can use this way.
    So how?
    Thanks and Best Regards,
    Xiaoming Yang

    Does anybody has any idea? Many thanks and points will definitely be awarded.
    Best Regards,
    Xiaoming

  • How to use a Webservice (deployableproxy) within a portal component?

    hi,
    i need to know how to use a webservice using a deployable proxy within a portal component?
    i've created the proxies and they work (with servlets).
    i know how to use them in servletes (context lookup, jndi mapping, application references) but i cant find a way to use them in a portal component.. tried the context lookup way but cant figure out which jndi mapping to use.
    any help?
    thanks in advance,
    constantin

    i've found this document:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cb2e29578c0262e10000000a11466f/frameset.htm
    but it doesn't help...
    i should add a privatesharing resource...
    <property name="PrivateSharingReference" value="SAPJ2EE::rh21.de/pca~wsproxy"/>
    which works
    this is my code
    public void doContent(IPortalComponentRequest request,IPortalComponentResponse response) {
       try {
         Context context = new InitialContext();
         WSPhonebook obj = (WSPhonebook) context.lookup("/wsclients/proxies/rh21.de/pca~wsproxy/de.rh21.wsproxy.phonebook.WSPhonebook");
         WSPhonebookViDocument phonebook = (WSPhonebookViDocument) obj.getLogicalPort("Config1Port_Document", WSPhonebookViDocument.class);
    } catch.....
    now the lookup works (i guess, no messages about that anymore), but i catch ClassNotDefFoundError-Exceptions, but the classes are there, i can strg+click them in the editor, they are in the used dc's etc.
    any help? its quite uurgent :/

  • How to use UI elements in abstract portal component

    hi all
    i am new to portal development..i want to use different UI elements such as textbox,buttons using abstract portal component.can anyone telme how to use them.

    Yes Asusha
    You can use JSP , JSPDyn pages in Abstract portal component.
    You can call a Jsp file from the abstract portal component.
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         com.sapportals.portal.prt.resource.IResource somePage =          
                   request.getResource("jsp", "pagelet/test.jsp");
                   response.include(request, somePage);
    Then you can made your desired UI in JSP.
    Hope this helps..
    Cheers
    Chinmaya
    Reward for helpful answers

Maybe you are looking for

  • IPod wont work with iMac but works in Vista

    I have an 80GB iPod Classic that works perfect on my computer running Windows Vista and iTunes 7. I have only ever used it with iTunes. My iPod's format is FAT32 (Windows). And it's running software Version 1.1.2 and disk use is enabled. When i try a

  • Oracle (R) Enterprise Manager Console Version 9.2.0.1.0 Error?

    Hi I just took over from someone the role of a DBA and I would like to clarify an issue I saw in Oracle (R) Enterprise Manager Console Version 9.2.0.1.0 Production. My Default Temporary Tablespace, TEMP.DBF is currently sized at 6144 MB, Used size is

  • Is there any way to sync essbase heirarchy to MDM ?

    Hi Gurus, Is there any way to Sync essbase heirarchy to MDM ? I want to put essbase outline to MDM...the need is not to create a new heirarchy in MDM and use existing heirarchy/ outline from Essbase ..

  • An unknown error occured (-50).

    A movie I purchased stops downloading almost immediately and the error message above comes up.  The rest of iTunes works properly and my internet connection is fine.  I was downloading numerous TV episodes before and during while this movie was in th

  • Don't try to do screen capture in Time Machine window...

    Was going to show off Time Machine to my brother by taking screen capture. Brought up Time Machine, pressed standard "Command-Shift-Number 4" key combo. Ouch... Time Machine screen became 'frozen in time'. Many key presses and 'strong words' later it