KM iview and redirect to webdynpro iview

In my workset I have a page with an image (iview 1) and a redirect iview (KM iview).
This redirect iview reads the screen resolution (javascript) and will pass it to a webdynpro application (so Interactive forms or tables are at the right size).
Redirection is done via body onload="redirectMe()")
This redirectMe will add the width and height to the webdynpro application (of course via an iview definition) with DynamicParameter.
The navigation function EPCM.doNavigate is used, but that results in a screen flicker.
What I would like to do is open the wd iview only in the KM iframe. We have anonymous users and logged in users (thus meaning several roles / worksets).
redirecting via:
http://mysapportal/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fthis.is.customer.info!2fmyfolder!2fmyiview!2fpublicaties!2fpublicaties?DynamicParameter=width%3D1024
could be an option (preview mode), but I am not aware of any possible issues with it.

we implemented another solution.

Similar Messages

  • Urgent: how to Logoff and redirect to the login screen from WebDynpro appli

    Hi,
    i want to logoff and redirect to to the login page.
    i use WDClientUser.forceLogoffClientUser([_"what should be the code here"_]);
    If i pass null as the url, it will terminate and default message will be shown (it will not go to logon screen)
    I want to logoff and navigate to customize login page.
    I don't know from which server the request is from dev, Qa or some other system.
    I can use WDClientUser.forceLogoffClientUser("http://dev"); but it doesn't work with QA.
    i will be really appriciate we suggest me regarding this. Its urgent please send for responce ASAP.
    Thanks
    NSM

    Hi,
    use the following code to get the url
    String hostName = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerName();
              int port = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerPort();
              StringBuffer url = new StringBuffer("http://");
              url.append( hostName );
              url.append(":");
              url.append(port);
    WDClientUser.forceLogoffClientUser(url.toString());
    Regards
    Ayyapparaj

  • Portal Logoff and redirect to my own (created) logon page

    Hi experts,
    one Question about "Portal logoff and redirect to another URL", and I know there already are solutions how to fix that, but I was not successfull with my doings.
    I have a customized logon page. When I call "http://myportal:50000/irj/portal/anonymous", I can see my own logon page. That works fine.
    Now to my problem:
    1) I'm using SAP NetWeaver Portal v7.01 (VMWare) with Windows 7 (x64 Bit)
    2) In Config Tool "ume.logoff.redirect.silent" is setted at true and "ume.logoff.redirect.url" (both under "Global settings") at "http://myportal:50000/irj/portal/anonymous". Than WebAS has been restarted.
    3) In source code of the Portal page (Masthead), I could see that the setted values can be readed from config tool
    4) So far I could understand, when the parameters are setted and "silent" is true, than a new iframe will be created which is append to the document (JavaScript: logoffThirdParty())
    5) After this, the logoff form will submitted, that means xxxx.LogOutComponent is running. Think this components reads some hidden attributes as "logon_submit", and one of this should be the (new created) externalIFrame
    Instead of my anonymous page, I see the default SAP logon page. I don't have made any changes on com.sap.portal.navigation.masthead iView (should be the right name I think).
    Thanks for assitance and regards,
    Cengiz
    Edited by: Cengiz Türkoglu on Feb 5, 2010 8:39 PM
    Edited by: Cengiz Türkoglu on Feb 5, 2010 8:39 PM

    Try to set the value ume.logoff.redirect.silent to FALSE and then restart and test. In my situation it worked.
    Regards,
    A

  • Session Time Out and Redirect to login page - urgent

    My problem is I want to display alert message and redirect to the home page when session expires.
    Iam using TimeOutListener in my application as follows.
    public PhaseId getPhaseId() {
    return PhaseId.ANY_PHASE;
    public void beforePhase(PhaseEvent phaseEvent) {
         FacesContext facesContext = phaseEvent.getFacesContext();
    HttpSession sessionx = (HttpSession)facesContext.getExternalContext().getSession(false);
    if(sessionx == null) {
         FacesUtils.sessionCheck = true;
    String ampee = (String)((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getAttribute("ampee");
    if(ampee != null && ampee.equals("ampee")) FacesUtils.sessionCheck = false;
    if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE) {
         if(FacesUtils.sessionCheck){
         facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, "", "sessionExpired" );
         FacesUtils.sessionCheck = false;
    ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
              HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
              HttpSession session = request.getSession();
              if (session.isNew()) {
                   try {
                   String errorPageURL = externalContext.getRequestContextPath() +
                   "/index.jsf?errorpage=true";
                   externalContext.redirect(errorPageURL);
                   }catch(Exception e){
                        e.printStackTrace();
    here i have appended param errorPage=true...
    in jsp page i have used following code to get the param<% if(request.getParameter(errorPage)!=null && request.getParameter(errorPage).equals("true")){%>
    <script>alert("session expired");</script>
    <%
    %>
    Can any one help me how to Implement this?
    Do u know another way pls let me know...

    Consider using the Javascript setTimeout() function in conjunction with HttpSession#getMaxInactiveInterval(). The HttpSession#getMaxInactiveInterval() returns the remaining seconds of the session lifetime.
    Basic example:<script>
        setTimeout("alert('The session will timeout after one minute.')", <%= (session.getMaxInactiveInterval() * 1000) - 60000 %>);
    </script>I've given the client one minute (60000ms) extra time space to respond accordingly.
    Use this in combination with the following head:
    <meta http-equiv="refresh" content="<%= session.getMaxInactiveInterval() %>;url=login.jsf">which will redirect to login.jsf if the session is timed out. You can also redirect to another page of your taste, e.g. error.jsf or so.

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • Pop up and redirect

    Hi,
    How can I implement the following:
    After an order form is completed the user presses the submit button. I have item validations that fire. If the order is valid, I would like to pop up a printer friendly page with confirmation of the order details AND redirect the parent page to another page.
    Any ideas please.
    Thanks
    Sajit

    you could just have your page submit as normal and conditionally pop up the printer-friendly one from the next 'parent' page. one way to do that would be to have the branch from your order page to the next page set the value of REQUEST to something like 'POPCONFIRM'. then when your next page renders have an html region there that renders only when :REQUEST = 'POPCONFIRM'. have that region pop the confirmation page up w/something like...
    <script language="JavaScript" type="text/javascript">
    popupURL('f?p=&APP_ID.:2:&APP_SESSION.::::::YES');
    </script>
    ...assuming, of course, that page 2 is your confirmation page.
    hope this helps,
    raj

  • Firefox randomly does an automatic search for a word I type and redirects to some website. Any ideas why?

    I've been having this problem for awhile now. If I type a word while using firefox (in a form, searching a page for that word/phrase, etc.), Firefox will later (at a seemingly random time) do an automatic search for that word/phrase and redirect me to some site (e.g. if I search a page for 'history', Firefox will at a random time, redirect me to, for example, history.com). I have no idea what might be causing this, and it is really annoying when I'm filling out a form online and Firefox randomly goes to some site, interrupting what I was doing at the time.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Please guide me for user authentication and authorization in WebDynPro App

    Hi,
        I just study the WebDynPro to develop the SAP Portal. I've ever developed the Web-based App using J2EE. So when i developed the Web-based App i have to develop the control of the user authentication and authorization on each page for example ,checking the session of the user whether they can access this page or whether session is expired or not,. So i have no idea with the WebDynPro and the SAP Portal because i never had experience for both WebDynPro and Portal.
    I need to ask you some question to clarify my doubt :
    1. SAP Portal  is web page that include every enterprise application with in one page and user log-in to them just on time, isn't it?
    2. If i integrate WebDynPro with SAP Portal, which one will do the authentication and authorization?. I mean that, Do i have to develop the code to check authentication and authorization in the WebDynPro App or Let the SAP Portal manage them?
    3.Could you please suggest the best practice for authentication and authorization in webDynPro.
    Many Thanks
    Noppong J

    in most case you don't have to write code to deal with session, authentication and authorization.
    1. yes,
    2. no, no code needed. you just set an attribute to your application, which make the the authentication required. when user access this page, portal will display the logon page
    3 you can put some authorization related code in web dynpro for specific requirement, search this doc "Protecting Access to the Web Dynpro Car Rental Application Using UME Permissions"

  • Cookies and redirection

    I'm currently having difficulties with a site I'm working on where we need
    to check if a visitor has got cookies disabled and redirect them to another
    page to ask them to switch these on.
    I've tried using JSP in an include file at the top of every page on the site
    to do this by writing a test cookie and then trying to read it immediately to see
    if the visitor has cookies enabled and then do a response.sendRedirect if they don't.
    Unfortunately, JSP can't seem to write a test cookie and then immediately read it back
    again in the same response.
    To get round this I used Javascript in an include file to do the same thing and then
    tried to do a redirect using location.href = 'cookies.htm' to redirect to the cookies
    information page. This works in IE and Netscape 6 but not Netscape 4.
    Netscape 4 redirects to the cookies.htm page but still continues to process the remainder
    of the page it was originally trying to open and this causes problems.
    I found a workaround to this which was to include a further bit of Javascript at the foot
    of each page for the benefit of Netscape 4 which did a redirect using the same method after
    checking a Javascript variable set at the top of the page if cookies were disabled.
    This is less than ideal because in Netscape 4 the page attempted to be opened displays
    briefly before the redirect at the foot of the page is fired.
    By the way I have to check if cookies are enabled in Netscape 4 by writing a test cookie
    because, unlike IE and NN6, Netscape 4 does not support the property navigator.cookieEnabled.
    Is there a reliable way for IE, NN4 and NN6 using JSP at the top of every page in my site
    to check if someone has cookies disabled, and if so, redirect them to another page ?
    Cheers
    Dave

    Thanks for your reply.
    I did actually do the checks to see if cookies were enabled before the page was loaded and then tried to do a redirect if the visitor had cookies switched off.
    This was done in an include file at the very top of the page which executed the Javascript before anything else on the page.
    As I mentioned this works fine on IE4, IE5, IE6 and Netscape 6.
    But not on the dreaded Netscape 4, which seems to want to render the rest of the page even after a redirect has been done at the very top.
    I'll try your bit of Javascript rather than my location.href = "cookies_error.htm" statement to see if it makes a difference.
    You are quite lucky not to have to handle Netscape 4, it brings with it alot of limitations on what you can do on your site. The worst of which is that it can't handle inline styles so you can't do things like show and hide controls on the page unless you use layers (and that would depend on page layout).

  • How to create artifact and redirect

    HI ,
    I need to implement a use case where there are two Access Manager(7.0) (first named as AM1, other AM2) and an tomcat server. Where AM1 is in some other domain and has trust relationship with AM2. Also AM2 and tomcat are in the same domain.
    Use case:
    When the user is authenticated by 'AM1' I want 'AM1' to create artifact and redirects that artifact to the servlet in tomcat server, This servlet will then send request to AM2 which will send this artifact through SAML request to AM1, AM1 will process the artifact and send SAML assertion through SOAP over https.
    I know this can be implement using SAMLClient API. but I dont want to install jar files on 'AM1'.
    Is there any other way ? If its just a configuration issue please give me the details. I tried following Access Manager documentation and was able to created artifact using SAMLAwareservlet but it fails before redirecting to my servlet.
    Following is the Message I get
    "Failed to Create SSO token"
    Please help,
    Thanks

    It all depends on the current settings of the current SSID.
    You cannot configure a web redirect with another security than none or a pre-shared key on layer2.
    If you are using 802.1x, you can go with the splash page : http://www.cisco.com/en/US/partner/products/ps6366/products_configuration_example09186a0080956185.shtml
    I don't see another friendly method for your users ...
    Nicolas.
    ===
    Don't forget to rate answers that you find useful

  • Does Numbers support Excel functions CELL, SUBSTITUTE, and REDIRECT?

    Been trying to find the list of Excel-compatible functions but did not succeed. I would like to use Numbers to edit my Excel files in iPad. I often generate reports by pulling data out from a seperate sheet using Excel functions like CELL, SUBSTITUTE, and REDIRECT. I have not purchased Numbers yet, that is why I would like to know where I find the complete list of Excel-compatible functions or at least know if Numbers support these functions.  Thank you in advance.

    Numbers does support the function substitute()
    I did not see the functions cell() and redirect() in the function browser.
    There is afree function reference here:
    iWork '09 Formulas and Functions User Guide
    which you can use

  • Process for chek-in and check-out  webdynpro app in DTR

    Hi gurus,
    Please let me know the process for how to check in and check out webdynpro application in DTR.
    thanks ,
    Lohi.

    Hi Lohi,
    When you are connected ot DTR and trying to change WD component from there you will be asked about whether you need to add changed files to activity. Don`t add any generated files to activities (from bin nad gen_* folders). To check out, go to development infrastrucutre view, select activity, specify name, review it, check out, activate.
    Best regards, Maksim Rashchynski.

  • Programmatically logging out of Office 365 and redirection

    Hi there :
    I am developing some HTML/JS based apps on SharePoint online. It works perfect.
    However recently I got a requirement, which I am not sure how to achieve.
    I have got a HTML/JS form by which users submit data to SharePoint by clicking a button. However after clicking a button, the requirement is to prompt the user again for Office 365 log in/credential and then after successful authentication redirect to a particular
    page. I am giving an example below.
    Suppose I am on a page https://<domainname>.sharepoint.com/Pages/form.aspx. There is a submit button on that page. When I hit the submit button, I need to prompt the user again for Office 365 log in/credential and redirect back to https://<domainname>.sharepoint.com/Pages/form.aspx.
    I can only use JavaScript here as it is a client side based app. Basically I reckon it involves logging the user out and then redirecting to the required page.
    Any help will be much appreciated.
    Thanks and regards,
    DM

    Hi there :
    I am still waiting for some direction on this.
    This is mainly to comply with 21 CFR Part 11 of Life Science industry and Office 365 is a preferred platform for that.
    Any help will be much appreciated.
    Cheers!

  • Advantages and Disadvantages of webdynpro JAVA over J2ee?

    Hi,
       Can anybody provide me the advantages and disadvantages of webdynpro java over the J2EE?
    Regards,
    Harish.

    Hi,
    Webdynpro is the SAP standard technology for developing business user intrefaces.
    Webdynpro is like the frame work which follows the MVC Design pattern.
    Webdynpro uses most of the UI developement as declarative approach , i.e. most of the code will generated by the framework. so it will reduce the developement efforts.
    Adaptive RFC model to connect with SAP systems.
    All these are advantages over than the J2ee.
    Regards,
    Naga

  • Challenge Question Detection and Redirection

    After installing OIM 11g, users are not automatically redirected to set challenge questions on first login. None of the users have challenge questions set and, as I understand it, OIM should detect this and redirect the user to the set challenge page before proceeding.
    Where can I assure this check is set and/or modify it?

    I didn't run the SQL, but here is the server.out error:
    <Mar 28, 2012 11:15:52 AM CDT> <Error> <oracle.adfinternal.controller.state.SessionBasedScopeMap> <ADFC-62004> <ADFc: Scope object serialization failed (object not serializable), scope='pageFlowScope[taskflows/forgotpassword/ForgotPassword-taskflow.xml#ForgotPassword-taskflow]', objectKey='challengeQuestionsBean', objectType='oracle.iam.forgotpasswordtaskflow.backing.taskflows.ChallengeQuestionsDisplayBean'.>
    <Mar 28, 2012 11:15:52 AM CDT> <Error> <oracle.adfinternal.controller.state.SessionBasedScopeMap> <BEA-000000> <
    java.io.NotSerializableException: javax.security.auth.login.LoginContext
    at java. ...
    OIM is seeing that questions are not set.

Maybe you are looking for

  • Can't see images in any browser

    I cannot see any image in any browser if I use a testing server. I know the server is configured correctly. This site has been working fine for the last two months, and now since I tried to install net web developer express edition 5, the site has be

  • How to set time zone for a session in Client Only installation

    Environment: OS : Unix (HP-UX 11.0) Oracle DB : Ver 8.0.5 Developer : Ver 1.6 ( Client only Installation) Developer also on Unix. RDBMS and Developer Installed on different home directories. Our development is Forms 4.5 on X windows. Runtime is forms

  • Access to file on local filesystem

    Hello, I have a JSP that renders dynamic HTML page. I have few .xls files on the file system (on same server where WL is installed). I need to provide a dynamic link on the html page to those .xls files. e.g. file name abc.xls I want to provide a lin

  • How can I put the App Store App back on to my macbook? help

    the app store app has been removed from my laptop and I can not figure out how to get it back. Please help???

  • Can anybody help me with this error message I keep getting

    When I try to export my document as a pdf I keep getting this error message...  "The document "Client Invoice_TMC copy" could not be exported as...."