How can I move a library version from one release to another?
You can move a library version by manually editing the library release and the custom properties files.
Description
When cloning a library version, we selected the wrong release. There is no feature in MadCap IXIA CCMS that allows a user to move a library version from one release to another.
Solution
CAUTION: This procedure should only be used to move a version from
one release to another within the same library or product.
- In the DITA perspective, in the Dynamic Release Management view, lock and edit the library release that you want to remove the version from.
- In Oxygen
Source view, paste the value of
<version>
into a Notepad file for future reference. - Remove the
<version>
value. For example change:
to:<librelease id="uhi1518792519042" xml:lang="en-us"> <name>LibR1</name> <releasemeta> <description/> <aliases/> </releasemeta> <versions><version href="fso1518792529667.version"/></versions> </librelease>
<librelease id="uhi1518792519042" xml:lang="en-us"> <name>LibR1</name> <releasemeta> <description/> <aliases/> </releasemeta> <versions></versions> </librelease>
- Release the library release file.
- Lock and edit the library release where you want to move the version to.
- In the
<versions>
element, paste the<version>
value. Make sure there is a closing tag for<versions>
. For example change:
to<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE librelease PUBLIC "-//IXIA//DTD DITA CMS Release//EN" "release.dtd"> <librelease id="nap1518794053288" xml:lang="en-us"> <name>LibR2</name> <releasemeta> <description/> <aliases/> </releasemeta> <versions/> </librelease>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE librelease PUBLIC "-//IXIA//DTD DITA CMS Release//EN" "release.dtd"> <librelease id="nap1518794053288" xml:lang="en-us"> <name>LibR2</name> <releasemeta> <description/> <aliases/> </releasemeta> <versions><version href="fso1518792529667.version"/></versions> </librelease>
- Release the library release.
- In the Dynamic Release Management view, right-click the library version. Click .
- In the TEXTML Admin perspective, In the Show documents file names containing field, paste the copied reference.
- Expand the content/releases folder.
- Check out the .version file.
- Right-click the .version file. Click Open Custom Properties.
- Edit the
userproperty type="parent.filename"
entry and replace the.release
value with the copied reference. For example, change:
to<userproperties> <userproperty type="parent.filename" >/content/releases/uhi1518792519042.release</userproperty> </userproperties>
<userproperties> <userproperty type="parent.filename" >/content/releases/nap1518794053288.release</userproperty> </userproperties>
- Save the file.
- Check in the file.