I am building a Canvas App where the user will select a OneNote notebook from a droplist, then select a section from a second droplist and then select a page from a third droplist. I am able to get the list of notebooks populated, and I am able to get the list of sections for the selected notebook, but I cannot get the third droplist to populate the list of pages in the selected section.
Here is the formula for getting the notebooks:
'OneNote(Business)'.GetNotebooks()
Here is the formula for getting the sections of the selected notebook:
'OneNote(Business)'.GetSectionsInNotebook(NotebookNameDrp.Selected.Key).value.name
Here is the formula for getting the pages in the selected notebook and section:
'OneNote(Business)'.GetPagesInSection(NotebookNameDrp.Selected.Key, NotebookTabDrp.Selected.name).value.title
The third droplist control only lets me select the name of the selected section, but then it says it is an invalid sectionid. Any help getting this to work would be greatly appreciated.

Report
All responses (
Answers (