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?