Open iarailopoulos opened 5 days ago
Hi @iarailopoulos , thank you for reporting this issue. I can reproduce on win32 application. We have filed an item #9443767 and put on our backlog, the team will investigate and reply to you as soon as there is any progress. Thank you for your patience.
Provide required information needed to triage your issue
Your Environment
Expected behavior
Given I have an excel file with pivot tables and links in the same sheet (without any references to other files) Given I've read the file into memory as a base64 encoded string (
fileData
). When I use theExcel.createWork(fileData)
Then the file opens in a new excel window and the links of the pivot tables still work and they are relative without file references.Current behavior
Given I have an excel file with pivot tables and links in the same sheet (without any references to other files) Given I've read the file into memory as a base64 encoded string (
fileData
). When I use theExcel.createWork(fileData)
Then the file opens in a new excel window and the links of the pivot tables do not work as they have links to an absolute file path that doesn't exist. For example when I am trying to click onRefresh Data
from a pivot chart I get an errorCan't open PivotTable source file '$PATH_TO_FILE/[blah.tmp]$SHEET_NAME'
Steps to reproduce
Excel.createWorkbook(fileAsBase64String)
to open it to a new fileRefresh Data
Can't open PivotTable source file '$PATH_TO_FILE/[blah.tmp]$SHEET_NAME'
Link to live example(s)
https://github.com/iarailopoulos/excel_pivot_create_workbook_bug
(Relevant file issrc/taskpane/components/CreatePivotWorkbook.tsx
)npm install
npm run dev-server
npm start
Load Data
to load the excel file into memoryCreate Pivot Workbook
to create a new workbookPIVOT
tabRefresh Data
Can’t open PivotTable source file ’/path/to/temp/file/[fname.tmp]RAW DATA’
Provide additional details
Context
I am trying to allow users to download a file with pivot tables but the pivot table links don't work.
Useful logs
Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.