I'm migrating from AEM 5.6 to AEM 6.4. In one of my dialog i have xtype => slingscriptinclude for which i'm not sure what should be the sling:resourceType we should be using.
Has anyone come across this xtype? If yes, what was the replacement used for this. If this is not OOTB xtype, is this custom xtype?
Any help w.r.t. would be much appreciated. thank you.
The script to look up in the parent component. It will be run and the results included.
You can check below:
Example : siteStructure in advance tab of Page Property
Did you run the dialog conversion tool - did it convert that xtype to a sling resource type?
Yes, we did run dialog conversion tool and it did not convert this xtype to sling:resourceType and hence posted a query here.
Widget API Documentation can be found at - https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/widgets-ap...
The JS script location on AEM 5.6.1 - /libs/cq/ui/widgets/source/widgets/wcm/SlingScriptInclude.js
Arun, we are already aware about the location of the script and where it is used in AEM 5.6.1. We are looking for pointers as to what would this xtype be converted to in order to function in AEM 6.4.
So if you know what would be the correct sling:resourcetype for this xtype, please advise. Thank you.
There is no replacement I believe if you didn't converted dialog for touch UI.
you can go for custom implementation and build according to your requirement.
you can use jsp/servlet instead with Selector and create a default servlet and return the coral dialog field which you created like another granite type.
In addition - with Touch UI - you can build custom sling resource types if the available touch ui resource types do not meet your needs. For example, assume you want a color picker. You can do so using JQUERY. Details here: Adobe Experience Manager Help | Creating a custom Experience Manager sling:resourceType for Touch UI
As you can see - you have a lot of flexibility when working with touch ui resource types.