Importing data from CMS into component slots.

Hello :slightly_smiling_face: I’m wondering if this is possible to do in a custom code component - I want to import data from a CMS into the component and ‘save it’ somehow. Let’s assume I import some ‘Name’ and ‘Description’. The component has got two slots and I want to configure from the level of Plasmic editor whether ‘Name’ goes to the slot 1 and ‘Description’ goes to slot 2 or vice versa. Is it possible? Could somebody point me to the correct concept?

Hi @curable_cockroach! It is possible to do so without custom code components. You can fetch and update data in a data source (like a CMS or a database) from Plasmic studio.

To do so, you will use integrations (, interactions (, and, optionally, forms (

The main idea is to set up an integration with a database, fetch the data you want, and configure a form or an interaction to save an updated state.

Let me know if you need any help or guidance!

Hi @curable_cockroach, in addition to what Tiago mentions, you can also offer custom code components to fetch and provide data to their children. (You can find some built-in examples of such CMS components in the insertion menu)

With these as well, you can use dynamic values to associate anything inside of the component with data that is fetched and provided by the component.

Thank you for these suggestions. It worked successfully :slightly_smiling_face: