最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

powerapps - Power Apps Form not pulling from Datasource - Stack Overflow

programmeradmin1浏览0评论

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.

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.

Share Improve this question asked Jan 30 at 10:45 potterwizpotterwiz 277 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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.

发布评论

评论列表(0)

  1. 暂无评论