Hi all,
User have to choose xdp file to process in my component. I'm using property-editor
com.adobe.idp.dsc.propertyeditor.system.ApplicationURLPropertyEditorComponent on input parameter. The problem is that this editor return relative path inside application (e.g.:"Resources/xdp1.xdp") and when I'm trying to read documentwith following code
<code>xdpDocument = repositoryClient.readResourceContent(xdpPath);) </code> using path specified I get error - invalid path. However specifing absolute path with hard-coded application name (e.g.:"/Applications/MyApplication/1.0/Resources/xdp1.xdp") works without any exceptions. As you understand I can't hard-code application name, because it's specified by user. So, I'll be glad to hear any suggestions how to resolve relative path to absolute or how to obtain current application name and version?