Hi everyone,
I am trying to list out the pages title of Onenote pages in combo box by using Microsoft Graph (as the Onenote function getpagesinsection only returns 20).
I have created the custom connector and the test is success:
But when I use it in a combo box, although there is no error in the formula, nothing is showing:
Really need a hand here. Thank you!
Andrew
Hi Phoebe,
Thanks for the reply.
I followed the steps and got an empty table.
Not sure which part of the connector is wrong though, it does give the desired response in the testing:
Thank you!
Andrew
Hi @andrewhei ,
1)Is MicrosoftGraphConnector.GetPages a behavior formula?
If yes, please set this to one behavior property , save the returned table in a collection, the set the combo box' items to this collection.
Please notice that: combo box's Items property is not a behavior property, it needs a formula that will return a table.
For example: set the app's OnStart:
ClearCollect(collection1,MicrosoftGraphConnector.GetPages(...))
set the combo box's Items:
collection1
2)Please check whether this function returns blank table.
For example: set the app's OnStart:
ClearCollect(collection1,MicrosoftGraphConnector.GetPages(...))
use one label to check:
IsEmpty(collection)
If it display as true, then this function returns blank table.
In this situation ,please modify your custom connector's applications.
3)select correct primary text for your combo box
Since combo box will reset if you change its Items property, so sometimes you need to reinsert a combo box and set its Items, choose primary text.
Best regards,
WarrenBelz
223
Most Valuable Professional
MS.Ragavendar
110
stampcoin
86