Trying to redirect users to new page

I have a small section of a site - 5 pages - that display some reports.
A set of 5 pages to replace those pages have been developed.
My thought was to add a content editor web part on each of the old pages that would contain javascript such as:
<script type=”text/javascript”>
<!--
window.location = “http://mysite/sites/us/new_summary.aspx”
//-->
</script>
Then I would mark it as hidden. I was expecting that when I visited the page, I would be redirected to the new summary page.
However, I am not being redirected.
Is there something else that I need to do to get this to work?
Thank you.

So, out of the 4 (not 5 as I thought) pages that I have to redirect, I was able to get 3 to do exactly what I wanted.
I did the same steps:
Page > Edit Page > Add a Web Part > Category > Media and Content > ContentEditorWebPart >Add
Click on “Click here to add new content”. Nothing needs to go here
Click on web part menu (top right corner). Select Edit Web Part
Advanced > Uncheck minimize, close, zone change, connections, editing in personal view
Click Apply
Copy URL of RedirectSummary.txt and  paste into Content Link URL box
Click Apply
Page > Stop Editing
The only differences for this time are:
1. the page being edited is in a different location than the other 3
2. the URL for the .txt file is different
3. The contents of the .txt has a different URL for the window.location.
However, this last page won't redirect like the others.
Does anyone have any ideas on things I could do to identify the situation?
I tried turning on the developer tool in IE11. There is so much javascript listed that it would be difficult for me to know if there was a reason something was interfering.

Similar Messages

  • How to redirect user from login page to "Set Challenge question" page

    How to redirect user from login page to "Set Challenge question" page (NOT custom page) after 3 un successful password attempts?
    Meaning when user types wrong password 3 times they will be redirected to set Challenge question page. If user answers the challenge question then password reset page should be appeared other wise (after remaining 3 un successeful challenge question answers) account should be locked out.
    thanks for your help.

    hi sandeep
    Thanks for your answer. Let me ellaborate more on the requirement here.
    - Password Policy and Lost Password management are set up in the identity system
    - Configure login tries allowed= 5. Verify accout is lock out after 5 unsucessful login.
    This is what need to achieve.
    1) If a user attempts to login 3(not 5) times using an incorrect login credential he/she should be redirected to set challenge question (security question) page.
    2) Then if the user attempts (remaining) 2 times incorrect challenge answer then his/her account should be locked out.
    3) If he/she answers the challenge answer correctly then he/she should be redirected to password reset page.
    Is this possible?

  • Open popup window and redirect user to home page in sandboxed solution

    i've created a sandboxed solution visual webpart and it has submit button so when user fills the information in the text boxes availble in webpart and clicks submit button so I want to open popup button containg success message and ok button so when user
    clicks ok button in popup window i want user to be redirected to the home page of the site.
    i tried to open popup and showed success message by below code
     string gotohomepage = "http://sp2013:1111/Pages/home.aspx";
                    ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Your Record has been submitted successfully,you will be redirected to home Page shortly');location.href =
    '" + gotohomepage + "';", true);
    but it's not opening popup window can anyone help how do i open popup window and redirect user to home page in sandboxed solution

    Page class and script manager are not supported in sandbox solution
    You can create model popup to achieve this
    below are the reference links
    http://blogs.msdn.com/b/chaks/archive/2011/09/14/modal-dialog-box-in-sharepoint-sandbox.aspx
    http://social.msdn.microsoft.com/Forums/en-US/9427db4d-60f2-4b2a-8db6-b50d01ac4f23/how-to-create-modal-popup-using-sandboxed-solution

  • Redirecting user to login page after session expiry

    Hi,
    Default session expiry implementation in sap EP6.0 doesn't work properly. To overcome this, we have implemented one component where we check the idle time and throw the user back to the login page if the idle time has exceeded the session expiry period. This component has been added to desktop inner page as an iView. Following is the logic put in this component.
    IAuthentication ia = UMFactory.getAuthenticator();
    ia.logout(httpRequest, httpResponse);
    httpResponse.sendRedirect("/irj/portal");
    We are successfully getting the login page after session expiry. Issue is, our portal server is running on 11111 port. We cannot change this to 80 on unix because of unix limitations for the port number. So we have put one apache web server before our portal server. Apache web server is listening on port 80 and forwarding the request to our portal server.
    Now when user is redirected to the login page, url being shown in the browser is http://<host_name>:11111/irj/portal but I am expecting http://<host_name>/irj/portal (without port). I have tried putting the full url in sendRedirect() method but that too doesn't work.
    Any help is highly appreciated.
    Regards,
    Chandra

    Hi Chandra,
    Let the URL be relative in the sendRedirect i.e.
    httpResponse.sendRedirect("/irj/portal");
    However since you have a Reverse proxy in front, the response header for redirect will not contain the address of the reverse proxy in this case, your servername without port. You have to properly configure your reverse proxy so that the HTTP Headers are changed properly before sending the response to the users.
    Check this URL,
    http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#proxypassreverse
    This gives you the details on configuring your apache.
    Hope this helps.
    Ankur
    P.S. If this helps please reward points.

  • How to redirect users to certain page on login

    Hello All,
    I need to redirect users to page 1 after login even if they use a direct URL pointing to some other page. How do i achieve this?
    Ex:
    User logs in using URL:
    http://localhost:port/apex/f?p=101:10:1818843916449354::NO:::should redirect him to below page instead of 10:
    http://localhost:port/apex/f?p=101:1:2314843916462565::NO:::Appreciate your reply.
    Thanks and Regards,
    Senana

    Hello Senana,
    Assuming you're using wwv_flow_custom_auth_std.login to log in, and p_flow_page is set to "[your app id]:1" try placing the following line just before your call to wwv_flow_custom_auth_std.login:
    :FSP_AFTER_LOGIN_URL := null;This should force user to page 1 after log-in.
    Hope this helps,
    John

  • Redirect user/show default page when using entitlements

    Hello,
    We have created a few entitlements and placed these are a number of books and pages. The entitlements check and compare a specific set of attributes in the session object.
    Currently, if a user accesses a page with one of these entitlements all they see is the header and footer defined in the desktop shell. The backing file and portlets in the page do not look to be invoked or rendered, which is what I expected.
    Is there a way such that if a customer accesses a page of this type, to redirect them or possibly show default content in the page so it is more meaningful?
    Regards,
    Jonathan

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • Redirecting user to acustom page depending on security role after glassfish

    Hi,
    I have a JSF application using glassfish authentication mechanism. I'm planning to use a jdbc realm and form based authentication (I'm using a jsp page to get username and password) . I have 3 different user roles (student, admin and staff)
    However I cannot find how to redirect a user to a different page (Ex: staff report page if the logged in user is in the security role staff). I have configured sun-web.xml and web.xml to map the roles and groups. The problem is after authentication the user is always redirected back to the home page, which is the login page. I understand this is how the glassfish authentication works by default. But is there a way to navigate the user to a different page depending on his role.
    I'm new to EJB security. Please help me on this subject. Thanks a lot in advance.

    Check this blog post, which provides an alternate solution (You can choose the best possible solution based on your use-case).
    http://andrejusb.blogspot.com/2007/10/security-in-oracle-adf-and-automatic.html
    Thanks,
    Navaneeth

  • How to redirect users to Custom Page on InfoView logoff

    Post Author: Srinivas123
    CA Forum: WebIntelligence Reporting
    How to redirect the users on InfoView logoff to a custom page, instead of the default logon.aspx.   

    Hello Senana,
    Assuming you're using wwv_flow_custom_auth_std.login to log in, and p_flow_page is set to "[your app id]:1" try placing the following line just before your call to wwv_flow_custom_auth_std.login:
    :FSP_AFTER_LOGIN_URL := null;This should force user to page 1 after log-in.
    Hope this helps,
    John

  • How do i create a drop-down menu in SharePoint that redirects to a new page?..

    Helly everyone, i have a question and really hope someone can help me out here:)
    In SharePoint i want to create a drop-down menu that has the possibelty to redirect to other websites.
    I fount the code below and it works but just not in SharePoint:(
    It only shows the drop-down list but it doesn't redirect you to another website if you click on a site.
    Can someone please help me out because it's really getting frustrating.
    <form method="post" action="" name="">
    <select name="select15" onChange="window.open(this.options[this.selectedIndex].value,'_parent')">
    <option selected>Please Select Site to Visit</option>
    <option>---------------------------------------------------</option>
    <option value="http://leedssocialclubs.co.uk">Leeds Social Clubs </option>
    <option value="http://yahoo.co.uk">Yahoo </option>
    <option value="http://msn.com">MSN </option>
    <option value="http://Moonfruit.com">Moonfruit </option>
    <option value="http://burystaffhire.moonfruit.com/#/home/4548482603">Bury Staff Hire</option>
    </select>
    </form>

    <form>
    <select name="URL" onchange="window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value">
    <option value="">Choose a site</option>
    <option value="http://webdesign.about.com/">Web Design Front Page</option>
    <option value="http://webdesign.about.com/library/beginning/bl_begin.htm">
    Beginning HTML</option>
    <option value="http://webdesign.about.com/od/javascript/">JavaScript Help</option>
    </select>
    </form>
    Demo url
    http://webdesign.about.com/od/examples/l/blfaqddredirect.htm
    script url
    http://webdesign.about.com/od/javascript/a/aa050701a.htm
    For me it is working fine

  • How to redirect users to different pages after logging in?

    Please HELP this is doing my head in.
    I have created a login for a site using dreamweavers login tools, but I need to direct users to their individual pages, as Dreamweaver shows only one.
    I here you can store urls in you data base then call on them depending on the user is this correct ?
    Or is there another way ?
    Could someone show me what I need to do ?
    Any help would be appreciated
    Dazza

    Hi
    It would become a long reply if I showed you, and I would require your database structure. So this is a simple 'things to do / steps to take' list.
    (the access level and user id, (not the same as database table id) are used interchangeable here)
    The first item is to ensure you have your database set-up to allow the items to be recovered from it dependant upon the users id/access level. This could be done via a simple access level being set, the access level would be set in the user table and the page content from the database would have a matching column in the table for content.
    The DW authentication server behaviour will set the access level in the same session variable at the same time as the logged-in session is set, (see the DW documentation on user authentication for how to use this feature).
    It would then be a simple matter of retrieving the information for the page using the DW recordset query server behaviour, which can also automatically set the access level in the query code to ensure that the items to be retrieved matches the access level.
    The biggest problem most people who try to set-up a restricted access section of a site, is not the server behaviour to restrict access to content, but the cms section of the site to create the content as required. For this is may be worth while reading - http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html, although your database code would be slightly different as you would require the access level/user id be used to 'filter' the results returned and the items for the user to view, (links to content) also must be access level/user id dependant, (tip, use conditional region code for this).
    PZ

  • I have updated to 5.0. I need to allow firefox to redirect to a new page.

    I somehow changed the preferences to firefox not automatically allowing a page to automatically redirecting. I can't find where I did that to undo it. there is not a choice of options in the Tools menu and I have checked everything I can think of in Preferences.
    I'm feeling really dumb since I made the change this morning and I can't for the life of me figure out what I did. I know this is probably simple, but it is eluding me completely.

    Thank you so much. I saw that over and over and over again and just "didn't see it". I thought I had changed something in relation to autofill (which I don't allow) and was looking for that I guess. Anyway, I had done this several days ago, and it worked fine. Whenever I clicked on allow it wasn't an issue. I had decided to do this because after all the issues around the latest mac trojan (which I did not get), I thought requiring me to choose to allow redirection made sense, since much of what happened to people was instant redirection to the trojan which they then installed. I am going to print this page though, in case I try that again, and then forget again, what I did!
    Again, thank you for such a quick reply. It was really getting annoying.

  • Ho do I disconnect the "warning" of a web page trying to redirect from the "Firefox did not allow this page to reload"? I want the first, but not the second option.

    The new firefox now does not allow many pages to reload. I must click the "allow" button and still it often does not allow a reload. I know I can disable the function, but then I must also disable the warning if a page tries to redirect to a new site. So...Why must I give up a security feature to get rid of an annoying reload issue? I want to be notified when a page tries to redirect, but I don't want an "argument" from the system every time I try to reload specific web sites. How can I keep one and disable the other?

    you need to encode the href so that it can be sent as a parameter value. Otherwise it interprets the & as a standard parameter separator.
    I believe the window.escape function should do this
    var urlValue = window.escape(location.href)
    cheers,
    evnafets

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • When I open my free aol email account, I keep getting redirected to a new open tab ad for Verizon Fios. Is there a way to block this in Firefox?

    I tried SuperAntiSpyware and Malwarebytes but they didn't solve the problem. AOL email is the only place I'm having this problem and it's constantly happening while I have that email open. It will open up the same new tab time after time. Screen shot jpg will not upload but it shows 3 tabs for "FiOS Custom TV" with the following address - http://campaign.verizon.com/customizetv/?CMP=BAC-CON_2015-Q2_MM-ACQ-MZ2ACQQuizP3a_0576
    Help?

    I access my aol email through www.aol.com. When I got to my emails, another tab was automatically opening by itself and I was redirected to that newly opened tab with the page that had the Verizon Fios promotion/ad. This happened automatically and repetitively while I was trying to check my emails. (Note the multiple Verizon tabs in the screenshot attached to this inquiry)
    This happened over the last 2 days while in my free aol email account. I did notice a Verizon ad at the top of my email inbox while this was happening. I never did click on or otherwise access the Verizon ad but was constantly redirected to the new page/tab while viewing my emails. I went to my aol email just now to see if this was still occurring; there is a different ad in place of the Verizon ad and I am no longer being automatically redirected to another tab/page. Don't know why it was happening when the Verizon ad was there but it's not happening now since the Verizon ad has been replaced with another ad from a different company.
    Any thoughts on this?
    thank you

  • How can I recover from the new Pages

    Does anyone know how I can recover a Pages file which has become locked into the new Pages program? I never edited it with the new Pages, but now I'm told I must have the new Pages to open it. I even tried opening it with the new Pages and converting it to PDF with the plan to copy and paste it into Pages '09, but i lost control of line spacing, etc. (It is a 4-column file of data on one page (in the '09 version, that is). Appreciate any help.

    Jay,
    Surely you did edit the file with Pages 5.2, or you wouldn't be having this problem. It's an easy mistake to make since both versions have exactly the same filename and extension. They are just stored in different folders. 5.2 is in Applications and 4.3 is in Applications/iWork '09.
    Use TimeMachine to locate a clean backup file.
    Jerry

Maybe you are looking for

  • Remote control and speaker track 60 is not working on c60

    Dear team, We have facing issue for using remote control after the installation of speaker track 60.remote working fine on another telepresence equipment and the speaker track 60 is also not on voice also.kindly please resolve the issue as soon as po

  • Getting error when testing a web service through WS Navigator

    Hi experts, I am using PI 7.1 I am getting the following error while testing the web servicefrom WS navigator com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: No operation found using soap keys [], I did the f

  • ITunes crashes when Importing music from CD

    Hi, Im having trouble importing CD's using itunes. The process begins and then midway through the first track i get an error message saying that itunes need to close. I have run the CD diagnostics, but dont really understand what they mean. If anyone

  • How to create an InDesign Grep Expression to specific words

    I have a long list of congratulations wishes all following a certain pattern. How can I create a grep style with the following sequence: Congratulations to [name] upon..... The first two words of the paragraph are always: Congratulations to Followed

  • Oracle 10g Home wont start.

    Hi Everyone, I am not able to start Oracle 10g home on windows...recently i installed oracle 6i forms. so when i try to set ORACLE_SID=nwc and then sqlplus sys/dba@nwc as sysdba,nothing happens...it takes me back to command prompt. C:\Documents and S