@Anonymous
Create a very simple datasource called ActivityLog using your preferred connector (examples: SharePoint, SQL, CDS).
Make a new table and ensure there are at least 3 columns.
- ID (autonumber)
- Activity (single line text)
- ActvityDateTime (date & time)
Then anytime you want to record some activity in the app use this code. It must be placed in a property starting with the word On (examples: OnSelect, OnVisible, OnStart). Be sure to change the Activity field to your own value.
Patch(
your_datasource_name,
Defaults(your_datasource_name),
{
Activity: "some text here",
ActivityDateTime: Now()
}
)
---
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."