Support dynamic help address resolution
See original GitHub issueFor current moment developer have to put url to help topic into ExcelFunction attribute. So, it is unable to change URL dynamically, therefore it is unable to select different urls for production and staging environments.
What is expected: instead of http address. put link to static method, which will resolve help page dynamically.
E.g. signature can be:
public static Url ResolveHelpPage(ExcelFunctionAttribute targetMethod)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
What is Address Resolution Protocol (ARP)? Definition ...
Address Resolution Protocol (ARP) is a procedure for mapping a dynamic IP address to a permanent physical machine address in a local area...
Read more >Dynamic Address Resolution
Dynamic Address Resolution. Direct mapping provides a simple and highly efficient means of resolving network layer addresses into data link layer addresses.
Read more >Dynamic Address Resolution Protocol (ARP)
Dynamic ARP inspection (DAI) helps prevent malicious attacks on the switch by not relaying invalid ARP requests and responses to other ports in...
Read more >Dynamic ARP Inspection - Cisco Meraki
DAI inspects Address Resolution Protocol (ARP) packets on the LAN and uses the information in the DHCP snooping table on the switch to...
Read more >Address Resolution Protocol - Wikipedia
The Address Resolution Protocol (ARP) is a communication protocol used for discovering the link layer address, such as a MAC address, associated with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Using the Registration helper is a bit simpler that the above example shows.
@imanushin This can be done with the Excel-DNA Registration Helper, a library that allows you to dynamically register your functions.
Install the package
ExcelDna.Registration
in your project, so you can have access to the custom registration classes.In your .dna file, set the flag
ExplicitRegistration
totrue
to tell Excel-DNA that you’ll be doing the registrations of the functions yourself.e.g.
Declare your functions normally:
In your
AutoOpen
, register the functions, replacing theHelpTopic
of each of the functions as you need.e.g.
Of course, the above is just to give an example… You can also allow the developer to set a
HelpTopic
template in theExcelFunction
attribute, and then replace parts of it…e.g.