In java use API I can resolve a path(String) to resource and know if that resource exits or not. But in java-script use API, I am able to convert a path(String) to resource using (granite.resource.resolve(path)) but how can I know if the string path which I converted to a resource exists in my JCR?
Thanks in Advance!!
Solved! Go to Solution.
Not pretty sure, but guess you might have to make use of normal java code which uses WCMUSEPojo.
You can await inputs from other community members too on this.