Skip to content

15th of February

This is a summary of Front-end Forum held on Wednesday the 15th of February, 2023.

Forum summary

This time the forum gathered about 16 persons physically in Samhandlingssonen, and 9 over Teams. Thanks for showing up, do spread the knowledge and the word about Front-end Forum.

Topics that we covered during this sessions were:

  • Custom Parts were the main talk.
  • We have three ways of doing it, the most used one is the App Loader, but we also have a Vite Loader.
    • It's a way for the CMS to load your custom React-applications from the CDN, embedded within a page of editorial content and "parts" from the Builders Platform.
    • Read about the general idea here on Builders, more to get the main idea behind the system.
    • And read about the detailed technical spec in the Builders Platform Docs.
    • Relies on you building your app generating an assets-manifest file, publishing it with all resources in a folder on the CDN.
    • Additional data can be passed from CMS to the app, as data-attributes and/or a unique URL end-point which can be read using POST. Read details in the docs.
    • Bare in mind, all Parts in Enonic will always take the width of the full screen, so you need to add it to the grid yourself.
  • The Form Loader uses similar technology but simpler UI for editors.
    • Usually one mono-repo with multiple forms.
    • Each form is one CRA.
    • App.tsx contains the form-code.
    • Contains its own API for doing the e-mailsending, Dynamics-talking, or what you need.
    • Published to CDN.
    • In root of the CDN there's a JSON over all forms, Enonic XP reads this JSON to display a drop-down menu for including the form in the CMS.
  • All these ways of loading custom apps are always evolving, so come with feedback!
  • You can still load full pages apps as usual with Application Portal.

There were rather many questions here, I'll try to recall them all:

  • Is there an overview of all custom apps our there?
    • No, but perhaps we could try to gather some overview of that if people are good with informing about their apps.
  • How do I get access to the CMS?
    • Your closest editor could probably help you with that, otherwise each country have an editor in chief that knows how to do this.

Closing words

Thank you for participating! Spread the news about Front-end Forum to others who might benefit from it. Agenda posted weekly before each forum, in #frontend on Slack.

Take a dive into the forum archive if you missed a forum.

Want to show something? Reach out using #frontend

For Core-specific issues/questions, use #core-components

You can still reach Team Builders for general questions on #team-builders