Closed stefankuburovic closed 2 years ago
Thanks for bringing this up, apologies on not responding sooner. After investigating it is not supported to use alternate references for the scenario described. If this is something that you'd like to see implemented in the future, please feel free to open a request on https://aka.ms/m365dev-suggestions.
Please reopen this issue if you have additional information or you think it was closed in error.
Hey Matt,
thanks for your answer. I have a question still... Is this behavior documented somewhere, if so can you please provide a link, if not what is purpose of alternate references if they are not being used?
Thanks in advance.
Hi @mattgeim,
As Stefan was asking, we are curious to know what is the purpose of alternate references and how we can use them.
Hello, @andreipaun @stefankuburovic ,
Did you guys have any luck in discovering what's the purpose of those alternate references. If not, @mattgeim any chance you could provide that information? I am trying to accomplish a scenario similar with the one described by Stefan.
Thanks!
@AndreiJitaru nope we did not, it remains a mistery to day unless @mattgeim could shed some light.
Provide required information needed to triage your issue
Loading Word Add-in from the shared folder on filesystem doesn't work from alternate references defined in webextension.xml where that addin is stored if primary reference is not working.
Your Environment
Expected behavior
The alternateReference should be used if the office app addin cannot be located using the primary reference. Documented: https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.office2013.webextension.webextension?view=openxml-2.8.1
Current behavior
A Word Add-in cannot be loaded using the alternate reference as a valid store (store type is file system), when the primary reference cannot be located
Steps to reproduce
`<?xml version="1.0" encoding="utf-8"?> <we:webextension xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:we="http://schemas.microsoft.com/office/webextensions/webextension/2010/11" id="some_id">