> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/docs/develop/guardian/workspace/schema-templates/update-an-applied-schema-template.md).

# Update an Applied Schema Template

Update a draft policy from its applied schema template.

Update a draft policy after its template changes. See [Schema Templates Concept](https://guardian.hedera.com/docs/develop/guardian/workspace/schema-templates.md).

### Prerequisites

* You are signed in as a Standard Registry user.
* You can manage draft policies and schema templates.
* The policy is a draft with at least one applied schema template.

### Steps

1. Open the **Policies** grid and find the draft policy with the applied template.
2. Select **Schema Templates** on that policy's row to open the management dialog.
3. In the **Applied templates** grid, select the update action on the binding you want to refresh. If more than one template is applied, only the selected one is affected.
4. Keep the currently bound template to refresh it, or pick a different template or version to switch the binding to it.
5. Review the comparison preview. Changes are grouped into separate Schema, Fields, Conditions, and Repeatable Links sections, each showing what was added, removed, or changed.
6. Resolve any reported schema, field, condition, or repeatable-link conflicts.
7. Confirm the update.

### Result

The policy receives the selected template's changes. Its stored template snapshot updates for that binding only - any other applied templates and their schemas are left unchanged. If you switched to a different template, the binding now points at that template instead.

### Troubleshooting

**Why does the update report a conflict?**

The selected template version no longer contains a schema the policy still has a copy of, and Guardian will not guess what to do with that copy - particularly when it carries custom policy fields the template never had.

For each reported conflict, choose:

* **Keep as custom** - the copy stays in the policy as an ordinary schema, with the template's restrictions removed.
* **Remove** - the copy is deleted from the policy.

**Remove** is not offered for a schema that another schema in the policy still points at, because deleting it would leave that schema referencing something that no longer exists. Those conflicts show the referencing schemas and can only be resolved by keeping the copy.

Resolve every conflict before confirming the update.

**Why did my edited condition revert to the template's version?**

Conditions and repeatable links are matched to the template by identity - a condition by its trigger field and value, a link by its dependent field. If a policy developer edited an unlocked condition's trigger value (for example from `A == 2` to `A == 3`), it no longer matches the template's own condition, so updating the template reverts it to the template version. If the edited condition still reveals custom policy fields, the update raises a conflict instead so you can keep it as a custom condition.

**Why can't I switch to the template I picked?**

That template is already applied to this policy through another binding. A policy can hold a given template only once. Detach the other binding first, or pick a different template.

### Related

* Concept: [Schema Templates Concept](https://guardian.hedera.com/docs/develop/guardian/workspace/schema-templates.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guardian.hedera.com/docs/develop/guardian/workspace/schema-templates/update-an-applied-schema-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
