Can users make their User ID visible on their profile?

I think it would be easier if you chose an outlet that provides the model of the user whose page you are viewing.

The outlet you chose offers information about the topic but not about users


The outlets on the user profile like user-post-names provide the user model:

With an outlet that provides the model you should be able to use @outletArgs like the example in Theme Developer Tutorial: 4. Using Outlets to insert and replace content. The example there uses discovery-list-container-top which provides @outletArgs={{lazyHash category=@model.category tag=@model.tag}}

That’s why I would choose an outlet that provides the user model. You can see the model when you hover over the outlet and see the ID of the user whose profile you look at. Many examples in the tutorial use the currentUser service, which provides the ID of the acting user, which is not what you seem to be looking for.

1 Like