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. "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.
|