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 / How to get modified us...
Power Apps
Unanswered

How to get modified users history in power apps offline.

(0) ShareShare
ReportReport
Posted on by 1

I am using power apps offline feature. myself and my team mate tested with a data verse table. we both went offline and updated a same list item and came back online one by one . my friend came first online followed by me so his list values got over ridded with my value. Now we want to track list item updation history is that possible in power apps ?

 

In Short : 

Me and my team mate tested with a data verse table using power apps offline feature, you want to track list item update history.

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    In Power Apps, tracking list item update history while using the offline feature can be challenging since the offline mode allows users to modify data on their devices without immediate synchronization. However, you can implement a custom solution to record the update history. Here's a high-level approach to achieve this:

     

    1. Add Audit Columns to Your Data Verse Table:
    In your Data Verse table (SharePoint list or Common Data Service entity), add additional columns to store audit information. For example, you can add columns like "LastModifiedBy," "LastModifiedDate," and "OfflineStatus."

     

    2. Custom Patch Function for Offline Updates:Create a custom Patch function to handle updates to the data when the app is offline. In this function, not only update the list item data but also update the "LastModifiedBy" and "LastModifiedDate" columns to record the user who made the update and the timestamp of the update.

     

    3. Offline Conflict Handling:
    When the app comes back online after both you and your teammate made offline updates, you will need to handle potential conflicts. Power Apps might not automatically resolve conflicts for you. You can use the "OnVisible" property of the screen or other appropriate triggers to detect if the app is online, and if so, implement conflict resolution logic. For example, you can check the "LastModifiedDate" and "LastModifiedBy" columns to see which update should take precedence.

     

    4. Sync and Merge Data:
    When the app comes back online, use the built-in synchronization mechanism in Power Apps to sync the local data with the server data. During the sync process, implement a merge strategy to resolve conflicts if necessary.

     

    5. Record Offline Status:
    You can also utilize the "OfflineStatus" column to indicate whether a particular item has been modified while offline. This column can be updated when the app goes offline and reset when it comes back online.

     

    6. Store Audit History:
    Additionally, you can create a separate audit history table to record all updates to the main table, including the timestamp, user, and changed values. This way, you'll have a comprehensive log of all modifications to the list items, both online and offline.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard