Add Multiple Detail Items Using the Same Query String Parameter

I am using InfoPath 2010 and SharePoint 2010. 
I have 2 forms libraries - Expense and Expense Details. 
The 2 libraries are linked via a custom site column Expense ID. 
The Expense form contains the main header type info you would typically find on an expense report; e.g., name, purpose, department, etc. 
The Expense Details form contains multiple detail expenses related to the main expense report such as airfare, rental car, etc. 
I have created a page that displays an expense report with all of the related expense detail items. 
The page contains a link to add a new expense detail and passes the Expense ID of the Expense form to the Expense Detail form. 
This all works fine.  The problem comes in after the first expense detail form is submitted. 
I can successfully submit the first detail item.  However, the expense detail form loses the Expense ID that was passed to it after the first expense detail form has been submitted. 
The parameter still shows in the URL but the detail form no longer shows the value of the parameter. 
What do I need to do in order to be able to add multiple expense detail items using the same Expense ID that was passed to the form? 
I have tried using a Submit Behavior of Open a new form, Close the form, and Leave the form open. 
None of these options give me what I need.  Thanks for your help.
pam

Laura Rogers Blog
In case anyone stumbles upon this looking for an answer. Laura Rogers has the answer found in the comments section of her blog above.  It’s not the best but it
does work. You have to add an extra Info Path Web Form for it to work. I know, you can roll your eyes.<o:p></o:p>
Steps.<o:p></o:p>
1. Add Query String<o:p></o:p>
2. Add the extra Info Path form to the page. This form will be a hidden on the page and will receive the value from the query string.<o:p></o:p>
3. Add your original Info Path form and have it receive a parameter from the hidden Info Path form.<o:p></o:p>
Now, when you hit save and it opens a new form the 3 Info Path form will function properly. <o:p></o:p>

Similar Messages

  • Creating multiple tab reports using the same query in Web intelligence

    Hi All,
    I have created a Universe on a BW Query which has fields as below
    AGE  Depaatment  Gender  Grade
    25       FIN                M            A
    27       LES               F            A+
    60       SWS            M             A++
    Based on this data i have created a WEbi report which shows all of these data under one tab.
    Now i create a new report tab in the same Webi Document by right cliicking the existing report and going to inset report and saving it.
    Similarly i create two more new report tabs.
    in each of these tabs i want to show data only for the concened departments.ie =1st report contains all the departments.
    2nd report contains only finance data, third contains only Les data  and fourth only SWs Data.
    Is it possible to create this report using the same query?
    Regards,
    Raj.

    You should use report filters, not query filters.
    A query filter will affect the entire document. Every report tab that pulls data from that query will be impacted. If you start with a single report, by default it shows the data from the query. If you duplicate that report tab, then it's still attached to the first query. There are various ways to create report filters (input controls, quick filter, invoking the filter area from the toolbar) and a report filter impacts only blocks on that report tab. You can even create block filters by clicking on the block first, then creating your filter.
    This is a fairly confusing bit for folks that are new to Web Intelligence.

  • Same material can exist on multiple line items for the same order.

    Hi
    Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
    Regards

    No.
    But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
    Eawar Ram
    http://www.parxlns.com

  • What happens on iCloud (ex. contacts) when multiple family members use the same Apple ID?

    What happens on iCloud when multiple family members use the same Apple ID?  For example if we all choose to use iCloud for contacts, are they all merged together?  We use the same Apple ID so we can use find my iPhone to keep track of the whole family.

    Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
    You can only unravel this by
    1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
    2. Sign out of System Preferences>iCloud
    3. Create a new Apple ID and open a new iCloud account with it for your own use.
    4. Import the vCard back into the iCloud contacts page.
    5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
    6. Go to the new iCloud account and delete his contacts individually.
    Of course if you have also been syncing calendars and using the same email address there are problems with doing this.

  • Can multiple APEX application use the same parsing schema?

    Hi,
    I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
    Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
    I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
    Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
    Thanks in advance!

    Hi,
    Multiple applications can have same (one) parsing schema.
    You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jan 28, 2013 7:15 PM

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • Multiple Details Sections in the same report

    I'm trying to take two different columns from a fact table, and display them in one column on the report. So I'll then have the charge quantities (grouped and summarized) listed above the charge amounts (grouped and summarized) across months (columns).
    Is there any way to have multiple detail sections in the same report, something like below? I tried sub reporting, but you can't subreport a subreport. I also tried cross tabs, but they're not flexible enough in the groupings I'm looking for.
    Report Header
    Group Heading 1
    Details
    Group Footing 1
    Group Heading 1
    Details
    Group Footing 1
    Report Footer
    Thanks!!

    Hi,
    Inorder to create new  Group Header sections like Group Header a and Group Header b.There are two options
    ->In the design mode of the crystal reports,Rt.click on the Group Header section-Choose insert section below
    OR
    ->From the Expert tool bar->select the Selection Expert,choose the Group Header->click insert button

  • Question about multiple resource objects using the same OID target account

    In Oracle Identity Manager 11g with OID connector as a target system.
    Is it possible to create multiple resources that use the same OID IT Resource. Each resource is responsible for provisioning certain OID attributes of the same OID account. For example 'OID User' would provision the basic account and a separate resource called 'Department1 User' would provision attributes not provisioned by OID User.

    Yes, definitely. Here is how it would work:
    - You would have to make sure that the resource OID User always gets provisioned first, so that the account exist when these additional attributes are being set for the user via the other resource Department1 User. You can do this with Resource Dependency in OIM.
    - Now for using the same IT Resource, just create the new form and in the IT Resource type form field, map the properties to the same IT Resource Definition, so when the Provisioning Process gets invoked it uses the same IT Resource instead.
    Thanks
    SRS

  • Changing multiple keychain items to the same password

    I work in a corporate environment that uses a Windows server with Active Directory to manage the company network.  Macs are integrated to the network, but Open Directory is not being used.
    The login for the Macs is the same as the network name and password.  Whenever your password is changed on the network, you must update your login keychain to use that password too.  The problem comes with other applications, such as Entourage, that use the same network password but store it in a separate keychain item.  When the login keychain is updated to the new network password, the keychains for these applications are not and must be manually changed.
    Is there any way to synchronize login passwords to keychain items?  Is there a script capable of changing multiple keychains to the same password automatically?  Is there third party software that is able to accomplish either task?  A solution not mentioned?
    Our company is currently using Snow Leopard but plans to migrate to Lion soon, so solutions for any platform are welcome. 
    Thanks to anyone that is able to provide information. 
    Regards,
    JL

    Hi Nishanth,
    1) how to pass value one by one
    in select options..we will be filtering the values in some table..example if s_ebeln is our select-options...then we will be doing a select..like...............
    select fields from vbak into int_vbak  where ebeln in s_ebeln
    so if in the table int_vbak if field ebeln is there ..we will know which all ebeln is there..............
    i.e,if range is 1 to 100 for s_ebeln and 1,2,99 are the only 3 ebeln present in table vbak as of now ...................
    then in select query , we fetch ebeln into int_vbak as an additional field( if it is not a "select *")  we will get all the 3 ebeln 1,2,99 into int_vbak.....so we can pass these fields one by one by looping at int_vbak and appending it to fresh internal table..........
    declare an internal table with ebeln as the field..loop and do the append
    *****putting values of ebeln into a new internal table
    loop at int_vbak.
    wa_ebeln = int_vbak-ebeln.
    append wa_ebeln to int_ebeln.
    endloop.
    *******delete duplicate entries
    sort int_ebeln.
    delete adjacent duplicates from int_ebeln.
    2) how to append and join the data in the v_postab
    First..... declare another table same as v_postab say,v_postabfinal as example...........
    after each "call function"...in the loop ...do the following...
    loop ....
    refresh v_postab[].  "clear before each fxn call
    call function XXXX.
    if v_postab[] is not initial.
    append lines of v_postab to int_postabfinal.
    endif.
    endloop........
    what this append statement does is that every time the internal table has some values..it adds these lines to v_postabfinal without deleting the old entries...so you will have all the values with respect to each value of select-options passed..
    Hope i have made the idea clear with these examples
    Pls check and revert
    Regards
    Byju

  • Multiple presentation servers using the same RPD

    Hi everyone,
    So as most people know, the iPhone has a cool app that allows you to login and look at your OBIEE content. In theory it's really cool, but as it turns out, a lot of the cool graphs default to Flash and Flash is not supported by the iPhone.
    Using a flag in the instance config file, its possible to default all graphs to png's instead of Flash. But that causes all the interactive drillability to go away since it's just a flat picture.
    It seems that an elegant solution to this issue would be to have two presentation services running; one that defaults to Flash and one that defaults to png's. Then let the OC4J container determine if the device accessing the website is a mobile device or a full client browser. Mobile devices get routed to the png's and non-mobile devices go to the standard Flash page.
    Although not supported by Oracle, it is possible to setup multiple presentation services on the same server. In fact, RNM has a great blog about how to accomplish this (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/).
    I was able to setup two presentation services (AnalyticsWeb and AnalyticsMobile) and point them at the same catalog folder. That way you don't have to duplicate you're work.
    The one thing I couldn't figure out how to do was to point them at the same RPD file. Ideally, we would have one rpd file with the master metadata definitions, and both presentation services would drive from that single RPD. However, the BI Server throws and error of the same RPD appears twice in the NQSConfig.ini file. I also created a shortcut to the master RPD, but upon startup, the BI Servers said that it was not a valid repository file.
    Worst case scenario, I could just use copy & paste to duplicate the single repository. And then each time I updated one, I would just need to delete the other and re-copy. But that seems a little tedious and I was hoping for a more elegant solution.
    Does anyone know how I could get the NQSConfig.ini to let me point to the same RPD twice? Is there some kind of symbolic link or image I could create?
    If it helps, I'm working with OBIEE 10.1.3.4 on a Windows Server 2003 environment with the OC4J standalone container.
    Thanks for the help!
    -Joe

    Hey Everyone,
    Just to add the finishing touch to this thread, the following can be implemented to perform the redirect based on mobile versus traditional PC devices.
    In the folder: C:\OracleBI\oc4j_bi\j2ee\home\default-web-app
    I created the following OBIEE.html file
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en,us">
    <HEAD>
    <TITLE>Test OBIEE Redirect Page<TITLE>
    </HEAD>
    <BODY>
    <script type="text/javascript">
    var agent = (navigator.userAgent).toLowerCase();
    var weburl = './analytics/';
    var moburl = './analyticsMobile/';
    var reg_exp = /(ipod|iphone|android|opera mini|blackberry|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|windows ce; ppc;|windows ce; smartphone;|windows ce; iemobile|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|pda|psp|treo)/;
    if( reg_exp.test(agent) ) {
         window.location = moburl;
    else {
         window.location = weburl;
    </script>
    </BODY></HTML>
    The javascript gets the USER agent variable and does a regular expression match to see if it's any popular handheld device. If so, it redirects them to the mobile address. Otherwise the user is directed to the standard site.
    All I need to do is pass around the URL:
    http://localhost:9704/OBIEE.html (instead of the standard http://localhost:9704/analytics)
    And users will be dynamically sent to the correct location.
    thanks everyone!
    -Joe

  • How do i manage multiple ios devices using the same apple id

    how do i keep my iphone and ipad private while using other devices with the same apple id?

    if you want to share app don't use the same appleID use family sharing
    if you do use the same appleID turn off imessage and be prepared that you will never be able
    to message between the devices or use facetime between them in the world of apple the appleID is 1! indentity

  • HT5538 How do you separate multiple iOS devices using the same apple id account for Face Time calls and iMessaging?

    How do you separate multiiple ios devices using the same apple id account for Face Time calls and iMessaging?

    The only way I have seen is to have each device use a if fervent email account, if they all are on the same email the FaceTime connection is either to a phone number or to an email address.  If they ar all on the same email, it is up to the user to decide which to use.

  • How to sign multiple jar files using the same certificate..?

    hi,
    I want to run my application using Java Web Start.. i am using around 16 different jar files out of which around 13 are 3rd party component jars. I want to sign these jars using the same certifcate..., i am using the follwing code to sign the jars:
    (for the jar file ischeduler.jar)
    keytool -genkey -alias signFiles91 -keystore dtss -keypass dtss1351 -dname "cn=dtss" -storepass decisioncraft
    jarsigner -keystore dtss -storepass decisioncraft -keypass dtss1351 -signedjar signedischeduler.jar ischeduler.jar signFiles91
    keytool -export -keystore dtss -storepass decisioncraft -alias signFiles91 -file ischeduler.cer
    keytool -import -alias DCA2 -file ischeduler.cer -keystore Impischeduler -storepass ischeduler
    (for the jar file ischedulerclient.jar)
    keytool -genkey -alias signFiles92 -keystore dtss -keypass dtss1351 -dname "cn=dtss" -storepass decisioncraft
    jarsigner -keystore dtss -storepass decisioncraft -keypass dtss1351 -signedjar signedischedulerclient.jar ischedulerclient.jar signFiles92
    keytool -export -keystore dtss -storepass decisioncraft -alias signFiles92 -file ischeduler.cer
    keytool -import -alias DCA3 -file ischeduler.cer -keystore Impischeduler -storepass ischeduler
    but when i use the above signed jars in my application i get an error saying:
    "jars not signed by the same certificate"
    can someone plz tel me wher is the error....thanx
    andy

    Well for mulitple signing of jar files you can use ANT tool. Its easier and faster.
    Regarding the present problem -- hmm.. well it looks like you are using 2 different alias names for signing the jar file. Try using the same alias name and that might solve your problem.
    regards
    Saby

  • Can I have multiple Ipad airs using the same i tunes account?

    Can I have mutiple Ipad Air using the same I Tunes account?

    Yes. Are you also talking about them using the same Apple/iTunes/iCloud ID for signing on?
    GB

  • How can pass the Maximum query String parameter in browser.....?? (URGENT)

    hi Guys,
    i make the application, in which lots of data record with id, whenever i clicked to the SUBMIT button, it wil forwarded to the next page.
    But The problem is.....when we pass the 30 id in a query string parameter that' fine but when it is incresing it is not transfaring to the next page. how i can do this.
    As per the concept EVERY BROWSER HAVING THE LIMITATION..
    hope all of u help me.
    saM

    hey all of you are saying right..!!
    But you know the doPost() method having the limitation, that is
    1 MB. so how can i used this method.
    I know the second way....Like make the hidden control with mantain the session, but i can not use this(Client do't want this).
    so please guys help me........
    saM

Maybe you are looking for

  • Length of a field in a structure

    Hi, Is there any restriction on the length of the field in a structure which is CHAR type ?? Thanks.

  • Setting up wireless network with 2x airport extreme ac

    I've got a business customer with 2 new Airport Extreme 802.11 AC behind a comcast modem. When the first extreme is set up, all is well. When the 2nd Extreme is introduced, Airport Utility asks to automatically wirelessly extend the network, which I

  • Problem Opening document in New Window

    Hai all, in my JSP page i have a link. the link path i am getting from database which is actually a word document present in a local drive. to open the file in a new window i have written the code like this <a href="<%=docPath %>" target="_blank">Ope

  • Distribution point - question

    Hi 1. Is there a way I can control the bandwith between 2 sites regarding the distirbution point syncronization Requirement: Pirmary Site --> Send packages to standard distribution point (server DP)  "Link is 3  mb bandwith" and I want to limit 50kb

  • Active Directory Script-Find if users exist

    Import-CSV "L:.\Users.txt" -header ("UserName") | % {    $UserN = $_.UserName    $ObjFilter = "(&(objectCategory=person)(objectCategory=User)(samaccountname=$UserN))"    $User = Get-ADUser -Filter {sAMAccountName -eq $UserN}  $objSearch = New-Object