Message Boards

Remote Service with localized entities

Mirko Romstadt, modified 2 Years ago.

Remote Service with localized entities

New Member Posts: 17 Join Date: 7/23/14 Recent Posts

Hi,

we have a service builder entity that has its title and description localized with the <localized-entity> tag in the service.xml, like this:

<localized-entity>
    <localized-column name="title" />
    <localized-column name="description" />
</localized-entity>

We also have a remote service that delivers among others a list of these entities. But these entities are missing the title map and the description map, so we would need to implement and do another call to get these. This is not really reasonable if you want to display a list of these entities with its title.

We had a look at the implementation of JournalArticle which uses localized titles, too. The remote serviceĀ /api/jsonws?contextName=journal&signature=%2Fjournal.journalarticle%2Fget-articles-2-long-long also does not provide the localized fields. We also do not find any endpoint to get these localized fields.

What are we missing? How is this supposed to work as a headless cms?

Greetings,
Mirko