Hi All,
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!!
-Raghava.
Solved! Go to Solution.
Views
Replies
Total Likes
Do getResource() instead of resolve(), if it results in null then it doesn't exists.
Views
Replies
Total Likes
Hi,
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.
Views
Replies
Total Likes
Do getResource() instead of resolve(), if it results in null then it doesn't exists.
Views
Replies
Total Likes
Views
Likes
Replies