-
Notifications
You must be signed in to change notification settings - Fork 2
Breadcrumbs
Chilejon edited this page Jan 27, 2021
·
4 revisions
Breadcrumbs are links for meaningful navigation. Typically a website has a hierarchical navigation structure. That show the use where they are in the website. However since the forms are not integrated into the CMS they have to be inserted manually. If you don't add a Url it will treat it as a simple string.
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
BreadCrumbs | array[object] | ✔️ | ❌ | array of breadcrumbs to be displayed |
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
Text | string | ✔️ | ❌ | text to be used for breadcrumb link |
Url | string | ❌ | ❌ | url being breadcrumb link |
The Breadcrumbs are placed in the root node of the json
{
"FormName": "UI Breadcrumbs",
"StartPageSlug": "page0",
"BreadCrumbs": [
{
"Text": "Text of Link, typically Home Page",
"Url": "Home Page Url"
},
{
"Text": "Sub-Section Title",
"Url": "Sub-Section Url"
},
{
"Text": "Sub-Sub-Section Title",
"Url": "Sub-Sub-Section-Url"
},
],
"Pages": [
]
}
{
"FormName": "UI Breadcrumbs",
"StartPageSlug": "page0",
"BreadCrumbs": [
{
"Text": "Home",
"Url": "https://www.stockport.gov.uk"
},
{
"Text": "Bins and recycling",
"Url": "https://www.stockport.gov.uk/topic/bins-and-recycling"
}
],
}
{
"FormName": "UI Breadcrumbs",
"StartPageSlug": "page0",
"BreadCrumbs": [
{
"Text": "Home",
"Url": "https://www.stockport.gov.uk"
},
{
"Text": "Bins and recycling form"
}
],
}
DisplayBreadcrumbs is a property of a page. if DisplayBreadbrumbs is set to 'true' (json boolean) the breadcrumbs are displayed. If set to 'false' or not set at all the breadcrumbs are hidden
Here DisplayBreadbrumbs is set to true and displays breadcrumbs
{
"Title": "Page 0",
"PageSlug": "page0",
"HideTitle": true,
"DisplayBreadcrumbs": true,
"Elements": [
/*Element Stuff*/
],
"Behaviours": [
{
"conditions": [],
"behaviourType": "GoToPage",
"PageSlug": "page1"
}
]
},
Here DisplayBreadcrumbs is not set and hides breadcrumbs.
{
"Title": "Textbox example",
"PageSlug": "page1",
"Elements": [
/*Element Stuff*/
],
"Behaviours": [
{
"conditions": [],
"behaviourType": "GoToPage",
"PageSlug": "page2"
}
]
},
- Availability
- Actions
- Behaviours
- Breadcrumbs
-
Conditions
- String Conditions
- Date Conditions
- Integer Conditions
- File Upload Conditions
- Custom validation
-
Elements
- AddAnother
- Address
- Button
- Booking
- Checkbox
- Date Input
- Date Picker
- Declaration
- Document Download
- Document Upload
- File Upload
- H1-H6
- HR
- Image
- Inline Alert
- Link
- Map
- Multiple File Upload
- OrderedList
- Organisation
- P
- Radio
- Select
- Street
- Summary
- Success page
- Textarea
- Textbox
- Time input
- Unordered List
- Uploaded files summary
- Warning
- EnabledFor
- Feedback form
- File uploads
- Form Schema
- Header
- Inbound Values
- Integrating with PowerAutomate/0365
- Lookup
- Page
- Payment & Payment calculations
- Preview data structure
- Render conditions
- Reusable elements
- Structure tests
- Success page
- Tag parsers
- Target mapping
- Validators