Determine your use-caseLive Blueprints are particularly useful if you have a case where: a. You want to re-use a common 'form' of content, such as a table with similar headings but different values. and b. You want to be able to update that source form, from time to time, and ensure that these updates occur wherever the blueprint is referenced. Create a source blueprint with your content 'form'This page will act as the 'single source of truth' for the form of the blueprint. Any changes to this page will 'persist' to wherever this blueprint is referenced on the site. Therefore, design the page accordingly and with an eye towards how it will be used and reused in different places. (Tip: Brikit typically recommends containing all of your site's live blueprint pages in a space called Live Blueprints. This makes it easy to find them again and also to manage permissions for the appropriate editors). Add substitution fieldsLive Blueprints can use any substitution fields, including built-in substitution fields. Simply add them wherever it makes sense to do so. Remember that part of the power of live blueprints is that they allow content to maintain an identical form while having their individual instances include different on-page content (or data). Substitution fields facilitate this possibility. Navigate to the Blueprint Definitions PageNow that the source blueprint has been drafted, it is time to 'define' it as a blueprint. This is done on the Blueprint Definitions Page. Edit the JSON fileOn the Blueprint Definitions Page, click the 'download blueprints' button to retrieve the JSON file. {
"name" : "Expert Profile Live Blueprint",
"description" : "A Live Blueprint for the Expert Profile.",
"spaceKey" : "BlueprintPages",
"pageTitle" : "Expert Profile Live Blueprint",
"blueprintFields" : [ "expert-name", "username", "pillar-name", "phone-number", "geographic-location", "building-name", "expert-title" ],
"type" : "live"
}, |
Reference the live blueprintNow navigate to, or create, the page where you want to use (or 'reference' or 'activate') this live blueprint. Edit the page and insert the Live Blueprints Macro. Set the macro parametersPoint to the live blueprint in the macro parameters. "Edit the Blueprint" and add values
Repeat as you see fitYou can insert the Live Blueprint Macro on the page as many times and in as many places as you see fit, each will have their own
|