Clearing fields when calling new page

I am using a list to call a target page. How can I clear out certain fields when the page is called (ie. reset them to their default value)? If I clear the cache for the page, it clears everything.

Bob - You first said you wanted to clear out certain values, suggesting that this should take place when a list item link invokes the page and that clearing the cache for the entire page is inadequate because it clears more items than you want cleared. But in that same statement you suggested that you don't want to clear anything out, you want to set specific items to specific values, so I don't see how resetting the entire page is inadequate for the reason you cited. I think it is inadequate becase it clears cache for items when what you want to do is set items to specific values. In your last post, you asked if there is a way to reset all the items to their default value without mentioning the "list item target" situation. So, if the requirement is to set specific items on a page to specific values no matter how the page is invoked, I would recommend using page computations to achieve that. If you want to do this only when the page is invoked by certain URLs, I would suggest passing in an item value that can be checked by the page computations to determine whether or not to set the values.
Scott

Similar Messages

  • Clear indicators when called

    Hi,
    I am using LabView 7.1
    I do not have RT installed.
    When I go to VI Properties and in Execution, I select "clear indicators
    when called", the indicators in my vi keep the last value of the
    previous run, when I start a new run.
    I know this is an issue with the RT module of LV7.1
    Any idea why it doesn't work in my case though?
    Jheffy

    Sorry, I'm still trying to figure this picture thing out. How's this?
    Andrew Alford
    Production Test Engineering Technologist
    Sustainable Energy Technologies
    www.sustainableenergy.com
    Attachments:
    RelPartial.GIF ‏25 KB

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Use a Custom Page Layout When Creating [[new pages]] in Enterprise Wiki

    I have followed a few different blogs and I've been able to create a custom wiki content type and create a new page layout based off of that content type. I've also set my site so that my new layout is the default page layout. This works when creating
    new pages on the site but when i try to create a new wiki page --> [[new page]], I'm still getting the typical blank wiki template. How on earth do i get my page layout to sync with creating a new wiki page?

    Hi,
    For your issue, go to Site Actions > Site Settings > Page layouts and site templates (Under Look and Feel).
    Pages in this site can only use the following layouts: add custom wiki template.
    Select default page layout: choose custom wiki template.
    Besides, here is a blog, you can use as a reference:
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    Best Regards,
    Lisa Chen

  • Why does Firefox get hung up, when opening new pages? I've tried disabling plugins and extensions to no avail.

    Initially, when I open Firefox everything opens very quickly. However, after several minutes it gets hung up when opening new pages. I have close the browser and reopen it to start over. But each time it does the same thing. Works well at first then poops out. The trouble started yesterday. Before then, I never had any problems.
    I've tried disabling all the plugins and extensions, but it doesn't make any difference.

    Try to repair the disk permissions:
    * http://thexlab.com/faqs/repairprocess.html
    * http://support.apple.com/kb/HT2963 Troubleshooting permissions issues in Mac OS X

  • Clear fields when PDF page is spawned?

    Hi all,
    I have a fillable PDF  form that has buttons at the top of every page for the user to  duplicate the page in case more information needs to be entered.  Here  is the javascript I'm using, courtesy of George Johnson:
    // Get a template object from an existing template
    var t = getTemplate("myTemplate");
    // Spawn the template on the page following this one, and rename the fields
    t.spawn({nPage: pageNum + 1, bRename: true, bOverlay: false});
    This  works great, except when the user has already filled out page 1, then  clicks the button to duplicate the page, the new page contains the  information already filled in by the user on page 1.  Is there a way to  clear the fields when the page is duplicated? I am using Adobe X Pro.   Thank you!!!

    Update: I found this code:
    var iPage = 0; // This is your page number, it is 0-based, so page 1 is 0
    var sFields = new Array();// array of fields names that are found
    for(var x=0;x<numFields;x++)
    {var pg = getField(getNthFieldName(x)).page;if((typeof pg == 'number' && pg == iPage) || (typeof pg != 'number' && pg.indexOf(iPage) > -1))sFields[sFields.length] = getNthFieldName(x);}
    if(sFields.length > 0)resetForm(sFields);
    This code does work, but instead of blanking out the NEW page, it blanks out the original one. Preferably, the original page would retain the information and the new form would be cleared.  I changed var iPage = 0 to var iPage = pageNum +1 and that seems to blank out the spawned page.  Even when I press the button on the spawned page, the second spawned page is cleared.
    I know very little about javascript so if anyone sees any problems with this code or the change I made, I'd appreciate if you give me a shout.  Otherwise I guess I resolved this on my own. Thanks!

  • Blank page is getting displayed in SAPScript when using NEW-PAGE option.

    Hello Experts,
    We have created a customized SAPScript and in this separate Script is generated based on the currency(WAERS).
    So if we have 3 different currencies, then 3 pages will be created with there details, but we are using NEW-PAGE option in
    MAIN window to separate the pages and after 3rd page it is displaying 4th page also with footer details.
    So how can we avoid last blank page which is getting displayed?

    Hi isha.walia ,
       This issue can be solved by two ways. Please take the one which suits you better.
    Solution 1: If  you need to generate separate prints for different currencies.
    In the driver program, build an internal table for different currencies which needed to be printed. (Using delete adjacent duplicates, build the internal table with exact number of currencies to be printed). Remove the NEW-PAGE option and call the script/form inside the loop. Do the necessary conditions to manipulate the print.
    Advantages of above solution: Better control on spools if needed.
    Solution 2:  Get the count of the number of pages in a variable. Inside the print loop, increment a flag counter. Check it against the variable which contains the number of pages to be printed at the end of each page. Exit the loop when the number of pages to be printed is reached.
    Advantage of above solution: Simple to write the program.
    Thanks and Regards
    Raghesh R S

  • Firefox sometimes freezes when loading new pages

    I have had an issue for several months now & any help with it would be gratefully appreciated.
    Quite often, when loading a new page, Firefox will hang for up to 30 seconds; the loading circle in the left hand corner of the tab will freeze & I will be locked out of the browser. That website's usually then fine for the rest of the session, but if I close and reopen Firefox the same thing will happen again.
    I have tried other browsers such a IE, and the same thing also happens there. My laptop is becoming quite claggy in general, but I'm hoping I can at least find a solution to this!

    Do you get a dialog saying a script is running slowly with Stop/Continue buttons, or does the problem just clear up without any messages?
    Two other thoughts:
    (1) To diagnose a possible Flash issue, you can switch the Shockwave Flash plugin to "Ask to Activate." The page should load the non-Flash components first. If it's just as slow, then we can rule out Flash as a potential culprit, but if it's much faster, that would be useful to know.
    You can make the change on the Add-ons page. Either:
    * Ctrl+shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Plugins. Then use the drop-down list for Shockwave Flash to select "Ask to Activate."
    Sites that use Flash will generate a notification icon on the address bar, and either a link will appear in the black rectangle where you normally get videos loading automatically, or an infobar will slide down between the toolbar area and the page.
    (2) About 8 months ago, a user with an enormous font collection discovered that when visiting pages that use downloadable fonts for the first time during a session, Firefox would hang for 3 minutes. ([https://support.mozilla.org/en-US/questions/957111 Firefox hangs on Websites (example: g2play.net)]) I don't know whether this is still a problem, but if you have tons of fonts, as a diagnostic, you could temporarily disable downloadable fonts.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box that appears above the list, type or paste '''gfx''' and pause while the list is filtered
    (3) Double-click the '''gfx.downloadable_fonts.enabled''' preference to switch its value from true to false.
    I say temporary because many sites now use fancy fonts to display little icons instead of using images. With downloadable fonts disabled, these icons turn into tall rectangles with two rows of two characters (in other words, useless).

  • Can I set a bookmarked link to open in the sidebar AND when a new page is loaded/originates from this page?

    Example: I have Google advanced search bookmarked and set to open in the sidebar. When I submit the search, I'd like it to open in the main view port. Is there a way to make links, POST/GET requests or otherwise any new page loads originating from the page loaded in the sidebar?

    So, if I remove a session var is there a way to test for its existence as well?
    Thanks,
    Chris

  • Iview calls new Page on Content Area

    Hello Everybody,
    I have a Page with 3 Iviews on it, and would like that an Iview call a new Page.
    Wich means, I have Iview 1,2,3 on Page A and if you trigger a link on of these Iviews a new Page B should be loaded.
    All I got is that the Page loaded in the Iview itself. Is there an opportunity to change that behavior, to call a Page B from an Iview that reloads the content area with a Page B?
    Thanks in advanced,
    Marcus

    Hi Marcus,
    you can call EPCM.doNavigate with the PCD target, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterprise portal client.pdf
    Hope it helps,
    Detlev

  • Problem in sap-script, page count when trigger new page.

    Hi to all,
    Please help on my sap-script problem. When I trigger new-page the page count should continue.
    Ex: I have total of 2 pages, the second page is trigger in new-page. the page count of 2nd page should show as Page 2 of 2. but it shows on me is still Page 1 of 2.
    my command of new-page is in the zprogram. using function command_control
    thanks to all,
    I will reward points.
    Booh.

    Hi ,
    use &PAGE& of &SAPSCRIPT-formpages&
    IF Found Helpfull.
    Do Reward.
    Regards.
    Eshwar

  • InDesign crashes when inserting new page(s)

    I have a landscape document with facing pages. The origin was an Indd CS3 document opend with CS 5 and saved. I can move pages from one location to another but the attemt to insert one or two new pages will cause indd to crash. This is not a general problem this seems only to happen with this particular doc.
    indd CS5 (7.0.2) , win xp, sp 3

    Ther have been reoprts of an apparent bug that causes crashes when insering pages based on masters with more than one column. If that's not your problem, try Remove minor corruption by exporting

  • Crashes when inserting new pages into Templates from CS6

    InDesign CS6 is crashing frequently when page numbers or blank pages are inserted into an InDesign Template file, The problem persists for many different users on several platforms and operating systems.

    I have continued to have the same problems since I originally posted, including after the 7.0.2 update, though I have not tested EVERY scenario I did the first time after updating. Has anyone else seen improvement after the update? (I got the 7.0.2 update download via the built-in Adobe updater, not from the website, so I'm not sure where to locate it there).
    I am sorry to hear others having similar or the same issue, but hopefully it is helpful to have a thread going where all those experiencing this can add to the list until it is recognized as a bug. And fixed! Though it does not resolve the actual problem, two work-arounds we are using to function in the meantime are to (1) always make a really long document to start with, with all the pages we think we'll need and more and (2) have a new, blank InDesign document with several pages open and drag pages from the blank document into your working document. This is a way to "add" blank pages when they are needed without inserting new pages in any of the traditional ways (which cause crashes). I also always send the crash report in to Adobe and encourage others to do the same.
    If you have not already, all of you also having this problem could post a "bug report" here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Calling new page from Portal menus

    I have created a portlet which contains a menu generated using the Menu Wizard and the LINK within this menu was populated using the popup window provided within the menu editor. Any Forms or Reports called from this menu are not generated as a new page. I have gone into the portlet repository and defined these reports / forms as an applicaton that should open in new window but it still doesn't work.
    How can I get the applications that are called via the LINK in a Menu to break out into a new window without having to hardcode each LINK Menu item.

    Hi,
    Portal menus works that way. The links open in the same page. If you want to open it in a new window
    then in the menu wizard where you specify the links, call the link using javascript like this
    javascript:void open('<portal_schema>.CAL_0520032153.SHOW')
    or
    javascript:void open('http://www.oracle.com')
    This will open the calendar or the url in a new window.
    Thanks,
    Sharmila

  • Crashes when Creating New Page

    I am using Contribute 4.1.0, on a MacBook Pro with 10.5.6 OS.
    When I attempt to create a new page from a template, I get
    the infamous Mac spinning color wheel and am forced to quit
    Contribute. I have searched these forums up and down with no luck,
    and my web person has no clue. Has anyone else had this issue, and
    is there something I'm overlooking or missing?
    Thanks in advance.

    First check whether you have updated iOS.
    If so , try reset all settings under General in Settings.
    Not working  ?
    Try Erase all content and Settings under Settings > General > Reset.
    If none of the steps work Just try this Final them and Thou Shall Be happy Forever :
    Use iTunes to restore your iOS device to factory settings
    support.apple.com/kb/ht1414

Maybe you are looking for

  • Problem installing Snow Leopard

    I am trying to upgrade to SL from Leopard, the disc Leopard is on is not shown in list of drives to install on.  Why?

  • Itunes HD movie download: -50 error message

    hi there! last nite i purchased an HD movie from Itunes on my mac. when i woke up this morning, the download had timed out. 2.29G of 2.54G had been downloaded... so close!?!? there was a '-50 unknown error' message on my screen saying that maybe my i

  • Solaris 2.6 Patch cluster

    Is there anyone out there knows where I can get the last Solaris 2.6 patch cluster? I know it's de-supported now but sadly some legacy applications are still out there and need to run on old software/hardware. Many thanks in advance, Jonathan

  • Converting from global to local filesystem

    Hi all, I have a 2-node cluster running Sun Cluster 3.2 in which multiple file systems are currently marked as global file systems (ie the file systems are visible from both nodes and they all have the "global" keyword in /etc/vfstab). I've been requ

  • Whenever I open itunes in my ipad a message comes "cannot connect to iTunes Store"...help to get it right please

    Whenever I open itunes in my ipad a message comes "cannot connect to iTunes Store"...help to get it right please, I have  the new I pad and I was able to connect to iTunes before,and I use 3 g network..there is no network problem for sure because I c