Now that we have our - Content Fragment Model let鈥檚 create a content fragment from it. We鈥檒l head over to assets, files and double-check that our assets folder is assigned to the weekend configuration. This will allow us to create our contributor content fragment, and we can see here that - it鈥檚 already properly mapped. Let鈥檚 create a new content fragment. For this, we鈥檒l navigate - into the assets folder that will house our new content fragment. Note that I鈥檒l be creating - these content fragments beneath an English locale - folder whose known name is EN. This will be important later on when we take a look at summarization.
We can create a new contact, pick the contributor fragment model, and now we can fill out - the data collection form.
The multi-line text element - is of particular interest. When opening this element - in full screen mode we get extra formatting - and editing controls including text format, text statistics, import content from - file and summarize text. Assuming that our content - fragment is located in the supported locale folder. And remember we put ours in English which is why we see this option.
When the multi-line text - element is in full screen mode with a content type of rich text there are extra editor options running across the top of the editor. We can also add image - assets directly in line when using the rich text format. Let鈥檚 return to the content fragment and finished populating it.
Our master variant that represents this - contributor is complete. Let鈥檚 explore how we can make - another variant or rendition of this content fragment. We鈥檒l create a new variant and the intent of this variant - will be to convey information about the contributor in a concise quickly consumable manner.
Some example uses of this variant may include highlighting this - contributor on the homepage or displaying contributor - information on digital signage via AEM Screens in a brick - and mortar retail location. In both of these cases the real estate to display this content as well as the viewers - attention is limited. So we want to optimize the - content for these situations. New variants will copy - their initial content from the active variant. In our new variant, let鈥檚 open the biography - element in full screen mode and reduce the amount of text. Since our content fragment is under an English locale folder, we can use AEM鈥檚 content intelligence to suggest a summarization of the text. We鈥檒l specify the number of words we would like to end up with and AEM provides a suggestion. We can adjust the summarization - suggestions as needed by clicking on the - sentences to add or remove. And we鈥檒l accept when we鈥檙e satisfied.
Content fragments allow us to associate asset collections with them. This allows us to collect - assets from all over the dam and relate them to our content fragment. We鈥檒l explore the value - of associated content when we use them on an AEM Sites page.
Last up is the content fragments metadata. The content fragments are assets in AEM. So they too can have metadata - and custom metadata schemas that collect data about - the content fragment. It鈥檚 important not to confuse the metadata of the content fragment with the content of the content fragment as these are two very different things. Let鈥檚 quickly create one - more content fragment and I鈥檒l highlight a few other features. The first thing we鈥檒l take a look at is the multi-line text - element import feature which allows us to upload - the element`s content directly from a file on our computer.
Let鈥檚 create a summary variant but instead of using summarize we鈥檒l take a look at how diff sync works. Diff sync uses content intelligence to compare the contents of - the element on the variant with the same element on the master and highlight the differences. Let鈥檚 make a change in the master and see how we can get those changes into our summary variant. We鈥檒l head back into master, make a change to the biography, returned to summary and - diff sync the element. Diff sync shows us the - master element鈥檚 content in the current variant and any additions or - removals that will take place if we perform the sync. As you can see, AEM has - intelligently reconciled the changes and tells us what will - be added or removed. Let鈥檚 complete the sync to - update these upstream changes from the master. -
AEM configurations are applied to AEM Assets folder hierarchies to allow their Content Fragment Models to be created as Content Fragments. Content Fragments support a rich form-based authoring experience allowing content to be modeled as a collection of elements.
Content Fragments can have multiple variants, each variant addressing a different use-case (thought, not necessarily channel) for the content.