function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vera Solutions 32Vera Solutions 32 

How to pass dynamic record IDs to community pages on Napili template

I am trying to set up Customer communities on the system and am using the Napili standard template that Salesforce provides. I am trying to create a custom tab to allow the user to land on his/her Contact detail page.
However when I try to create the URL using the merge syntax for User's Contact ({!$User.ContactId}), the system throws an error that says,
'The value you entered "/contact/{!$User.ContactId}" for Menu Item "My Contact" of Menu Item Type "InternalLink" isn’t valid.'

How do we define dynamic record IDs for community URL for tabs within the Navigation Menu?
Elissa Sadhana Team (WCI)Elissa Sadhana Team (WCI)
Has anyone figured this out?  I'm trying to do the same thing, but can't find documentation on merge syntax anywhere.
ParidhiBindalParidhiBindal
Did someone get solution to this? I am looking for recordId to get dynamically picked as soon as user logs in.
Please suggest  to fix this. Thanks.
Frankie Sorrentino 4Frankie Sorrentino 4
I need an answer for this too, has anyone figured this out?
Pelini JeanPelini Jean
same here