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 / Offline Functionality:...
Power Apps
Unanswered

Offline Functionality: Look up column patch to Collection syntax

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All, Any lead would be appreciated. 

I am trying to implement Offline functionality in Canvas app.  WWD(which has a lookup column) is the SharePoint list to which I am patching data. But in offline mode, I have to patch to the collection: OLWWD, pls suggest the syntax for the lookup(That I have filled with star below).

If(connection.connected( patch(WWD,
            Defaults(WWD),
            {
                UserId: {
                    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                    Id: LookUp(
                        Users,
                        UserID = varusername
                    ).ID,
                    Value: varusername
                },
), 

patch(WWD,
            Defaults(OLWWD), {******************************************************************})



Regards,
Nandan

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Simply PATCH the Value column and perform the LOOKUP once reconnected

    Patch(WWD, Defaults, OLWWD, {Value: varusername})

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard