AEM ExtJS widgets - html5smartfile fields | Community
Skip to main content
Level 4
October 16, 2015
Solved

AEM ExtJS widgets - html5smartfile fields

  • October 16, 2015
  • 2 replies
  • 821 views

Hi, can you help me understand the expected behaviour of the authoring widget html5smartfile?

When I use this widget in an authoring dialogue and drop an image from the content finder onto the drag and drop area, it shows the file name in the editable text field for this component, e.g. 'MyImage.png'.  The widget also has a 'Referenced from: ' label.  This label now shows, 'MyImage.png'.  I expected this field to show the full path to the file's location in the content finder, e.g. '/content/dam/mysite/images/MyImage.png'.  If I delete the file name from the editable text field, click Ok on the authoring dialog and then re-open the authoring dialog the full path to the file in the dam is then shown in the 'Referenced from: ' label (and the text field still shows as empty).
 

What should the 'Referenced from: ' label show, once a file has been selected and how is it meant to work?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Here is the documentation on this data type:

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.SmartImage

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.SmartImage

All data members are listed here. This topic should answer your questions. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Here is the documentation on this data type:

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.SmartImage

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.SmartImage

All data members are listed here. This topic should answer your questions. 

Level 4
October 16, 2015

Many thanks for the reply.  I did start with the widgets api, but I didn't find any specific description of the 'referenced from' field.  I suppose I should look into the js for the smartfile widget.

By the way your link to SmartImage (and the same applies to CQ.form.SmartFile) show this widget marked,

'Deprecated: since 5.5'