03-28-2012 12:25 PM
I have a xml file and want to know how to read it using your api. The file is in my plugin folder
03-29-2012 01:16 PM
You should put it in the config/
directory.
Then you can use Environment.getConfig()
to get that path from your code. Then use standard XML file reading mechanisms.
Or use URL url = context.getRuntimeContext().getResource("config/your-file.xml")
and read the XML from that URL.
03-29-2012 01:16 PM
You should put it in the config/
directory.
Then you can use Environment.getConfig()
to get that path from your code. Then use standard XML file reading mechanisms.
Or use URL url = context.getRuntimeContext().getResource("config/your-file.xml")
and read the XML from that URL.
04-02-2012 11:15 AM
thanks!!!!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.