```What is the easiest way to expose a custom enti...
# suitecommerce
g
Copy code
What is the easiest way to expose a custom entity field on SCA front end? I can see {{profileModel.xxxx}} exposes standard entity fields but doesn't seem to work for custom entity fields.
s
Since 2019.1 custom entity fields automatically surface to the model
You can then use getUserProfile() on the extensibility layer to get the data
g
Thanks for the link Steve - Is there a way to do this outside of a router? The custom extension to display the value of a custom entity field is creating a child view in the header of the webstore.
s
You shouldn't need a router specifically, you just need to delay rendering the view until getUserProfile() resolves its promise