Auto refresh Portal after Login

Hi All,
I need to refresh the Portal page immediately after login to load some content.
How to add page refresh code and where to add?
Probably that will happen in the masthead file but exactly what javascript i need to add.
Thanks ,
Amarys.

Hi Amarys,
java script part is pretty simple.
Referesh()
window.top.location.href="/irj/portal";
The second part about where to place this will be tricky, as you may end up in infinite loop of Refresh.
One possible solution is to write your logon module and set a flag when the login is successful. Read this flag in one of the Portal component (Say Masthead), Refresh the Portal and clear the flag.
By the way why do you need this. If you can elaborate on what exactly you want to achieve, may be someone can suggest a better approach.
Thanks
Prashant

Similar Messages

  • UDF at header level will not auto refresh before & after adding the invoice.

    Hi All,
    I have a FMS query in the UDF at AR Invoice header level. I have set the FMS query to auto refresh when tax rate field changes but the UDF doesn't auto refresh when there is a tax code in the document.
    I will need to add the invoice first then open the added invoice and press shift+F2 to get the calculated amount in the UDF to update the invoice.
    How to get the UDF to auto refresh whenever the tax code has changed? Or after the invoice has added?
    The FMS query:
    SELECT sum(T0.[TotalSumSy]) FROM INV1 T0 inner join OINV t1 on t1.docentry = t0.docentry WHERE T0.VatGroup in ('SR','DS','AJS') and t1.docentry = $[OINV.docentry]
    Thanks & BR,
    Leng

    Hi,
    I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
    In order to print  in the  order  the Vat amount  in each vat group Please perform  the followed stages:
    Go to Tools (in the SBO tool bar ) and chose Manage User Field
    In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals  - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain  Vat Group
    in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
    SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A1' FOR BROWSE  SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
    in the order document printing template you need to add those Vat column in our example we add 3  data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
    in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in  addition you can add text fields with a relevant description for the calculation fields)
    Thanks & BR,
    Leng

  • Date - Time auto update after login on portal

    Hello,
    I have portal server 71. update 2 installed.
    the date and time which is shown after login gets updated on refresh only.
    is it the default behaviour? yes then what can be done to update automatically?
    regards,
    sumant

    yeh i know that.
    however i thoght sun must have provisioned that atleast.
    let see how i can manage. :)
    thanks
    sumant

  • How can I stop auto refreshing a new web page in XP immediately after its opened?

    In XP, once I access a new web page Firefox auto refreshes that page once the page is ~80-90% opened - how can i stop this refresh?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • UWL Auto refresh after processing workflow task

    Dear All,
                    We are developing custom Java webdynpro application.  I Have a requirement where I need to auto refresh the UWL once the user process the task.
    Say if the User approves a leave req, the UWL has to get refreshed automatically. (Only for certain task not for all).
    Please let me know the possible ways in achiveing it.
    Can I
    1) Configure in <Itemtype Tag> where I re-register. Can I edit the xml to achieve it?
    2) Can we use the UWL lib/methods to do a auto refresh once the application is process successfully..
    Please advice..
    Thank you
    - Senthil Bala
    Edited by: Senthil Bala on May 30, 2008 3:49 AM

    Hi,
    Editing the XML is a good solution rather than modifying the uwl par or creating custom UWL.
    Thanks,
    gopal

  • Changing the sequence of roles/groups for Portal users after Login

    Hi
    We are at EP 7.0 SP11.
    We have developed custom role for ESS, MSS, EIC and Reports etc.
    Now when all the 3 roles are assigned to any user, the sequence of the display is generally
    Employee Self Service, Manager Self Service and then EIC.
    We need to change this sequence in Dev QA and production environment for some users preferably (or for all portal users), so that the 1st page which loads in portal after user logs in , is not necessary ESS. 
    The requirement can also be considered as, we need to change the default page which displays after user logs in.
    Does someone have any idea how can we achieve this ?
    Looking forward for your response.
    Thanks
    Neha

    Hi Neha,
    Add custom Welcome page/Home page(eu_role) and Sort Priority property as per  Koti Reddy.
    Hope it helps
    Regards
    Arun

  • Auto Scheduled run of the Sql server management studio or a auto refreshing query

    Hi ALL ,
    This is a very different weird requirement but workaround  for one of my requirement  . Scenario is that sql server enterprise edition is installed on a vm . I create a session with the vm using the remote desktop . I have scheduled a ssis package
    on the server and it should run 4 am daily us timing but its failing . If in case a user is connected to the management studio package runs on time . So i have to disconnect from the remote desktop and its not possible for me to login at 4 am every day for
    running package.
    Requirement :  Is it possible that the sql sever management studio automatically turns on at 03:30 am and authenticates in .If that is possible my package won't fail . If this is not possible  is it possible that sql script auto refreshes every
    30 min's so what i can do i will run the auto refreshing script in the management studio once and will disconnect the remote desktop not the sql server session so my virtually my session on vm will end but vm is always on from the vcenter and there is some
    activity on the sql server management studio so even the application won't be closed after a stipulated time frame leading to running of my package on time.
    Please help

    Hi Latheesh NK ,
    Below is the error message SSIS one i extracted from the history :
    Date        3/8/2014 11:00:00 AM
    Log        Job History (SSIS package)
    Step ID        1
    Server        xyz\xyz
    Job Name        SSIS package
    Step Name        Package
    Duration        00:00:01
    Sql Severity    0
    Sql Message ID    0
    Operator Emailed    
    Operator Net sent    
    Operator Paged    
    Retries Attempted    0
    Message
    Executed as user: xyz\Administrator. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:00:00 AM  Error: 2014-03-08
    11:00:01.31     Code: 0xC0208449     Source: Data Flow Task 1 Source - Query [95]     Description: ADO NET Source has failed to acquire the connection {68D5B1D7-17B1-4F95-9B1D-7615425C4A07} with the
    following error message: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0047017     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: Source - Query failed validation and returned error code 0xC0208449.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC004700C     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0024107     Source: Data Flow Task 1     
    Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:00:00 AM  Finished: 11:00:01 AM  Elapsed:  0.406 seconds.  The package execution
    failed.  The step failed.

  • Broadcasting of workbooks, auto-refresh and other questions

    Hello Reporting gurus.
    Our users run BEX Analyser queries but this is evolving towards more automation and fancy things. A lot of threads exist on the subject but I have not been able to find clear answers. We are on BI 7.
    1) How do we use the broadcaster to refresh workbooks and output the results to a network share drive.
    2) Queries being part of the workbooks work with user input variables. Do I have to change all queries (or create new ones identical) with user exits variables to fill in the fields for auto-refreshing w(ith let say the current year and current fiscal period etc...) ?
    3) Is it possible to create a parameter input screen to pass on variables values to the broadcaster before the auto-refresh takes place so that I don't have to create user exit variables ?
    4) How can we view workbooks with the BEX WEB Analyser ? Or do we have to create an application with WAD ?
    Thanks

    Hi Yves,
    in Analyzer you have an menu entry publish with BI broadcaster, then a broadcaster will appear. there you can create a setting. inside that setting you can use a variant and with SPS 13 also variable sets. There you can define the users who should receive the updated workbook by mail. It is not possible to save to file system, but you can save in Portal.Web Analyzer is only to use with WAD and is not able to process Workbooks.
    best regards,
    kai

  • Using Excel 2007 to display and auto-refresh planning.

    Hi all,
    a customer wants to display a simple planning screen on a 24" monitor.
    We're using an old domain pc, with domain user (planning) logged on to display the planning file.
    We've configured the worksheet so that multiple users can edit it.
    I've also found the settings which auto-update the file. I was amazed that this is standard functionality.
    Although, it doesn't work as we expected. It goes well, but when too much users work in the file, some users still get the error message: 'can't open file because it's already in use'.
    This does NOT happen when the file is not constantly opened by the 'planning user'.
    So that's one issue, probably caused by the 'planning user', having the file opened 24/7.
    Another issue is that the file stops auto-refreshing after a while. I didn't find any pattern in that.
    So basically, what the customer needs is:
    Display Excel worksheet
    Auto-refresh
    I've found some nice articles about SharePoint and Excel services, but unfortunately they're running SharePoint 2010 Foundation, which does not include Excel services...
    Is there any other way or tool to achieve this, without using the Excel-built-in options?
    Or maybe there's a fix for that problem?
    Thanks in advance.

    Hi LunAds,
    I'm afraid you have just discovered how bad these features are implemented in Excel: they just don't work properly and I always advise against using them for any serious long-term solution.
    If you do not have Excel services, then editing the document on the server (which would prevent lots of problems) is out of the question indeed.
    Alternatives depend a lot on your needs.
    For example, you could use sharepoint lists that the users can edit and then import those lists into Excel for reporting purposes.
    But if this is relational data (parent-child tables, which is very often the case) then a database solution is probably the best route to take.
    Regards, Jan Karel Pieterse|Excel MVP|http://www.jkp-ads.com

  • Auto-refresh formatted search is not working properly...

    I have created a User Defined Field in Item Master named: FLD1 (Alphanumeric 30)
    Then I have created a User Defined Field in Marketing Documents Row: FLD1 (Alphanumeric 30)
    Now I want as follows u2013
    In Marketing Documents if I select any Item, the value saved in FLD1 in the Item Master will come automatically in the Field FLD1 of the Marketing Document.
    I did as follows u2013
    I have created a formatted search for the above marketing document (in Sales Quotation) for the field FLD1 as follows u2013
    Option: Search in Existing User-Defined Values according to Saved Query
    Query: GetItemFLD1 (SELECT $[OITM.U_FLD1] )
    Option: Auto Refresh  -
    When Exiting Altered Column
    Field: Item Description
    Option: Display Saved User-Defined Values
    But the above is not working automatically --- after saving the document if I click on the Formatted Search Marker then the value comes otherwise not.
    Can any one please explain the reason behind?
    for SAP B1 2007 B SP0 PL7
    Edited by: Narottam Das on May 5, 2009 1:53 PM

    Check this thread for explanation of Syntax of FMS:
    [Refer to Sales Order From Payment Means;
    Refer Suda Sampath  reply that explains clearly

  • Outlook 2007 won't auto refresh the internet calendar

    HI, 
    I subscribed a web ical with the instruction (File > Account Settings and then the Internet Calendars
    Tab, then click New and enter the path)
    for outlook 2007:
    the new calendar could display all the events correctly after set up, but it won't update the new event anymore automatically. even I close and re-open the outlook, it still not update, the last update time is the time when set up this calendar. 
    for outlook 2010, i tested, it can auto update the internet calendar when open the outlook everytime.
    is this the problem with outlook 2007?
    (I don't want user to press F9 to refresh everytime) 
    and i also tried to add X-PUBLISHED-TT property in the iCal file and it seems not working also
    Please help ! Thanks !

     Hi
    zhenyun,
    Sorry for Late reply, if you are still facing same
    issue then you should go for some kind of auto refresh plug-in or Add-in. After a bit search on Google, I found some of them called
    “Zoho” and “Vtiger”.
    As I am not much sure about this Add-in, you have to read about
    its functionally first by visiting given link.
    http://www.zoho.com/crm/help/outlook/using-plug-in-for-microsoft-outlook.html
    https://wiki.vtiger.com/vtiger6/index.php/Outlook_Plugin
    Hope, this link and Plug-in will give you some relax.
    Thanks
    Clark kent

  • Auto refresh flash chart not working (APEX 3.1)

    Hi All
    I followed the instructions on how to update auto refresh flash charts on the following page:
    http://www.inside-oracle-apex.com/2007/04/auto-refresh-flash-charts-in-apex-30.html
    Is there anything else that needs to be done? I dont get a 'last refreshed' date, nor does the chart refresh itself.

    user447071,
    I would check:
    1) Can you access the flash files directly? Look at the page's HTML to find reference to an SWF file, then try to access that from the URL.
    2) Is the XML coming back properly? Run the page in debug mode, then click the "Show XML" link after the Flash chart.
    - Marco

  • Auto-refresh search result (for activities)

    Hi all,
    we've got a customer requirement to implement a auto-refresh function for the search result for activities, means, the search result table should automatically be updated every x minutes.
    In component BT126S_APPT, view layout ApptSQ.htm, I've added the following lines of code after the thtmlb:advancedSearch tag:
    window.setTimeout["document.getElementById('C16_W54_V55_Searchbtn').click();", 5000 ) ;
    This script "clicks" the search button 5 secs after the search page has been loaded.
    Now, the interesting thing is that this works two times, like starting the page -- javascript triggers first automatic search --search result updated -- javascript triggers second automatic search -- search result updated, but then the script isn't called ny more.
    Any idea about that?
    Regards
    Wolfgang

    Hi,
    Make use of af:poll component.........
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_poll.html
    Regards,
    Suganth.G

  • ADF Application gets auto refreshed

    Hi
    i have my ADF application deployed in one of the weblogic clustered server. There are four weblogic managed cluster.
    In my application i am reading a csv file and performing some user operation with OIM.
    It is taking much time around more than 5 min (i guess performance issue) and after that the application gets refreshed and back to home page is displayed where as in logs i am getting the debugs of file read.
    Its only the application page that gets auto refreshed....
    Please help !!!
    from where the application get refreshed? is this a weblogi clustered application issue??
    i tried the same application in another server where the application process the same file quickly(with less time) and no refresh of application happens.
    Regards
    Sudeep

    hi Ramandeep
    i just checked the web.xml... the session timeout is not set in my application... so for that is there any default value for the application to get timeout?
    and in my scenario i am not getting session time out message in my UI .... that session has been timedout please refresh or retry ...
    the page gets totally refreshed.
    i guess this is the problem of failure of HTTP sessions in clustered web logic where the connection in promary fails trys to connect secoundary cluster and if that fails the HTTP page gets refreshed....
    can u please suggest if i am getting the problem correct or not ??
    Regards
    Sudeep
    Edited by: SKD on Feb 14, 2012 1:05 PM

  • Production Order - Trigger won't Auto Refresh

    2007A PL49 - Just upgraded from 2005A
    I have the following query set in a UDF on the Production Order.
    SELECT T1.PriceAfVAT
    FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.ItemCode = $[$-6.0.0] and T0.DocNum = $[$-32.0.0]
    The query wasn't working after the upgrade from 2005.  I had to change the query to include the negatives "-" in the WHERE clause.  Once I did this the query was working fine.  However, now that the query is working it doesn't refresh automatically.
    My settings are as follows:
    Auto Refresh When Field Changes is selected
    The field is Production Order Origin Number
    Display Saved User-Defined Values is selected
    If I place my cursor in the UDF and hit Shift+F2 the query is executed and pulls in the correct data.
    How do I get the Auto Refresh functionality to work properly?
    Note: other triggers are working correctly after the upgrade.

    The problem is probably you selected Auto Refresh Field Changes as the same field in the Where clause.  If you could find any other fields to select, it should work.
    Thanks,
    Gordon

Maybe you are looking for