Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 903
  • Last Modified:

Infopath Export to Excel does not work

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
unknown_routine
Asked:
unknown_routine
  • 4
  • 4
1 Solution
 
TommySzalapskiCommented:
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
 
unknown_routineAuthor Commented:
Above "Almost" works.

I created a view

First Name  
0
 
unknown_routineAuthor Commented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TommySzalapskiCommented:
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
 
TommySzalapskiCommented:
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
 
unknown_routineAuthor Commented:
Ok Thanks.
0
 
unknown_routineAuthor Commented:
Curious to know where did you see the XML.
0
 
TommySzalapskiCommented:
On the right side in Excel it opened up the XML dataviewer thing.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now