0

Using Web8.5, There is a requirement to do XSLT filtering for RTF field. I am able to apply xslt filtering in one schema for RTF field successfully.

However, looking for an option to do it for all the schema(>50) in one go. Is it possible from CM? Please suggest the best way to apply XSLT filtering for all the schema's on RTF field?

  • Can you try using core services ? – Anand NS Aug 27 at 16:17
1

If the rich text formatting options are the same across Schemas (or "schema," if @DomCronin is following) you could consider embedding the same rich text format area field and its XSLT filter options where needed.

You would still need to use this field in your various schemas , but changes would be centralized and managed within a single field.

This is more challenging if content is already created, but either way, Components needs to be updated in order to (re)apply the filtering to existing content.

| improve this answer | |
  • Thank you @Alvin. Agree with you. I can try this option. – Mohan Kushwaha Aug 28 at 7:55
  • 1
    @Alvin - we usually refer to XML Schemas rather than the arguably more correct, but insufferably pedantic "schemata". :-) – Dominic Cronin Aug 30 at 19:04
0

Unfortunately Tridion doesn't offer a way to apply this xslt to all rich text fields in all schemas at once. The only solution I see is to write a tool / script that uses the core service to achieve this.

| improve this answer | |
0

We have a small set of 4 rich text embeddable schema, each with their own xslt and configuration of editor controls.

Any schema requiring rich text will embed one of these.

It is then much easier to manage the "richness" of editorial experience of the different types for the specific use cases of the front end design.

There are two approaches for managing this in your MVC models.

  1. Create your embedded Richtext schema with the same rootnamespace

OR

  1. Use semantic mapping in your rich text model
| improve this answer | |
  • Thank you @Chris. Yes, I am going to try this option. – Mohan Kushwaha Aug 28 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.