I am making great progress developing my first word add-in (using the office Javascript API). One goal I have is to be able to, from a website, collect a few values, and then launch word, including the add-in, passing in the collected values as parameters, which I can then retrieve inside the add-in.
If needed, I can see how to reduce my params down to one, such as a SessionID; store all the parameters to a DB, using SessionID as the key, then pass the SessionID in, and retrieve the remaining values from the DB... But still can't figure out how to pass even the single parameter in. And am I passing it in to Word? Or into the add-in? or...?
Can anyone provide insight and examples how I might do this? So I need two pieces:
- How to launch Word, including my add-in task pane, and pass the parameter(s) to it?
- How, within the add-in, to obtain the parameter value, which I can then use as I need.
Thanks