web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I AM HAVING ISSUES WIT...
Power Apps
Answered

I AM HAVING ISSUES WITH REPATING TABLES LIKE INFOPATH

(0) ShareShare
ReportReport
Posted on by

I am trying to build a refund app with two dynamic sharepoint lists, but they are not able to connect and save, I followed the steps of Shane Young, but I was not 100% successful, I need help. Here are some prints:

first error.png
when i click on save this happens.png
Categories:
I have the same question (0)
  • cds Profile Picture
    1,001 on at

    what does the error say?

  • Gorilla_8 Profile Picture
    on at

    ID: COLUMN IS GENERATED BY SERVER AND CANNOT BE SPECIFIED

  • cds Profile Picture
    1,001 on at

    OK before your ForAll 
    Set(VarMasterID, Form.LastSubmit.ID);
    ForAll(.......MasterId: VarMasterID)

  • Gorilla_8 Profile Picture
    on at

    Set(VarMasterID; Form1.LastSubmit.ID);; ForAll(ExpenseCollection; If(!IsBlank(LineItem);Patch(ExpenseDetails; Defaults(ExpenseDetails); {Título: LineItem; ItemCost: LineCost; MasterID: Form1.LastSubmit.ID })))

     

    This is my formula

  • cds Profile Picture
    1,001 on at

    Set(VarMasterID; Form1.LastSubmit.ID);; ForAll(ExpenseCollection; If(!IsBlank(LineItem);Patch(ExpenseDetails; Defaults(ExpenseDetails); {Título: LineItem; ItemCost: LineCost; MasterID: VarMasterID })))

  • Gorilla_8 Profile Picture
    on at

    Same problem yet, i think its in sharepoint list

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Gorilla_8 ,

    Could you tell me the data type of these three fields: Título, ItemCost ,MasterID?

    Please do not use patch to update a system field.

    This kind of field will be generated data by system automatically, no need to update it.

    You do not need to create new record with system field value, and you can not change system field value too.

    System field is read-only.

    Based on your description, I think maybe MasterID is a system field.

    If so, I suggest you just update other fields.

    Try this formula:

    ForAll(ExpenseCollection; If(!IsBlank(LineItem);Patch(ExpenseDetails; Defaults(ExpenseDetails); {Título: LineItem; ItemCost: LineCost })))

    Here's a doc about system field in sharepoint list for your reference:

    https://sharepointmalarkey.wordpress.com/2008/08/21/sharepoint-internal-field-names/

     

     

    Best regards,

     

     

     

  • Gorilla_8 Profile Picture
    on at

    Hi, the field: Tìtulo is the title by sharepoint list (Default), the field ItemCost its a currency field and the field MasterID is the ID of the item, but i need make a repeating table

  • Gorilla_8 Profile Picture
    on at

    Here the videos i follow the step: 

     

    PArt 1: https://www.youtube.com/watch?v=xgznk4XlPCo

     

    Part 2: https://www.youtube.com/watch?v=DylxsXIUyDc

     

    Part 3: https://www.youtube.com/watch?v=HUX_0AA4-Hs

  • Gorilla_8 Profile Picture
    on at

    This formula works, but i have another problem, there's a second gallery to show the item details, and ara not showing. 

     
     

    The print: https: // prnt.sc / pt95n9

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard