Accessing linked field values in plugin


I’m trying to create a plugin to handle translations outside DatoCMS. For that to work I need to extract all content needed to be translated for a content item, but I can’t seem to get the value for an item (using getFieldValue). Is it possible or do in a plugin I need to use the api?


hello @gustav and welcome! :slight_smile:

yes, you are right, you should get the values of the other fields using the JS client. You can share the API token as a variable of the plugin.

Does that help?

Thank you and thanks for the help!