Skip to main content
2 of 2
added 7 characters in body
Hishaam Namooya
  • 9.7k
  • 1
  • 19
  • 37

How to add a new property in the route object of the JSS Layout Service?

By default, the Layout Service provides the layout information as layoutId in the route object. Although it is difficult to make a connection with this information in other applications since the id is automatically generated and not under the user control, unlike the Layout Name that is determined by the user.

It seems I can easily add the layoutName property in the context object but I prefer adding it in the route object of the layout service.

Is there a resource where I can find instructions on how to add a new property in the route object of the JSS Layout Service?

Romeo
  • 135
  • 6