1
0
-1

Hallo Joget Expert, 

please help!! 


i have one crud process
and then 1 have 2 users, let say user 1 and user 2


example
user 1 create 3 data


user 2 create 2 data


how to make user 1 can not see the data created in user 2 and vice versa

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi,

      Joget will add a field ‘createdBy’ with the value of current user username.

      So, in your datalist, add a condition like “where createdBy=‘#currentUser.username#’”.


      1. fajarullohyusuf

        Thank you Fahmi, I'll Try 
        Thank You!!

      CommentAdd your comment...