I need to display image name in a text field. I got the image url but I am not able to get the image name.
function onSavedDocURISuccesss(imageURI) {
storeFileURI = imageURI;
WL.Logger.info("storeFileURI " + storeFileURI + " showURIId "
+ showURIId + " "
+ storeFileURI.substr(storeFileURI.lastIndexOf('/')))
if (storeFileURI == null || storeFileURI == undefined)
storeFileURI = "unsupported file"
$("#" + showURIId).val(storeFileURI)
}
storeFileURI?