When you and your team have finished updating assets in your project, you can publish it.
These instructions assume that you want to resolve any conflicts that occur between your project and published projects.
Verify that you have saved any work that you want to keep in the current project.
If your project has any conflicts with other projects that have already been published, the project tile displays a conflict indicator on the Project Contents button. Click it to find and resolve the conflicts.
If your project displays a no conflicts indicator on the Project Contents button, then all conflicts have been resolved and you can continue.
All the updates in your project are committed to the current site, and Experience Manager users outside of your project see your changes. If your changes have conflicts with open, unpublished projects, then these projects display conflict indicators. Your published project cannot be undone, these other projects must resolve the conflicts.
A conflict occurs when two projects modify the same asset. Two different projects can hold different versions of the same asset, but this is not a conflict until one of the projects is published.
For example, Project A and Project B edit the same asset. Project A is published first, so now Project A's changes to that asset are part of the current site. Experience Manager recognizes that the unpublished Project B has an updated asset that is no longer current, so it flags Project B as having a conflict.
Even if different properties of the same asset are edited in two projects, and one project is published, a conflict occurs. For example, if Project A changes the query for boosting products on a results list and Project B changes the number of records per page, a conflict occurs.
Note that if another project deletes, renames, or moves the parent of your asset, then the projects are in conflict. A parent of your asset can be the folder or page where the asset resides. For example, if Project A changes the name of an asset in the Brands folder, and Project B moves or deletes the Brands folder and then publishes the project, Project A has a conflict.
You can also have conflicts involving the children of an asset that you have changed.
If there are assets with conflicts in your project, you can do one of the following actions:
Override and force publish your project anyway. All of your changes are published and overwrite any existing versions of assets that were in conflict.
Cancel your publishing action and remove any conflicting assets from your project. You can then edit your assets again, starting from the current version of the application that now contains the modifications of all published projects.
The following messages appear in the Details column of the Asset List when your project has conflicts with a published project.
Message |
Description |
---|---|
A published project added
|
Another project was published that If you publish your project anyway, your version of the asset overwrites the other project's asset. |
A published project deleted
|
Another project was published that deleted a folder or page that originally contained the asset. If you publish your project, only the updated assets in your project are included in that folder or page. None of the other assets in the deleted folder or page will be restored. |
A published project moved or renamed
|
Another project was published that moved or renamed a folder or page that contains this asset. If you publish your project anyway, only the updated assets in your project are included in the original folder or page. |
A published project modified
|
Another project was published that modified the same asset. If you publish your project anyway, your project's version overwrites the other project's version. |
A published project deleted
|
Another project was published that deleted this asset. If you publish your project anyway, your action takes precedence and the asset is not deleted. |
A published project deleted
|
Another project was published that deleted a folder or page that contained this asset. If you publish your project anyway, you still see your asset, but all other assets contained in the deleted page or folder are gone. |
A published project moved or renamed
|
Another project was published that moved or renamed a folder or page that contains this asset. If you publish your project anyway, both your version of the asset and the moved asset will exist. |
A published project moved or renamed
|
Another project was published that moved or renamed a folder or page that contains this asset. If you publish your project anyway, a new folder or page will be created at the original location. Both versions of the asset will exist. |
A published project added
|
Another project was published with a modified asset that your project is deleting. Someone in the published project
|
A published project changed one or more
children of
|
Another project was published with changes to assets in the page or folder that you renamed or deleted. Your action takes precedence, so the page or folder is renamed or deleted. Assets contained in the deleted page or folder are also deleted. |
A published project added
|
Another project was published that deleted and then a re-added the asset at the original location. The re-added asset could have happened in any of the following ways:
If you publish your project anyway, both versions will exist. |
A published project changed one or more
children of
|
Another project was published with one or more changes (additions or updates) of one or more of the asset’s children. If you publish your project anyway, the asset and its children are deleted. |
A published project modified
|
Another project was published with changes to an asset that you moved or renamed. If you publish your project anyway, the other project's modifications are lost. |
A published project modified
|
Another project was published with changes to an asset that you deleted. If you publish your project anyway, the asset is deleted and the other project's modifications are lost. |
A published project moved or renamed
|
Another project was published that moved or renamed an asset. If you publish your project anyway, the asset is deleted at the original location and appears in the new location. |
A published project moved or renamed
|
Another project was published that moved or renamed a folder or page that contains this asset. If you publish your project anyway, the asset is deleted at the original location and appears in the new location. |
A published project deleted
|
Another project was published that deleted an asset that you moved or renamed. If you publish your project anyway, the asset still appears. or Another project was published that deleted the source folder or page that contained the asset that you moved or renamed. If you publish your project anyway, the asset still appears. |
A published project deleted
|
Another project was published that deleted the folder or page that contains this renamed or relocated asset. If you publish your project anyway, your renamed or relocated asset becomes the only member of the folder or page. No other assets are there. |
A published project moved or renamed
|
Another project was published that moved or renamed an asset that you also moved or renamed. If you publish your project anyway, both your version and the other project's version will exist. or Another project was published that moved or renamed the source folder or page that contained this asset. If you publish your asset anyway, both your version and the other project's version will exist. |
A published project moved or renamed
|
Another project was published that moved or renamed a page or folder in the asset's target location. If you publish your project anyway, your asset becomes the only member of the folder or page. All other assets are gone. |
A published project narrowed the content type
of
|
Another project was published that changed the content type of the parent folder of the asset that you are adding or updating. The new content type does not include the type for this asset. There is a mismatch. If you publish your project anyway, you need to resolve the mismatch before the asset can be edited, again. |
A published project added or updated
< |
Your project changed the content type of a folder. Another project was published that added or updated an asset that no longer matches the content type of the folder. If you publish your project anyway, you need to resolve the mismatch before the asset can be edited, again. |
Even if your project has conflicts with published projects, you can still publish it. Assets modified in your project overwrite the assets in the published project that are in conflict with your project. Overwriting conflicts is called force publishing.
Verify that you have saved any work that you want to keep in the current project.
If your project has any conflicts with other projects that have already been published, the Project Contents button displays a conflict indicator.
A Conflicts Detected dialog appears. It lists the number of conflicts.
Click Project Contents if you want to see the assets with conflicts.
You can resolve conflicts by removing assets from your project. Removing assets is like "undoing" your modifications. You do not need to fix all conflicts. Click Close when your are finished.
All the updates in your project are committed to the current site, and Experience Manager users outside of your project see your changes. Remember that your assets with conflicts overwrite the assets of previously published projects. If your changes have conflicts with open, unpublished projects, then these projects display conflict indicators. Your published project cannot be undone, these other projects must resolve the conflicts or be force published.