cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Using Microsoft Graph for Onenote Pages in Combo Box

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:

andrewhei_0-1600228999074.png

andrewhei_1-1600229061226.png

But when I use it in a combo box, although there is no error in the formula, nothing is showing:

andrewhei_2-1600229125311.png

andrewhei_3-1600229142217.png

Really need a hand here. Thank you!

 

Andrew

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Using Microsoft Graph for Onenote Pages in Combo Box

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,

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Using Microsoft Graph for Onenote Pages in Combo Box

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:

andrewhei_0-1600738155801.png

Thank you!

 

Andrew

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,197)