Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

To begin with the end in mind, here's what I need to do:
User A (employee) fills out infopath form in browser.
User A saves infopath form, workflow runs, and sends a link to the manager
User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
In InfoPath Designer 2010, created the form from Blank 2007 form template.
Published the form and promoted fields to Sharepoint 2007 as a new forms library.
Created a view on forms library to show all fields (SQLExportView1).
Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
Created SQL Agent job to run this package every 2 minutes.
Created workflow to notify manager.
Created excel document with an external data connection to SQL server.
In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
On Infopath form, added a hyperlink to the excel file which opens in the client.
In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
In excel, created a button on the workbook that displays the fields I want in the location I want
With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
looking at in infopath.
Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
Therefore, once I get this to work better for one excel document, I can add other excel documents.
I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

Clayton,
You rock - thank you for all your responses!
The infopath form was built doing what it does long before the need to get the data into Excel.
You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
you are familiar with:
http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
would be wonderful, but it simply is not a possible solution.
Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
When you do this, it changes the margins in the print area, and more.
If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
for each document, perhaps that is a better way of stating the need.
Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

Similar Messages

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • InfoPath web forms from sharepoint 365 submission - question about copying senders on submit

    I have set up a few InfoPath web forms.  I tested including an email field when the submit is processed it will also send a copy to the email address entered in that field.  I am just seeing if there are any options available for the user to
    be able to open the file after the attachment is saved from the email if they don't have InfoPath on their machine? any way for them to save as a word doc, pdf etc?

    Hi,
    As I understand, you want to know the attachment sent with the InfoPath form email can be saved as other file types.
    The attachment sent with the InfoPath form email will stored as XML files.
    If there is no InfoPath installed, we can export the XML data to Excel, Access or PDF.
    The article is about importing and exporting form data and form templates for your reference:
    https://support.office.com/en-us/article/Introduction-to-importing-and-exporting-form-data-and-form-templates-a79500f9-0dea-423d-a66b-4d6231c0c5e4
    Best regards
    Sara Fan
    TechNet Community Support

  • PDF File not opening in browser for sharepoint 2010

    Recently we have moved our web application from one server to another in Sharepoint 2010. Back up of entire web application was taken and restored in another server. But in the new server , the PDF files in the document library is not getting opened in browser.
    it always open in browser
    I have already made following changes but didn,t work
    Set browser file handling to Permissive from central admin
    Set "open in browser" in setting s of doc library
    Set the doc library file handling property using $docLib = $web.lists["Your Document Library Title"] $docLib.BrowserFileHandling = "Permissive" $docLib.Update()
    Added "AllowedInlineDownloadedMimeType.Add("Application/Pdf") in web app
    Installed Adober eader in client machine
    Even after trying all these, the PDF files are still opening in Client application(Adobe reader) but not in the browser
    It would have been great help if anybody provide a solution for this. I have been banging head on this for two days

    It would be handy if you didn't double post too.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/81ed0362-4033-4a31-b265-c1aba43c3d14/pdf-file-not-opening-in-browser-for-sharepoint-2010?forum=sharepointadminprevious
    To answer your question, you've tried most things that I normally see working, but there may be an extra solution here for you.  The solution 2 Powershell that deals with updating the Inline MimeType may help.
    http://www.pdfshareforms.com/sharepoint-2010-and-pdf-integration-series-part-1/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Submitting a pdf form to a SharePoint 2010 library

    Hello,
    I have a pdf form that was created in Adobe LiveCycle. Right now the submit form button it configured to send the form to an email address. I need to be able to submit the form to a SharePoint 2010 document library but I can't get it to work. I get to the point where I can select the document library. A test document is send with "Testing Writeablility" inside but I am not able to click next to finalize the process. I have included a picture of where I get stuck at.
    Is it possible to have a submit button send the form to a SharePoint library?
    If it is can anyone please explain what I am doing wrong?
    Thank you very much.

    In case you need more, than just to save form in library as a file... Take a look on www.pdfshareforms.com. PDF Share Forms is a product wich allows to integrate PDF forms to SharePoint. It provides very powerful functionality: bi-directional data sync between form fields and SharePoint columns, offline support, digital signatures, workflows, etc.

  • SharePoint 2010 and Outlook Integration

    Hi All:
    I have a question about SharePoint 2010 and Outlook Integration, My Question is:
    How can I develop a webpart which can open my client Outlook Client Application??
    Thanks ...
    Will

    Hi Tim, 
    Depending on what you want to achieve, you can use EWS (Exchange Web Services) to manage email on an Exchange mailbox.
    I blogged about adding and removing appointments from an Outlook calendar using EWS here: http://matthewyarlett.blogspot.com.au/2012/07/using-ews-exchange-web-services-in.html
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • ERROR: Your web form must capture customer name and email address.

    Hi,
    I keep receiving this error message when trying to checkout and submit a payment.
    ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page.
    The strange thing is it's only happening in chrome. It works perfectly in IE and firefox, the form submits and takes me to the order confirmation page. I've tested it on multiple PCs so it's definitely a chrome issue. Does anyone have any advice as to what could be causing this issue with chrome?
    Thanks,
    Pete

    Check your eCommerce web form in the admin has the ID - 211729
    This is what the form ID is, if you have deleted it and made a new one it will not Marry up
    The things you normally look for with this error is The first name and last name along with email fields have the right ID and name parameters on the input. The javascript is picking those up so it looks like that is working.
    So next is the form in the admin marrying up with the form on the page or in this case the Registration Buy layout.

  • How do i fix the "web form must capture customer name and email address" error?

    Hi all,
    I have a webform that is submitting securely to the bc servers. I get the response:
    {"SystemMessage": { "success": False, "message": "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page." }}
    I have verified that the "FirstName","LastName","EmailAddress" are actually gettting sent with their corresponding values. I can't seem to figure out why i keep getting this error. Can someone please lend a helping hand?!? Thanks guys... here's my code:
    var rAction = 'https://site.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=85886&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}&JSON=1';
    var rData = 'FirstName='+escape(fName.val())+'&LastName='+escape(lName.val())+'&EmailAddress='+escape (email.val())+'&Username='+escape(username.val())+'&Password='+escape(passwd.val())+'&Pass wordConfirm='+escape(passwd2.val())+'&BillingAddress='+escape(baddress.val())+'&BillingCit y='+escape(bcity.val())+'&BillingState='+escape(bstate.val())+'&BillingZip='+escape(bzip.v al())+'&PaymentMethodType='+escape(paymentMethodType)+'&CardName='+escape(cName.val())+'&C ardNumber='+escape(cNum.val())+'&CardExpiryMonth='+escape(expMonth)+'&CardExpiryYear='+esc ape(expYear)+'&CardType='+escape(cType)+'&CardCCV='+escape(ccv.val())
    $.ajax({
    type: 'POST',
    url: rAction,
    data: rData,
    success: function(msg){
    console.log('success');
    $('#result').html(msg);
    error: function(msg){
    console.log('error');
    $('#result').html(msg);

    Ok -- after testing this out a little on my own I think it must have to do with not properly serialzing the data you are passing in the ajax function.  In the example I linked to earlier they are just serialzing the form data and it works because it converts the data in the form's input fields to URL encoded notation.
    If you aren't using an actual form on your site to mimick the example I linked to then when building your "rData" string instead of using the "escape" function for each of the parameter values, you should be using the "encodeURIComponent" function instead which instead of escaping characters will convert it to URL encoded notation.  That's probably your issue. Here's more about encodeURIComponent(): http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
    Try this with the rData variable instead:
    var rData = 'FirstName='+encodeURIComponent(fName.val())+'&LastName='+encodeURIComponent(lName.val()) +'&EmailAddress='+encodeURIComponent(email.val())+'&Username='+encodeURIComponent(username .val())+'&Password='+encodeURIComponent(passwd.val())+'&PasswordConfirm='+encodeURICompone nt(passwd2.val())+'&BillingAddress='+encodeURIComponent(baddress.val())+'&BillingCity='+en codeURIComponent(bcity.val())+'&BillingState='+encodeURIComponent(bstate.val())+'&BillingZ ip='+encodeURIComponent(bzip.val())+'&PaymentMethodType='+encodeURIComponent(paymentMethod Type)+'&CardName='+encodeURIComponent(cName.val())+'&CardNumber='+encodeURIComponent(cNum. val())+'&CardExpiryMonth='+encodeURIComponent(expMonth)+'&CardExpiryYear='+encodeURICompon ent(expYear)+'&CardType='+encodeURIComponent(cType)+'&CardCCV='+encodeURIComponent(ccv.val ())

  • SharePoint 2010 + Dynamics GP + CRM + Excel Data

    Hi
    I have a request from some of the teams at my company and I am wondering if it is possible without too much development outside of SharePoint and how it can be achieved.
    Basically we want to create a customer profile for each customer the company has and this data is currently stored in Microsoft CRM, Microsoft Dynamics GP and some is in Excel spread sheets.
    So I would need to pull all this data from the respective databases and the spread sheets and display it on SharePoint somehow. We are currently using PerformancePoint services to display sales data but I don't know if PerformancePoint is the right tool
    to use for this customer profile. To me it seems like it mostly displays numerical data while this profile would have a lot of customer information like contact details, rating, contracts etc.
    So my question to you guys is...what tool is in place in SharePoint to display this kind of data? Would it be SQL Server Reporting Services? Keep in mind that the data needs to automatically update on SharePoint at some sort of interval to represent changes
    in database data or new additions.
    Thank You!
    Tudor

    Hello,
    I am surprised that no one responded to your request, since all four of these applications intersect (usually) at some data point(s).
    There are several solutions depending on which versions of these applications you are still using.  For example, in SharePoint 2010, you could use BCS to display data from the Account Table in CRM (display - not edit) in one web part.
    What data is stored in the spreadsheets?  Is it feasible to move it to CRM or SharePoint?  The less sources, the less complicated.
    From how you are describing it, you can probably leave PPS in place, but add other web parts to make a "data page" in SharePoint by customer. 
    SSRS would be a static report, and requires integration with SSRS, and customization of reports.  There is also PowerPivot which can be implemented in SharePoint 2010, and it can display data from multiple tables and is more interactive for the user. 
    Lastly, PowerView is also an option, but a better option in SP 2013.
    These are just suggestions, not recommendations, that you will need to explore further before deciding which solution works best for your organization, data and users.
    Regards,

  • How to enable the SharePoint 2010 and 2013 Developer Dashboard for specific WebApplication or Sitecollection?

    How to enable the SharePoint 2010 and 2013 Developer Dashboard for specific Web Application or Site collection(not for all Web Application)?
    Vishal Goyal

    Hi Vishal,
    I don't think there is option for specific site collection or web application,but there is option of enabling developer dashboard on specific master pages and that is one on of the way you could do it.
    look article on below link to enable developer dashboard on specific master pages
    https://msdn.microsoft.com/en-us/library/office/ff512745%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Let me know if this helps.
    Thanks
    Bhism 

  • Slipstream SharePoint 2010 and Project Server Installation

    Hello, 
    I have my current farm environment with the below configuration 
    SharePoint 2010 + Project Server which are on SP 2 + Brazil Language Pack
    2 WFE
    2 App
    1 SQL
    We are planning to add more WFE and App server in the existing farm. As per my research I found that we can slipstream CU and language pack install. 
    Would like to know can I slipstream SP2010 + Project server with SP2 along with Brazil language pack in one single go. I did found the article http://social.technet.microsoft.com/Forums/en-US/c6f60e5e-4f07-4e92-a8de-a32924b00ce5/sharepoint-2010-and-project-server-2010-slipstream-install?forum=sharepointadminprevious
    however in this case there was request to setup a new farm but I'm trying to add new server to the existing farm. 
    Can you please suggest the best approach that can be followed to save time to add the new server to the existing farm using slipstream. 
    Thanks. 

    You can do the same per the old thread. Just install SharePoint server, cancel config wizard, install Project Server, cancel config wizard, install LPK, then start Config Wizard and join to farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Migration steps for moss 2007 to sharepoint 2010 and sharepoint 2013

    Hi,
    I need to learn migration steps from moss 2007 to sharepoint 2010 and sharepoint 2013.Can any one please explain the step by step procedure for this.What are the migration tools available.Please reply.
    Regards,
    Praveen

    Hi Praveen,
    This link describes the process:
    http://www.winwire.com/moss-2007-to-sharepoint-2013-migration-using-database-attach-method/
    Some paid tools for migration:
    https://www.harepoint.com/Products/HarePoint-Content-Workflow-Migrator/Default.aspx?gclid=CM2l1v3m28MCFRVxvAodpq0AVA
    https://www.avepoint.com/sharepoint-migration-download/?gclid=CPK17_fm28MCFQ1xvAodekAA8w
    Thanks,
    Nadeem
    Please remember to up-vote or mark the reply as answer if you find it helpful.

  • Adding Controls dynamically in the Infopath/Web form with dynamic controls

    Hello,
    The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
    if not possible then using customizations and SQL server.
    User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
    1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
    columns user can enter , how columns(static) will be created in the list ??
    2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
    we can manage it in SharePoint List OR any custom solution  ?  
    3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
    solution  ?  
    Vipul Jain

    >Lets say , the data for user selection is stored in two separate lists
    secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
    then you may use lookup column or would need to create two seperate data connection.
    >Do you think its a right approach ?
    multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
    >I'm planning to propose a custom .net form
    Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SharePoint 2010 and InfoPath 2010 - Load data from another form

    Hello,
    I have two questions on this topic.
    Is it possible to open an empty InfoPath form and give the user the option of loading it with data from a previously submitted form?  They want the ability to save some time of filling in some fields that were entered in an earlier form.  Any description
    of how or a link would be appreciated.
    Also, if I create an InfoPath form template in a SharePoint Form Library like above, the user would like to be able to have multiple forms associated with each other.  There would be some key that packaged them with each other.  Then from within
    one of the form, there would be an option to submit the whole "package" at once.  All the forms associated with that one key.  Again, any examples or links would help.
    Thank you!

    You can use InfoPath Query Data connection to point to a library / list where your data is located.
    For loading data, you should be using Form Load event, and then populate ID's to a Drop down list.
    when the user selects the ID from the Drop Down list, you can write another rule to query data based on the ID's from the list and store the values in your current form.
    For the second question, you should try creating a single form with multiple views. and show hide views based on user or business logic.
    You can write multiple submit rules to submit Form data to different different library / list.
    here are some links for your reference -
    Add, delete, and switch views (pages) in a form
    http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
    Add a data connection to a SharePoint document library or list
    http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx
    Automatically query by using a data connection
    http://office.microsoft.com/en-us/infopath-help/automatically-query-by-using-a-data-connection-HP001100271.aspx
    SharePoint List Data Connections in InfoPath 2010
    http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • Starup Web form hangs under 9ias REL2 and 9iDS

    We have an application that runs fine under some browser clients with 64MB and Pentium 2 processor and hangs sometimes on the same machine. there is no error message generated. Forms are migrated to 9i forms from charcter mode and the database is 9i and the app server is 9iAS.
    Any info is appreciated.
    Thanks,
    Srinivas

    Srinivas,
    What do you do to recover from this? If you can work with the application after restaring teh Browser, then definitively its a memory issue on the client. Forms Forms9i I would recommend 128 MB, especially because its a pure Web environment. The Java Virtual machine (Browser native or Jinitiator) requires approx. 90 MB to work performant.
    frank

Maybe you are looking for