Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
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.
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
Hello Muhammad Khan,
Unfortunately, what you have requested isn't currently possible.
Which program are you trying to process with?
Regards,
Kael
I achieve this by using im viewissue --showAttachments --showAttachmentDetails command. Just not sure how to access the child nodes.
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
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