
Announcements
hi, i want to play around with the possibilities of powerapps and onnote.
But I absolutely don't know why this doesn't work with the GetPagesInSection method.
The following scenario:
I have a normal onnote with sections, pages and content.
Now I want to be able to display and select everything with ComboBoxes (to add a message later if necessary).
My combo boxes:
ComboBox_notebook
in Items: 'OneNote (Business)'. GetNotebooks ()
ComboBox_section
in item: If (! IsEmpty (ComboBox_notebook.Selected.Key); 'OneNote (Business)'. GetSectionsInNotebook (ComboBox_notebook.Selected.Key) .value)
here is the error:
ComboBox_Page
in items: 'OneNote (Business)'. GetPagesInSection (ComboBox_notebook.Selected.Key; ComboBox_section.Selected.id) .value
error message: the section Id is invalid. if a custom value was entered, please try selecting from the supplied values.
any idea?
Several things I would change from the default to get this to work.
Is Empty is for a table. You are testing the existence of a single value