Closed SKYC829 closed 7 months ago
By the way, what is the meaning of the Page
tag on follow config:
<AllFormFactors>
<ExtensionPoint xsi:type="CustomFunctions">
<Script>
<SourceLocation resid="UDF.Url"/>
</Script>
<Page>
<SourceLocation resid="UDF.Page.Url"/>
</Page>
<Metadata>
<SourceLocation resid="UDF.Meta.Url"/>
</Metadata>
<Namespace resid="MyTest.Group.Label"/>
</ExtensionPoint>
</AllFormFactors>
<Resources>
<bt:Urls>
<bt:Url id="UDF.Url" DefaultValue="~remoteAppUrl/udfs.js"/>
<bt:Url id="UDF.Page.Url" DefaultValue="~remoteAppUrl/udfs.js"/>
<bt:Url id="UDF.Meta.Url" DefaultValue="~remoteAppUrl/udfs.meta.json"/>
</bt:Urls>
</Resources>
according the tag FunctionFile
's summary, it seems to it is meaning of where the js function will executes on. but i don't know why my add-in will crashed when my udf was executing.
I am the newer of office web addin, i create my first office web addin by using "Excel Web Add-in" template which is on visual studio 2022 and the i follow the manifest file summary tutial try to add another button after the "ShowTaskPane" button. i don't know why my add-in crash when excel ready, here is my manifest code-snap:
Assume all resources are exists
And the task pane which is auto open said this error:
And nothing appears on the expected Tab. how can i do so that i can add tab or button correctly? Does this have anything to do with the fact that my Web application uses a Blazor Web App?
What i tried:
Show TaskPane
as another button and just only these two button exists then my addin crashedsample was uploaded at my github repo