Publish changes to the business readiness finder
If you are trying to update the content returned by the business readiness finder, see: Update content for the business readiness finder
The full journey for the business readiness finder is made up of the following content items:
- The start page:
- The Q&A:
- The finder:
- The email signup page:
The content for the start page can be updated in Mainstream Publisher as you would any other start page.
The content item for the Q&A doesn’t actually contain any details. The titles of the questions are defined in a YAML file in finder frontend. However the body of the question, for example the options if the question is a checkbox, are read from the content item of the finder itself (content item 3 in the list). Finder frontend searches the content item for a facet “key” that matches the question, e.g.
sector_business_area to find the question content.
The content item for the finder is updated from a YAML file. Any changes to this YAML file affect both the facets in the finder and the options in the Q&A.
Updating question titles
- Update the content of the YAML file in finder frontend
- Merge and deploy the changes
Updating the business readiness finder
The content item for the business readiness finder and its email signup page are published by
search-api and the config for the facet group is managed in content-tagger.
- Update the facet group in content-tagger
- Merge the changes to content-tagger
- Deploy content-tagger
- Import and Publish the facet group
- Update search-api
- Merge the changes to search-api
- Deploy search-api
publishing_api:publish_facet_group_eu_exit_business_finderrake task in
search-apito publish the changes:
If you are making changes to the schema, you may also need to reindex elasticsearch.