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. However the actual config is read in from govuk-app-deployment-secrets.
- Update govuk-app-deployment-secrets
- Merge the changes to govuk-app-deployment-secrets
search-apiso it can pick up the changes in govuk-app-deployment-secrets
If you have made changes to the facets, you may also need to re-deploy email-alert-api and finder-frontend
publishing_api:publish_eu_exit_business_finderrake task in
search-apito publish the changes. If the finder config has the facets defined in a separate
facet_groupcontent item and the
linkskey in the config contains an entry of
facet_groupwith a content id, the task is
If you are making changes to the schema, you may also need to reindex elasticsearch.