I am having problems finding how to code in JAVA with the above
I have found a site that shows what methods have been
deprecated in EP5 SP5:
We where on EP5 SP4 and the functionality worked, but due to the upgrade to EP5 SP5 this is broken.
I cannot find examples of how to find a file on the server and get its path.
IURLGeneratorService urlGenerator = (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService("urlgenerator");
//String imageUrl = urlGenerator.getHost() + urlGenerator.getRelativeUri('a' ) + itemImage.getRID().toString();
//return "<img align='left' border=0 alt='' src='"imageUrl"'>";
The above commented lines are the issue.
I need to use the vaild URLGeneratorService methods to get
the url of an image to be uploaded via cm.