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 / Using JSON to sent rep...
Power Apps
Unanswered

Using JSON to sent repeating section data as a string to a SharePoint multi line text column

(0) ShareShare
ReportReport
Posted on by 11

I have a repeating section gallery and am using UpdateContext and concatenate to sent the data as a string to a multi line SharePoint column. I am learning JSON and I am not sure where to use JSON to capture the data and return it to SharePoint column

Categories:
  • Michael E. Gernaey Profile Picture
    53,980 Super User 2026 Season 2 on at

    Hello,

     

    You want to be able to Patch (update) a Row in a SharePoint list correct?

    And specifically you have a string that you want to use to update a multiline column in the SharePoint List.

     

    Is this field the ONLY field you want to update?

     

    Ok, lets say you have a Column in SharePoint called Multiline_Notes

    And lets say you have a Context Variable field called Multiline_Notes_Context_Variable

    And lets pretend that your SharePoint list is called MySharePointList

    And Pretend your gallery is called Gallery1

     

    It really depends on how you are showing the data etc. But based on what you said, and pretending you ONLY want to update that one field you would add for instance a Button and use the OnSelect property to patch (update) the list.

     

    Like this

    // This automatically points to the currently selected Gallery item, if you are using a gallery
    Patch(MySharePointList, Gallery1.Selected, 
     {
     Multiline_Notes: Multiline_Notes_Context_Variable
     }
    );
    
    
    // If you dont have a gallery or form, then you need to do a lookup using some value/column to find the right record to update
    Patch(MySharePointList, LookUp(MySharePointList, SomeColumn=SomeValue), 
     {
     Multiline_Notes: Multiline_Notes_Context_Variable
     }
    );
    


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Robaddy2 Profile Picture
    11 on at

    I have a form and gallery. I am using patch/look up to submit the form data. The gallery is representative of a repeating section. So first I am using update context to send the data in the gallery to the MLT field the updating using the patch/lookup to submit form data (See below). I want to use JSON to simply this.

     

    UpdateContext(
    {
    LiqString: Concat(
    Gallery1.AllItems,
    Concatenate(
    SNtxt.Text,
    ";",
    Biorad.Selected.Value,
    ";",
    LotNumber.Text,
    ";",
    OrigExDate.SelectedDate,
    ";",
    ExpDate.SelectedDate,
    ";",
    Concat(
    EnteredBY.SelectedItems.DisplayName,
    ";"
    ),
    ";",
    "|"
    )
    )
    }
    );
    Patch(
    DailySystemLiquidLog,
    If(
    VarA = "New",
    Defaults(DailySystemLiquidLog),
    LookUp(
    DailySystemLiquidLog,
    VarID = ID
    )
    ),
    {RepSection: LiqString}
    );
    Notify(
    "Entry Submitted Successfully!",
    NotificationType.Success
    );

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard