Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

IQY query to web XML file that behave like a sharepoint IQY query.

$
0
0

Hi,

I need to generate some IQY files that will get XML data (I'm generating this XML so I can modify the complete schema and hierarchy of this XML file). But when opening this IQY file, I wanted the user to have a formatted table (in a dataTable) with still the connection to the distant Data (the XML file).

Currently, I can generate a simple IQY that import the data without formatting the table:

 

WEB

1

http://localhost:27312/Poc/Export

 

Selection=EntirePage

Formatting=None

PreFormattedTextToColumns=True

ConsecutiveDelimitersAsOne=True

SingleBlockTextImport=False

DisableDateRecognition=False

DisableRedirections=False

But I need to generate a formatted table (a datatable), like in the SharePoint queries that we used to have in another application on SharePoint which was like:

WEB

1

https://site.com/SP_API/owssvr.dll?XMLDATA=1&List={CE127285-B596-4EB4-B5DA-C442E387E92D}&View={C7686794-C676-4053-876F-A6BADD3553A0}&RowLimit=0&RootFolder=%2fARP%2fLists%2fBusinessNeed

Selection={CE127285-B596-4EB4-B5DA-C442E387E92D}-{C7686794-C676-4053-876F-A6BADD3553A0}

EditWebPage=

Formatting=None

PreFormattedTextToColumns=True

ConsecutiveDelimitersAsOne=True

SingleBlockTextImport=False

DisableDateRecognition=False

DisableRedirections=False

SharePointApplication=https://site.com/SP_API

SharePointListView={C7686794-C676-4053-876F-A6BADD3553A0}

SharePointListName={CE127285-B596-4EB4-B5DA-C442E387E92D}

RootFolder=/API/Lists/BusinessNeed

Is there a way to improve my IQY file to have such a result, or is it possible to generate web services that acts as SharePoint to fulfil these lines:

SharePointApplication=https://site.com/SP_API

SharePointListView={C7686794-C676-4053-876F-A6BADD3553A0}

SharePointListName={CE127285-B596-4EB4-B5DA-C442E387E92D}

What is also strange is that when I do a manual importation of the XML data (with the "Data>Get Data From Web" tool), the table is perfectly formated as needed (in a datatable), but when I save the IQY query with that tool, the query doesn't formats the Table...  :s

Thanks for your help  ! =)

Xavv




Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>