Create a Targeted Search Filter GroupLearn about creating Filter Groups. If you have already created a filter group, take note of its exact name. This will be used in the Blueprint JSON later to identify the Filter Group. Create your Page BlueprintLearn about creating a Page Blueprint. Define a pick-list in your Blueprint JSONLearn about Using a Picklist of Options in a Blueprint. Access your Blueprint JSON DefinitionRead more about Accessing and Editing the JSON File. Add the "filterGroup" attribute to the JSONAdd a new line to your Blueprint Field object definition as follows. Please note that the "filterGroup" value is the name of the Filter Group, in quotations. Code Block |
---|
| "blueprintFields" : [
{
"id" : "office-location",
"name" : "Office Location",
"required" : true,
"type" : "list",
"filterGroup" : "Offices",
"multiselect" : false,
"addLabels" : true,
"helpText" : "Select your office location from the list."
},
...
] |
That's it!You may now create a page from this blueprint. Check to see that the pick-list options are correct, and that the label was applied to the resulting page Use h4 for section headingsIf you don't want numbers in the section headings, simply remove the "numbered" class from this block. Note/Tip/Warning/Info blocks below are collapsed by default. If you want to use any of these, try to keep to just one per page. You may use two if necessary, but in general, try to limit these.
|