I am creating an Excel add-in and one of the features that we'd like to give our users is to let them create custom functions that are registered and added at runtime.
I understand how to create custom functions at design time by adding entries to your manifest and pointing to the javascript file that has the function and the json file that contains the definition of the function.
I see that Script Lab has the ability to add / register functions at runtime and was hoping that someone might be able to explain what needs to happen behind the scenes in talking with office.js or point me to a relevant tutorial on how that is completed.