查询定义在XLSX文件中的位置

使用以下自定义查询创buildxlsx文件(从typicode.com的jsonplaceholder服务中加载数据)

 let Source = Json.Document(Web.Contents("https://jsonplaceholder.typicode.com/posts")), #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"userId", "id", "title", "body"}, {"userId", "id", "title", "body"}) in #"Expanded Column1" 

并解压缩它我会期望上述string(查询定义)以某种forms在结果文件夹结构中的某处find。 目标是以编程方式replaceURL,但不知何故,我能find的唯一查询定义是

 <connection id="1" keepAlive="1" name="Query - posts" description="Connection to the 'posts' query in the workbook." type="5" refreshedVersion="6" background="1" saveData="1"> <dbPr connection="Provider=Microsoft.Mashup.OleDb.1;Data Source=$Workbook$;Location=posts;Extended Properties=&quot;&quot;" command="SELECT * FROM [posts]"/> </connection> 

虽然我不会推荐任何人下载&从陌生人运行办公室文件,我没有上传到nofile.io xlsx。

我期望在queryTable上有一些formula属性,但查询表定义看起来像

 <queryTable xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" name="ExternalData_1" connectionId="1" autoFormatId="16" applyNumberFormats="0" applyBorderFormats="0" applyFontFormats="0" applyPatternFormats="0" applyAlignmentFormats="0" applyWidthHeightFormats="0"> <queryTableRefresh nextId="5"> <queryTableFields count="4"> <queryTableField id="1" name="userId" tableColumnId="5" /> <queryTableField id="2" name="id" tableColumnId="2" /> <queryTableField id="3" name="title" tableColumnId="3" /> <queryTableField id="4" name="body" tableColumnId="4" /> </queryTableFields> </queryTableRefresh> </queryTable> 

理想情况下,我只想知道规范如何存储这些信息(因为我想在浏览器的前端手动编辑这个信息),尽pipe任何允许我生成这个信息的解决scheme都是完美的。