# Previewing and Publishing

When editing a training, you can preview and publish it as often as needed. Changes will only be shown to learners when a training update has been published. Thus, you can make long form edits and preview them without disrupting the learner experience until you are ready to publish.

When publishing a training, this creates a new version of the training. Each version is managed by the version control system. Learn more about this here: [Version Control](/product-guides/lms-authoring/version-control.md).

## Previewing

<figure><img src="/files/cSWWls37z1HqWtNsGQgz" alt=""><figcaption></figcaption></figure>

The preview button is located in the top right of the editor. Clicking this will open a new page to show you the current content in the editor as if you were a learner.

## Publishing

The publish button is also in the top right of the editor. If there are unpublished changes to your course, this button will be available to be clicked. Otherwise, if there are no current changes, it will be disabled.

Publishing a course takes effect immediately. All learners currently assigned the course will then need to take the new content if they have not yet finished. Publishing has no impact on learners who have already finished a course. If a learner has already finished a course, they would not need to take the new content until the next time you assign them this course.

### Availability in the Course Catalog

When you create a new training it is not yet avialble in your Training Library Course Catalog. You must publish the training at least once for it to be available.

{% hint style="info" %}
Note: these trainings are private to just your organization. "Publish" means making the changes available to your organization, it does not mean they will be public to the broader Affinity community.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/lms-authoring/previewing-and-publishing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
