[DOCU-556] Best practices for field transformers Created: 19/Mar/15  Updated: 24/Mar/15  Resolved: 24/Mar/15

Status: Closed
Project: Documentation
Component/s: content
Affects Version/s: short term
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Antti Hietala Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

1) In Transforming field values, recommend the delegating field transformers over any other transformer as a best practice. The delegating transformers should be your first choice since they are the most versatile.

2) On the same page, discourage the use of the following transformers:

  • MultiValueChildrenNodeTransformer
  • MultiValueSubChildNodeTransformer
  • MultiValueSubChildrenNodeTransformer
  • MultiValueSubChildrenNodePropertiesTransformer

3) Add a best practice on the Multivalue, Composite and Switchable field pages. When nesting these fields, you should use the delegating transformers.



 Comments   
Comment by Ruth Stocks [ 24/Mar/15 ]

Documented at:

Generated at Mon Feb 12 01:10:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.