Sign in to Community
Sign in to view all badges
As per document Asset Selector , http://localhost:4502/aem/assetpicker.html?dialog=true Use these parameters to open the asset selector as Granite Dialog. This option is only applicable when you launch the asset selector through Granite Path Field, and configure it as pickerSrc URL.
I tried the following code in the dialog XML:
<image jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/pathfield" name="./videoThumbnail" pickerSrc="/aem/assetpicker.html?dialog=true"
The pathfield above does not seems to use the alternative picker specified by the pickerSrcand behaves like a standard pathfield.
Also tried adding the extra URL parameters as specified in the pathfield docs but that made no change.
Please provide ur inputs how to configure assetpicker in dialog.
i've created a demo package which works in AEM 6.4.
You can find it here .
Let me know if you need more info.
Not able to view the attached package for the answer that is marked correct. Can you please post the solution again?
It does works if you'll be using below path for pickerSrc
but still there is a bug, it will not allow selecting assets from assets selector.
you can log a daycare ticket.
The pickerSrc is not working with values "
"/aem/assetpicker.html?dialog=true" anyone got the assetpicker ?
/aem/assetpicker.html?dialog=true" anyone got the assetpicker ?
Did you find a solution for this? Would you mind sharing?
I want to launch the asset selector through Granite Path Field in dialog, for image asset selection.
WHat are you trying to perform with the PathField - i am looking at http://localhost:4502/aem/assetpicker.html and it looks like its functioning properly.