Get previous items unique value in new add item form

Hi
I have on list having items related to multiple locations.
Every location is related to one user.
When user logs in it filters the list with that users location.
Now when user click on add new item I want to get the data related to his location using item event listener.
But in new item form there is no way to get the location of that user in event listener as its new item.
So I passed the qury string parameter form list and changed the add item form link and form to get the query string paramter as default value in Add new Item form.
But again when user clicks on save button it redirects to original url without paramter. 
How to redirect user to url with parameter on click on Save/Cancel.
Is there any other way to get the previous item unique value in add new item from before executing the event listener?

Hi,
According to your post, my understanding is that you wanted to redirect user to url with parameter on click on Save/Cancel.
You need to modify the onclick event need to as below:
javascript: {{ddwrt:GenFireServerEvent('__redirect={{Home.aspx?Participant={@Participant}&@Activity={@Activity}}}')}}
Here is a similar thread for your reference:
http://social.technet.microsoft.com/Forums/en-US/b506cfe5-650e-4017-b470-9ca0a75cd390/sharepoint-2010-list-how-to-pass-parameters-in-a-url-to-another-page?forum=sharepointcustomizationprevious
In addition, you can creating an intermediate page which just finds the filed value with a DVWP and then redirect to RedirectURL with the filed value on the Query String.
For more information, you can refer to:
Redirect to Another Page from NewForm.aspx with the New Item’s ID
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • How do you get previous Itunes pruchases onto a new Ipod without syncing it to the laptop?

    I've been in Australia for over a year, my previous Ipod broke so a purchased a new Ipod touch this year. However, as my Itunes library is on my laptop back in the UK, I'm a little depleted of music on this Ipod. Is it possible to get previous Itune purchases onto my Ipod here in Australia without me flying home, or worse still having the laptop sent over? I've kept all my Itunes receipts.

    Try here:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    you might not be able to get some items back since yuo are in a differenrt country now.

  • How to get count of unique values of column B for each unique value of column A in Excel 2010?

    I have an excel sheet containing 72,000 rows in Excel 2010, column A is "site name", column B is category. I want a result that shows number of sites for each category.
    Column A Column B
    site 1 Category 1
    Site 1 Category 1
    Site 2 Category 1
    site 3 Category 2
    site 3 Category 2
    site 4 Category 2
    site 5 Category 2
    I want this result:
    Category 1    2
    Category 2    3
    I tried some formula in a 3rd column and created a pivot table on that column, but it did not give me the result i want.
    Any one has an idea ? what is the easiest way to achieve this?
    Appreciate any pointer

    I tried both formula referenced in these two post (I think they are a little simpler than the one above):
    http://stackoverflow.com/questions/11876238/simple-pivot-table-to-count-unique-values
    http://stackoverflow.com/questions/18898138/pivot-table-count-unique-values-excel-2010
    They both worked! and I got the result for my 72,000 rows!
    Thanks for your help!

  • BOM Change - Delete an item(s) and insert new line items

    Hi,
    We need to mass update BOMs like for some of the existing BOM's we need to delete some line items and insert new line items. We want to use the BOMMAT04 IDOC in LSMW but I'd like to know couple of things before I go ahead with that approach
    For instance, I've a finished good material 12345678 and it has three components
                          a) Item 0010 Material 30101010 of quantity 10
                          b) Item 0020 Material 30101011 of quantity 11
                          C) Item 0030 Material 30101012 of quantity 12
    Now, I'd like delete Item 0010 and add a new item 0040 Material 30101013 of quantity 13. 
    In the segment E1STKOM, there is LOEKZ (Deletion Flag) but I dont want to flag for deletion but instead delete the whole line item and add a new line item.
    Is there any way to achieve this using BOMMAT04 IDOC? If not, can you please suggest me a better way to do it
    Any help is greatly appreciated
    Thanks,
    Srinivas

    Dear Srinivas,
    1.IF you want to change for an individual BOM,use CS02,select the item which you want to delete,select the entire and click on
    delete button and then add new line items and save.
    2.For Mass changes of BOM you can use CS20.
    3.Check these functional module's also if you want to change using a report,
    CS_BI_BOM_CHANGE_BATCH_INPUT   Change bill of material via batch input    
    CSEP_MAT_BOM_SELECT_CHANGE     API Bills of Material: Select BOM(s)    
    CS_CL_P_BOM_MASS_CHANGE     
    CS_CL_S_BOM_CHANGE_COMPLETE 
    Check and revert back,.
    Regards
    Mangalraj.S

  • Cannot select Item Type when creating new Backlog Items

    According to the documentation, when creating a new Backlog Item in TFS Online (https://www.visualstudio.com/get-started/create-your-backlog-vs),
    illustration #3 shows that you should be able to select the Item Type from a combo box. 
    However, I can’t.  Mine just shows “Product Backlog Item”. 
    How come I don’t have a combo box to select the Item Type? 
    I’m trying to create an item with a type of “Bug” as shown in illustration #4.

    Hi MBHunt,
    You can enable bugs in backlog by following the instructions in below picture.
    Or you can work with Bug WIT in the same level as Task WIT by selection option as below.
    Cheers!
    Chaminda

  • How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

  • Transfer/Conversion of Existing Open Item GL to a new Open Item GL

    Greetings,
    We're standardizing our banking GL accounts and as part of this we have to transfer open items and line items (line items from non-open item GL's to a new Open item GL).  What might be the best way to transfer multiple open items from one GL to another in an existing production client?
    thank you.

    old

  • What's the difference of Item Class value:Header and Line Item in AME Rule

    Hi All,
    when creating a Rule or Attribute,there is a Item Class property,which contains Header and Line Item two values.
    Can anybody pls help me clarify the difference?
    thx,
    edmund.

    This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
    Regards

  • How do I uninstall Firefox 4 & get previous version back? The new upgrade has problems & doesn't work for me.

    How do I uninstall Firefox 4 and get the previous version back?
    The upgrade has many problems and doesn't work for me.

    new version is the worst Firefox ever, no lip.

  • How do I get previously purchased downloads on my new ipod

    I had to replace my ipod due to theft. I have logged on and set up my new ipod but can not find previously purchased downloads now. Can I put them on my new ipod? If so, how?

    All your downloads should be in iTunes.
    Did you purchase the items on the iPod?
    If you did, did you transfer the purchases from the iPod to iTunes?

  • How we can check Item UNIQUE value at the time enter the value

    hi,
    check unique item value.When entering value.
    using record group.
    How?
    which trigger we can use?
    Thanks & Records
    venkat

    Hi!
    Do you want to check if a value already in your table?
    if so, use the when-validate-item trigger like this:
    begin
    if
      :your_block.your_item is null
    then
      return;  --> nothing to check, exit trigger
    end if;
    for l_rec in ( select 1
                      from your_table t
                      where t.your_column = :your_block.your_item
                      and ( :your_block.rowid is null OR rowid != :your_block.rowid )  --> if it is not a queried record
                      and rownum = 1 ) loop
      message ( 'The value ' || :your_block.your_item || ' is already in existence. Please enter another value or use our nice list-of-values.' );
      message ( ' ' );  --> shows an alert not only a message in the status line
      raise form_trigger_failure;
    end loop;
    end;Regards

  • Choosing Unique Values Generically and add respective data in Standard Input

    Hi,
    I want to send the unique data by generic checking and adding respective other data in case of Standard (X12) Input 850 Message.
    My Input :
    ISA*00* 00 *ZZ*THEM *ZZ*US 991221*1226*U*00401*000000025*0*T
    GS*PO*THEM*US*19991221*1226*1*X*004010
    ST*850*0001
    BEG*00*NE*3859199838**950727***IBM
    PER*AA*Andrew Carlson*TE*(708) 555-2930
    DTM*002*970523
    PO1*1*93*BX*145.39**CB*KOW-20392-10
    PID*F****Uninterruptible Power System
    PER*AA*Camilla Anderson*TE*(708) 555-2011
    PO1*2*25*EA*35.68**CB*ABX-2001
    PID*F****High Volume Printer Stand
    PER*AA*Miranda Cappelan*TE*(708) 555-1111
    PO1*3*4*PC*2002.91**CB*ABX-2001
    PID*F****Electronics Cabinet Package (56" High)
    PO1*1*2*BX*145.39**CB*KOW-20392-10
    PID*F****Uninterruptible Power System
    PER*AA*Camilla Anderson*TE*(708) 555-2011
    CTT*3
    SE*14*0001
    GE*1*1
    IEA*1*000000025
    My Expected Output :
    <OrderFile>
    <Order>
    <Header>
    <PODate>950727</PODate>
    <PONumber>3859199838</PONumber>
    </Header>
    <LineItems>
    <PONumber>KOW-20392-10</PONumber>
    <Quantity>95</Quantity>
    </LineItems>
    <LineItems>
    <PONumber>ABX-2001</PONumber>
    <Quantity>29</Quantity>
    </LineItems>
    </Order>
    </OrderFile>
    Need mapping link / functoids / XSLT code for this standard input 850 message.
    Need Urgently.
    Thanks & Regards
    Thanks &amp; Best Regards, Siddharth

    Hi John,
    Actually I need to
    put a unique check on PO1:07 element and need to add the respective PO1:02 element.
    1st PO1:07 = KOW-20392-10
    1st PO1:02 = 93
    2nd PO1:07 = ABX-2001
    2nd PO1:02 = 25
    3rd PO1:07 = ABX-2001
    3rd PO1:02 = 4
    4th PO1:07 = KOW-20392-10
    4th PO1:02 = 2
    Then as PO1:07 for 1st and 4th are same, then in the output there should be one <LineItems> with <PONumber> as KOW-20392-10 and <Quantity> should be added as 93+2 = 95
    Similarly as PO1:07 for 2nd and 3rd are same, then in the output there should be another <LineItems> with <PONumber> as ABX-2001 and <Quantity> should be added as 25+4 = 29
    I want to use the XSLT code but as input is X12 850 standard structure I am not able use the XSLT properly.
    It would be great if you can check the X12 4010 850 message standard structure and let us know how to implement this.
    Thanks & Best Regards
    Thanks &amp; Best Regards, Siddharth

  • How to get previous month's values for current month

    Hi..
    I have a requirement on a report, where for a particular month, the key figure value should be from the previous month.
    Eg: KF1 value for Sept 2007 should come from Aug 2007, KF value for Dec 2007 should be the value of Nov 2007, etc.
    There are other key figures on the report which do not need this logic. It is only for one key figure.
    Should we do this on the backend or front-end, and how? Any tips will be appreciated.
    Thanks
    R.

    hi,
    Use a Restricted Keyfigure.
    Drag your KF1 and Drag Calandar Month with a Variable Current Cal Month with variable Offset to -1.
    KEERTTHi

  • HT201272 I previously downloaded iphone apps and stored them on my phone and computer. Now I want to download them to my ipad but my iphone bit the dust. how can I get previously purchased apps to my new ipad.?

    I purchased an application that offered all kinds of books, imbedded within, at no cost...now on IPAD all like books, study guides, are imbedded for purchase. I dont see why I have to pay for the application twice...It was Olive Bible : offering on my phone at least 5-10 different  translation, plus 20+ books by the old Church preachers dating back to the reformation forward. Please advise how to access my iphone apps...already paid for...to install on my ipad.

    If they are still in the store and you are signed in with the same account (and they are compatible with iPads) then you should be able to download them on your iPad via the Purchased tab in the App Store app - you may need to tap the 'iPad Apps' button at the top left of that screen and select 'iPhone Apps' instead.
    Or if you have on your computer's iTunes you can connect the iPad to your computer and select it on the left-hand sidebar (on iTunes 11 you can enable the sidebar via option-command-S on a Mac, control-S on a PC) and then use the Apps tab on the right-hand side of iTunes to select and sync them to your iPad.

  • Enable/Disable item Based Value from Select in Tabular Form

    Hi Guys
    I want to Disable text field in Tabular form, Based on the Select List Item Value.
    Let's Say
    I'm having one select lista and text box in each record in tabular form.
    Select List having 2 items ... Add Text(return value 1) and No Text(return value 2)
    if value =1 then i want to enable text box , so user can enter value.
    if value=2 then text box won't allow to add text or will become disalbe.
    Please Help
    Thanks

    Hi,
    You can do this by using a small java script
    <script language="JavaScript" type="text/javascript">
    <!--
    function FldEnableDisable(pThis)
    if (pThis == 50)
      $x('P2_TEXT').disabled=true;}
    else
    { $x('P2_TEXT').disabled=false; }
    //-->
    </script>Here P2_Text is the text box whose value I am enabling or disabling based on the selected value from a List box. On The list box I have onChange="javascript:FldEnableDisable(this.value)" ( You can specify this under HTML Form Element Attributes)
    Thanks,
    Manish Jha

Maybe you are looking for