extract infopath xml data into excel - sharepoint-2010

Hi I have a sharepoint library, in which first column is a InfoPath xml column. There are around 2000 xmls in the list. I want to export the data from InfoPath in excel, but using "Export to excel" I am getting all columns of library in excel with first column data as InfoPath path

SharePoint 2010 does not have a column type of "InfoPath xml column". SharePoint libraries have files. The contents of InfoPath forms are stored as xml files within a SharePoint form library. You're asking for a way to open all files in a SharePoint library as text files, then take their contents and paste them into an Excel column? That functionality is definitely supported out of the box. Depending on your skillset, you could make an Excel macro, create form code to export the xml through InfoPath, or use PowerShell to scrape the data.

Related

Customize ribbons for every MS Word document

I am new to development with VBA. I am working on a project based on MS Word macros.
Lately, I have been trying to create ribbons to access certain functionalities, but I have got limited success in it.
I want to customize ribbons using XML which should appear on all MS Word files and not the one I have used to customize ribbon.
Is there any way to create any XML file that can be utilised by all MS word documents without having to customize each one of them.
Thanks..
Regards
The answer for this is essentially the same as for making macros available to all documents:
Store the Ribbon in a template (together with the macros, so a dotm) and load it as an Add-in.
If it should load automatically, that means placing it in Word's STARTUP folder.

Excel and Sharepoint integration

I can't really find a clear answer or solution for my problem.
What I have is the following: An excel file where a user inputs data in a UserForm and that data is then added to a table in this same excel file. Multiple users will get such an excel file so that they can add data on their own.
What I want to do is to aggregate this data in my own Excel file. Or Sharepoint List. I don't really prefer any option as both would work for me.
The user excel file is done and works. All that is left to do is to send the data in the table to a sharepoint list by clicking a button on the excel file.
I am able to import the excel data to sharepoint just fine, but I want the user to be able to "upload" the data to sharepoint by clicking a button. I did find code for that but it appears to be outdated as some functions are not used in Sharepoint anymore.
Does anyone have a solution or an idea how I can create a button in my excel sheet to send the data from several excel files (each with their own button) to a singular sharepoint/excel file (which would be my file).
I have been looking for days and tried powerapps, sql, acces and other approaches but none worked as they should.
Thanks!

Generate PowerPoint presentations with Excel sheets / charts embedded in it programatically

So what my client wants to accomplish seems pretty simple. We will have PPTX file template with a few Excel sheets embedded in it, and a few charts too.
We have created such template file. We are able to extract it, update excel files that sit in ppt/embedded directory with new ones, and pack it back.
The problem is, the display values of the tables or charts do not update automatically when such file is opened. You have to double click on a spreadsheet table or chart to trigger "edit mode". When you leave it the charts are updated.
We figured that internally, PowerPoint is doing screenshots of tables or charts, and uses it to display presentation. This is probably to allow presentation players that do not come with Excel to correctly render the presentation with embedded sheets.
Is there a way I can programatically update the screenshots of tables/charts? Is there some sort of API from Microsoft that would allow me to do that, like "MS Office API".
Maybe there is some way to have MS office configured/scripted, so I send it a file, it runs a VB script on it and returns updated value? I figured I can actually trigger update to screenshots with VB script. But I don't know if I can orchestrate Office program to do what I want.
Help? :)

SQL Microsoft Visual Studio 2010 - Wrap Text when Exported to Word

I am creating a report using Microsoft Visual Studio 2010 and needing the exported Word document to wrap text in the table's cells as the user's will be inputting data into these table cells once exported.
I have googled and even searched SO for information, but cannot find the property values or the correct VB code to enable these features.
Please help?

How to create a TWo Column page in pdf using VB.net 2010

How can I create a pdf file that has two column?? I have a text file that I copied to a pdf file and I want the data to appear in a two column format. Im using VB.net 2010
thanks