Solved

passing data between infopath forms within sharepoint

Posted on 2010-08-25
4
681 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
ID: 33535473
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
ID: 33535963
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
ID: 33536659
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
ID: 33536938
Although was pointed in the right direction, had to do most of the digging myself.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

828 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