I have observed the issue shared by you and like to share that the issue has been fixed in upcoming Aspose.Slides for .NET 19.6. We will share the good news with you as soon as the product will be shared online.
Do you have any estimate when 19.6 will be released?
The upcoming version is likely to be available during this week or in next week at maximum.
I saw that you already released 19.6 where replacement works if your workaround Replace(“file:///”,""); is used.
Now there is one problem - you are not allowing to make changes if link source file does not exist on new location. Error is: “Chart uses external workbook. External workbook is not available or can’t be loaded.” which is not a problem if documents are on local or network drives as there check if file exist or not is accurate.
Problem is with SharePoint - I had link source file before moving documents to SharePoint on following location “C:\Users\user\Documents” and after moving document to SharePoint on “https://company.sharepoint.com/DocLibrary1”. With your check if file on new location exists even when document is available in SharePoint location I am getting crash during changes with upper error.
Can you please do not enforce that file on target location has to exist as changes when documents are on some Web sharing platform will not work?
I have observed the observations shared by you and request you to please provide the suggestions in the form of a working example use case that we may investigate internally on our end for its possibility of implementation.
Sure, just run attached project:
PPTX.LinkSources.Crash.zip (137.3 KB)
In first part I am replacing old Link Source with file that exists and that works and in second part I am making replacement to new Link Source which does not exists.
Main problem here is that Aspose can check if files are on local or network drive so basically if change is rejected I can understand but when documents are on SharePoint even when I make replacement to new Link Source where file exits on SharePoint Aspose.Slides is rejecting changes saying “External workbook is not available or can’t be loaded.” which is not correct as new Link Source is there.
I need option to disable load of new Link Source during changes with Aspose.Slides or that you simply do not make check if new Link Source exists.
I have associated information in our issue tracking system. We will share further feedback with you as soon as it will be shared.
Thanks a lot.
As I hope that this is not going to be big change would be extremely appreciated if fix can be provided as a Hotfix (maybe 19.6.1) as that is stopping us to release our software next version
Plus I am always making good projects to recreate the problem
I have observed your comments. I request for your patience and we will share good news with you soon. I also like to inform that hotfix are only provided to paid support customers as per company policy.
Hi Aspose team,
any news here? I see that status is resolved but according to my previous communication it is not working when files are on any Web platform.
To recap - when change of link source is done you are checking if file on new location exists. In case that new location is file share, local drive,… check will work and will be accurate meaning if file is there Aspose.Slides will make change. If file on new location does not exist you will report "Chart uses external workbook. External workbook is not available or can’t be loaded.”
Problem is that more and more customer are moving to Web platforms like SharePoint, Box,… and there your check will never work as you will try to check if some http(s) location is there and document is in it and Aspose.Slides will return that file does not exist and will not allow change.
What I need is that you do not enforce check if file exists on new location as I’ll do that from coding because I have options to check Web location.
Without removing this enforced check this functionality has 0 value for any Web shared storage and like said more and more customers are going into that direction.
Your feedback will be appreciated.