CLI command to get the document detail in GUI (document->view)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
CLI command to get the document detail in GUI (document->view)
Good Morning,
Again my apologies if it is a dumb question. I want to display all the detail via cli command just like I can do it in GUI document->view. I want to process that in a different program.
Thank you for your help.
Solved! Go to Solution.
- Labels:
-
Process Director
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Muhammad,
what about "im viewsegment --xmlapi --fields=text,category 162", whereas the 162 is the document id?
You are getting then xml data which you can process
Does this help?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Muhammad Khan,
Unfortunately, what you have requested isn't currently possible.
Which program are you trying to process with?
Regards,
Kael
Kind Regards,
Kael Lizak
Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I achieve this by using im viewissue --showAttachments --showAttachmentDetails command. Just not sure how to access the child nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Muhammad,
what about "im viewsegment --xmlapi --fields=text,category 162", whereas the 162 is the document id?
You are getting then xml data which you can process
Does this help?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Muhammad Khan, Volker Eckardt,
That will work up to Integrity 10.6, but be aware that the command was never published, and so any scripts relying on that won't work as of 10.7, when that option was removed from the product. You could get the same effect by using the mksAPIViewer or java -jar <clientInstallDir>/lib/mksapi.jar --iplocal --xml <CLICommand>, as per CS166082.
Regards,
Kael
Kind Regards,
Kael Lizak
Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
