Solved

Infopath Export to Excel does not work

Posted on 2010-11-10
8
894 Views
Last Modified: 2012-05-10
Infopath Export to Excel does not work.

I have a infopath form with 2 tesxnbox  on it. They data is  ABC  and FGT.

When I use export to Excel I see an excel file opens and data are:


ns1:field1      ns1:field2      ns1:field3      ns1:field4      ns1:field5      ns1:field6      ns1:field7      ..


Am I missing something?

0
Comment
Question by:unknown_routine
  • 4
  • 4
8 Comments
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 100 total points
ID: 34103236
You could create a custom view to export. The steps below are from MS http://office.microsoft.com/en-us/infopath-help/tips-for-getting-the-most-out-of-export-to-excel-HA001122791.aspx

In design mode, click Manage Views on the View menu.
Under Actions in the Views task pane, click Add a New View.
In the New view name box in the Add View dialog box, type a name for the new view.
 NOTE   Be sure to give the view a name that clearly identifies its purpose for your users. For example, you can name it Data to Export.

Copy and paste the controls that collect the data users will need to export into the new view.
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34103808
Above "Almost" works.

I created a view

First Name  
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34103821
Above "Almost" works.

I created a simple view :

First Name      Last Name

Joe                 Smith


In Excel it shows as :


Nam (my:myFields/my:Nam)      LNam (my:myFields/my:LNam)
Joe                                                 Nash


Do you know how to get rid of   addtional entires: my:myFields/my:Nam   ??




0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34103942
Is there no option to just show the simple header names in the export wizard? Hang on and I'll try to connect to my computer that has infopath and see if I can find it.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34104159
Ah. It's pulling the names from the XML so you really can't change that. The headers will look like that unless you change them in Excel after exporting.
(You could probably write a complex macro to do this for you, but I'm guessing it's not worth it).
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34104852
Ok Thanks.
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34104870
Curious to know where did you see the XML.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34104950
On the right side in Excel it opened up the XML dataviewer thing.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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