[AEM Cloud] Editable HTML tables | Community
Skip to main content
Jeanmaradiaga
New Participant
April 8, 2022
Solved

[AEM Cloud] Editable HTML tables

  • April 8, 2022
  • 1 reply
  • 1328 views

Hello,

 

We have a client with a lot of custom tables, how they have been managing this in the past is that they create a new component for each table, this is because the way the tables are styled and structured varies a lot from table to table. But now that we have upgraded to AEM Cloud we are looking at better ways to manage this. 

Some ideas we have been eyeballing are creating table components that can be build in different ways with multifields, or by separating the different parts of a table into smaller components and then combining those, but again there are many unique tables in the site.

 

I was hoping someone had some insight or suggestion on how to approach a problem like this, I was also wondering if those HTML tables could be pasted into a rich text like component as raw HTML and then perhaps using @2941342 unsafe or something just render that HTML in the site or perhaps importing the tables from someplace else.

 

Attached are some examples of the tables we have. Each one is its own component.

    

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @jeanmaradiaga,

I would suggest to explore following options:

  • OOTB RTE component with table plugin with table styles - this should be a combination of good authoring experience, and reasonable development/configuration effort
  • OOTB embed component - this will allow authors to simply put plain html with table markup
  • if above options are not good enough you could consider to create custom component that will allow to build all table types you need

1 reply

lukasz-m
lukasz-mAccepted solution
New Participant
April 8, 2022

Hi @jeanmaradiaga,

I would suggest to explore following options:

  • OOTB RTE component with table plugin with table styles - this should be a combination of good authoring experience, and reasonable development/configuration effort
  • OOTB embed component - this will allow authors to simply put plain html with table markup
  • if above options are not good enough you could consider to create custom component that will allow to build all table types you need