Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

read the settings of a office add-in manifest file from the angular app which is inside the Excel task pane

Requirement: Read the AutoConfig element in a manifest file using office.js/angular app and will hide/show the content in my angular app in task pane based on the AutoConfig value.

The 1st approach I will put a custom tag i.e <AutoConfig>true</AutoConfig> in the manifest file and this custom tag should read by the angular app/office.js in the task pane.

The 2nd approach will pass the URL parameter from the<SourceLocation https://localhost:3000/index.html?autoConfig=true> if it is not possible to give a custom tag in the manifest file (1st approach)

could you please help me how can I achieve this requirement?

like image 244
chandu g Avatar asked Dec 20 '25 21:12

chandu g


1 Answers

I'm afraid that there is no way at present for an Office Add-in to read its own manifest. But you can vote for the same idea at Create an API for reading resource strings and URLs from the add-in manifest.

like image 97
Rick Kirkham Avatar answered Dec 23 '25 13:12

Rick Kirkham



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!