Hi all, I'm super new to this and had some noob questions.
I'm following the "Git the Gist" tutorial from the offical docs, now just playing with it to get a hold of things. I'm trying to open a new taskpane when I click a new button. But I'm getting an error saying "Cannot get /taskpanetwo.html" where taskpanetwo.html is the new taskpane that I'm tring to add.
After I am succesful, I would like to know how can I add a button to navigate to the new taskpane from another one. But some context first,
I created a new control button like this
<Control xsi:type="Button" id="myCustom.openPaneButton">
<Label resid="openPaneButton.Label"/>
<Supertip>
<Title resid="openPaneButton.Label" />
<Description resid="openPaneButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="myCustom.Icon.16x16"/>
<bt:Image size="32" resid="myCustom.Icon.32x32"/>
<bt:Image size="80" resid="myCustom.Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="myCustomTaskpane.Url" />
</Action>
</Control>
with the resources modified and most impotantly the url elemnt is
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html"/>
<bt:Url id="myCustomTaskpane.Url" DefaultValue="https://localhost:3000/taskpanetwo.html"/>
</bt:Urls>
My folder structure for the source is
-src
-taskpane
-taskpane.css
-taskpane.js
-taskpane.html
-taskpanetwo.html
I don't know where I was wrong. I tried making another folder called taskpanetwo and put the taskpanetwo.html inside of it. But still no luck. And I couldn't find anything on the web either because I was probably not asking the right question.
I would appreciate any help on this. Thanks!