cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
russrimm1
Helper I
Helper I

Trying to add a record to a form

Hi all,

I have a record (named "selecteduser") that i'm adding to a form.  I set the datasource and the item to the name of the variable holding the record.  The problem is, the datasource changes to "Custom" and Edit Fields/"Add Field" is greyed out so I can't add my fields.  One of the columns in the record has a value that is a record, not sure if that matters. 

 

I imagine it's because it's not a true datasource - it's a result from a graph API call using a custom connector.  What's the best way to display this returned record?  Is a label/labels my only option?

 
 
 

My recordMy record

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

Hi @russrimm1 

The datasource of a form must be an actual connector like a SharePoint list or an excel table. However the item property can use the a variable in a lookup as long as it references the datasource in the form like

Lookup(SPlist,  ID = variable.ID).

View solution in original post

2 REPLIES 2
Drrickryp
Super User II
Super User II

Hi @russrimm1 

The datasource of a form must be an actual connector like a SharePoint list or an excel table. However the item property can use the a variable in a lookup as long as it references the datasource in the form like

Lookup(SPlist,  ID = variable.ID).

View solution in original post

Thanks, in this case I created a custom connector and returned the data using UpdateContext to store it as a record.  I ended up just displaying it all in a label since Form wouldn't work.


Thanks!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (15,223)