There was a great workshop this week at the Tridion Developer Summit, where we discussed Experience Manager implementations. Here are a few tips taken from that:
1. Implement XPM from the beginning, your very first template/view… If possible, try it out on the HTML design when its being developed… solving design issues early and at origin will save heartache later on when its too late…
This is the most important one: Many many implementations I have seen has XPM implementation in Phase 2 and this is going to bite you in the backside – plan to use it from the beginning. Its not that hard to test the HTML without even creating a template – just inject the HTML file with comment/JSON markup and put it on your staging server.
2. Think XPM when designing your content model. Non-visible stuff should be metadata (so its editable in the metadata editor) and have a good think about those multi-level embedded fields – these can be a big mess in the inline editor.
3. Page Types are great, but remember you have to be an Administrator – Editors will not be able to create or change them.
4. XPM uses Z-index 100 for its overlays
So make sure your HTML design doesnt have stuff that goes on top of this.
5. Do you have something important in the top left of the screen? If so this could be obscured by the “SDL Tridion” button.
6. Multimedia components have a preview image, which makes it easier to see what you are selecting (You Tube as a MM comp?) in the selection panel.
It could be a useful option to create some non-MM components as MM components to give a visual clue (for example a component which references a YouTube video – upload an image related to the video subject and add the youtube id as metadata).
7. Use the Navigation Panel and sites list – its useful to switch between XPM and Content Explorer.
8. Did know that any container element can be used for a field (not just <span>)?
This means you can use the semantic structure of the HTML to contain your XPM markup and don’t have to add extra “layers” of spans or divs – But you need to write own helper functions to write out XPM syntax, the OOB TBBs cannot do this.