Hi Everyone!
I have a trick issue here with my Equipment app that is using the Record History widget. Basically this widget was able to track all the changes that I made on the Equipment table e.g. changing equipment status from Available to IN USE, being recorded in the Record History.
However, when I duplicated this same app (and gave it a new name), the Record History doesn’t work anymore. The new app is tying to the same table. All it showed in the Record History now is one liner. The Record History in this new app no longer displayed what it has shown in the source app.
The environment where the app was duplicated is the same as the source. What could be missing? Hope someone is able to help!
Thanks!
Hi Guanteik, thanks for sharing the issue with your duplicated Equipment app and the Record History widget.
This usually happens when the widget isn’t tied to a properly loaded Record Placeholder in the new app.
Here’s a few things to check:
- Open the new app in the App Builder.
- Make sure the step that updates the Equipment table has a Record Placeholder connected to that table.
- Check that a record is being loaded into that placeholder before any table updates happen.
- Confirm the Record History widget is pointing to the same placeholder.
- Publish the app and test it again in Player.
The widget only tracks changes for records that are actively loaded into a placeholder during the app run.
If all of that checks out and it’s still not working, let me know and we can dig deeper, maybe a widget reset or republishing will help.
Hi Nicole:-
Thank you for sharing these valuable steps to solve the problem I am seeing! It looks like it is a must to perform step#5 to publish the app and test it in the Player. This works on a particular record that has attributes being changed after publishing. However…
We have noticed a record previously appeared in the Record History widget was showing in the previous app, wasn’t showing in the new app (even after being published) though referencing to the same Record Placeholder.
Would it mean for any duplicated app / copied Record Widget into new app, the histories will be missing?
Hi Guanteik, glad to hear publishing the app helped with tracking changes to new records.
For the older record, the Record History widget only shows changes that happened while the app was running in Player and actively using that placeholder. Even if the table and placeholder are the same, the history depends on which app session made the updates.
So if a record was edited in the original app, the duplicated app will not show those past changes unless they happened while it was running.
Let me know if that matches what you’re seeing or if you’d like to look at other ways to view the full history.
Hi Nicolo:-
Thank you for the tips. Yes, I noticed that app session matters in my case and that I can understand this better.
Thanks once again for your support. We can now close this.