List of UUID and files in CCM
![]()
Torsten Welk (34●1●7●10)
| asked Jun 25 '19, 7:52 a.m.
edited Jun 26 '19, 2:02 a.m. by Ralph Schoon (63.3k●3●36●46) We have stored documents in CCM (6.0.4). When we have a reference in that document to another document the URL includes the UUID. Loading the documents into the workspace works. When you work offline you will not be able to find the referenced dockument.
|
Accepted answer
![]()
Personally, I am not aware of such a tool.
Anyway, if you are familiar with Plain Java API, you can search the repository, retrieve the documents and get their names and UUIDs this way: // retrieve the versionable (i.e. the document)
Getting the document path is a bit more complex.
You must retrieve the configuration (IConfiguration) associated to the component to which the versionable belongs, then you can "build" the path this way:
String filePath = ""; Torsten Welk selected this answer as the correct answer
|
One other answer
![]()
Thank you very much for the fast answer.
From an other side I got the possibility to use the CLI.
lscm login -r <URL> -n local -u <user> -P <PW>
lscm list files -D '-' -i -j -r local <STREAM> > file.json
Writes out a json file with all files from the stream
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.