potterwiz
potterwiz

Reputation: 27

Power Apps Form not pulling from Datasource

So I am building a power app and I have 2 data sources linked which are both distinctly named. I started by creating a screen that was a gallery of the first data source and then a second screen that was an editable form for whatever item was selected on Screen1's Gallery. I used Navigate(Issues_UpdateIssue, ScreenTransition.Fade, {formData: Gallery_Issues.Selected}) on an icon in the gallery to access the editable form screen and this all worked perfectly.

With that data source set up I moved on to the second one. Again everything as set up identical (duplicated the screens and changed all the applicable Data Sources) and my navigate code is now Navigate(Queue_UpdateRequest, ScreenTransition.Fade, {requestData: Gallery_Requests.Selected}) but for some reason i am now getting an error on the Item field of the edit form screen saying "Invalid formula. Expected a value compatible with 'DataSource'.".

I cant seem to find any obvious reason for what the issue is, and i also tried creating a brand new edit form screen and experienced the same problem.

Upvotes: 0

Views: 189

Answers (1)

Almas Mahfooz
Almas Mahfooz

Reputation: 1086

Did you replace the datacards when you changed your forms data source? You have to replace the datacard and then update the Item property to requestData for your second screen edit form.

enter image description here

Upvotes: 0

Related Questions