How can I break the lock on documents that are locked by a writer?
You can break the lock using the TEXTML Administration perspective.
Description
A writer has left our organization and they left several documents locked in . If I right-click on the documents in the Search Results view, I do not have an option to release or break the lock.
Solution
- In the DITA
perspective, select the following criteria:
- Cycles: Authoring
- Document Types: Maps, Topics, Images
- Limit to: Locked by me
- Click .
- In the Save query dialog box, type the following: locked documents
- Click OK.
- In the Search view, in the Queries panel, expand Personal Textml.
- Double click locked documents.tql.
- In the editor, select all content in the locked documents.tql file and copy to your clipboard.
- Open the TEXTML Administration perspective.
- Log in to your Content Store.
- Right click Document Queries. Click .
- Type the following: locked documents
- Click OK.
- Expand the Document Queries folder.
- Double click the locked documents.xml file.
- Overwrite all content in the file with the content in your clipboard.
- Click .
- Remove the following
line:
<date_query indexName="" operator="and" range="none"/>
- For the following two lines, replace the email address and
the domain\username values with the writer who has the content
locked:
<elem>test@ixiasoft.com</elem> <elem>ixiasoft\test</elem>
- Save the file.
- Right-click the locked documents.xml file. Click Run.
- In the TEXTML Search Results view, bulk select the documents.
- Right-click the selected documents. Click Break Lock.