Solved

passing data between infopath forms within sharepoint

Posted on 2010-08-25
4
676 Views
Last Modified: 2012-08-13
I have 2 forms: form A is a master file that holds information about a client.  form B is call sheet agents fill out everytime they contact that client.  Inside form A there is a button that calls forum B (which is stored in a sharepoint document library). The agent fills out forum B and submits it to a sharepoint forum library.  I would like to be able to bring 2 fields (date, agent name) as well as provide a link to that completed forum B and insert them into a 3 column table in forum A when forum B is completed and submitted. The completed forum A is then submitted to a sharepoint forum library where it can be openned again to add new call logs. The result being forum A will have a list of call logs that an agent can click on to view.
What is the best way to accomplish this?  I am very new at infopath and sharepoint so please provide steps.
thank you in advance.
0
Comment
Question by:mattkennedy2010
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:clayfox
Comment Utility
For form B you should be promoting the fields you want to the Form Library. This is in the Form Options and in the submit data connection.

In form A you can create a data connection to B's Form Library.

Then drag it into form A as a repeating table. Use conditional formating to only show the forms in B library which match the customer in form A.

You should be able to create a hyperlink control that can open the XML of B directly. You can concate the SharePoint library URL with the title of the document and .xml.
0
 

Author Comment

by:mattkennedy2010
Comment Utility
Thank you for your reply.
You will forgive me, however, I am quite stupid.  Would you please detail the steps involved such as
-promptinfg fields
-draging into form a
-hyperlink to opne XML of form B
-concat shaerpont library url

thank you
0
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
Comment Utility
Look in the help or online for InfoPath property promotion

From the data source pane on the right you can drag in fields and create controls

Look in Help at the hyperlink control, you can have the source be a function or field

research the concat function.
0
 

Author Closing Comment

by:mattkennedy2010
Comment Utility
Although was pointed in the right direction, had to do most of the digging myself.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now