How to Show only Current User Data? How to add privacy in your Profile?

0
 I want to Show Own Data not all. All User See own data not other
asked
1 answers
1

Hi Soni,

When creating data, make sure to associate it with your account entity or use system member to save the owner of the aboject.

You can filter the records in the grid based on the current user token using in the XPath.

For example, when creating events as a user, you can use the "Owner" system member in the event entity to store the user who creates the event. Alternatively, you can associate the event with the user’s account directly when saving the event.

The best approach would be to use the "System Member"  to ensure that the correct user is linked to the event as the owner.

https://docs.mendix.com/refguide/entities/#store-owner

Let me know if you need further clarification.

answered