I have created a user profile page in experience builder. Now, I want to add it to navigation menu but I am unable to pass user id dynamically. What could be the issue? Is there any workarounds?
6 réponses
I found the solution to this problem. In the apex class we can just use UserInfo.getUserId() to fetch the logged in user instead of passing record Id to navigation menu.