Step 5: Maintain Your Taxonomy Using Entity Templates
You can download a set of entity templates that can be used to apply taxonomy terms to any new healthcare professional entities you create in the future.
Prerequisites
You will need to push resources to your Yext account via CLI in order to complete the following steps. If you have not already set up the CLI on your computer, you can do so by following
Step 1 of this guide.
- Navigate to this Github repository.
- Click the green <> Code button and then select Download ZIP.
- On your computer, unzip the file and save the folder.
- Open up your command line interface (Command Prompt for Windows, Terminal for Mac).
- Run the following command:
yext init
- If you have connected to this Yext account before, select Use existing credential and select the account that hosts taxonomy data. Otherwise, select Create new credentials and input the business ID for the account where you downloaded the taxonomy solution.
- You will need to authorize your account if you haven’t used the CLI recently. A window will pop up in your browser. Click Authorize.
- Return to the command line interface, and select Yes.
- Type in the following command:
yext resources apply/filepath
, replacingfilepath
with the file path where you saved your GitHub files in Step 3. For example, if you saved the resources in yourDocuments
folder, type inyext resources apply /Documents/taxonomyEntityTemplates
. - When asked to confirm whether you’d like to add these resources to your account, select Yes.
- Close the CLI and open your Yext account.
You can now view your newly installed templates by navigating to Content > Configuration > Templates. Once you add a new doctor, apply the corresponding entity template to get all of their taxonomy terms.
<% elem.innerText %>