Allow programmatic access to CAPI text

What would you like to see in CSPro?
Post Reply
uri
Posts: 15
Joined: December 11th, 2012, 11:52 pm

Allow programmatic access to CAPI text

Post by uri »

...in other words, something like the getlabel() or getnote() function, but for CAPI text. In order to be able to display it in batch edit programs.
Gregory Martin
Posts: 1793
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Allow programmatic access to CAPI text

Post by Gregory Martin »

Unfortunately there is no way to programmatically access the CAPI text. However, you can get it in XML format if you want. To do this, go to the CSPro installation folder and run the tool ExportXMLMetadata. You can then select the QSF file that contains your CAPI text and you can export it to XML format.

You will need to have the file dcf2ddi.xslt in the installation folder. If you're using CSPro version 4.1 or earlier, it comes with it automatically. CSPro 5 doesn't, so I've attached it for your download.
Attachments
dcf2ddi.zip
(5.49 KiB) Downloaded 726 times
uri
Posts: 15
Joined: December 11th, 2012, 11:52 pm

Re: Allow programmatic access to CAPI text

Post by uri »

Perfect, thank you Gregory!
Post Reply