Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

angelinek209805
angelinek209805
Offline

Badges

Badges
12

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
6

Posts

Posts
25

Discussions

Discussions
8

Questions

Questions
17

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by angelinek209805
Customize the badges you want to showcase on your profile
Re: Access request query string parameter in Sightly component - Adobe Experience Manager 28-08-2019
Is it possible to return all the query string parameters? Similar to javascript window.location.search. Eg: current page url is https://google.com?utm_source=search&utm_media=online&param3=xxx and the expected return string is ?utm_source=search&utm_media=online&param3=xxx

Views

4.9K

Likes

0

Replies

0
data-sly-list check for the 2nd last item - Adobe Experience Manager 26-04-2019
Based on HTL documentation HTL Block Statements itemList: Object holding the following properties:index: zero-based counter ( 0..length-1).count: one-based counter ( 1..length).first: true if the current item is the first item.middle: true if the current item is neither the first nor the last item.last: true if the current item is the last item.odd: true if index is odd.even: true if index is even.data-sly-test="${itemList.last}" -> Check for the last item, however in my use case, I would need t...

Views

1.6K

Likes

0

Replies

1
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag - Adobe Experience Manager 07-02-2019
I manage to get it to work by removing the .htmlgenericList: getList("/etc/acs-commons/lists/myfile-name")

Views

2.8K

Likes

0

Replies

0
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag - Adobe Experience Manager 07-02-2019
The ACS common list contains JSON key and value (lists of title/value pairs)Title: List One , Value: list-oneTitle: List Two , Value: list-twoTitle: List Three , Value: list-three...etcFrom GenericList interface acs-aem-commons/GenericList.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub , it has method for getTitle and getValueI am trying to print the title/value pair as option List One List Two List Three

Views

2.7K

Likes

0

Replies

0
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag - Adobe Experience Manager 07-02-2019
I am also having similar issue trying to return the ACS common list in the page with HTL.In my JS USE API following the example code at Use js to read the generic list – All about AEM.. use(function() { "use strict"; var resolver = request.getResourceResolver(); var pageManager = resolver.adaptTo(Packages.com.day.cq.wcm.api.PageManager); return { genericList: getList("/etc/acs-commons/lists/myfile-name.html") }; function getList(url) { var listPage = pageManager.getPage(url); if (listPage == nul...

Views

2.7K

Likes

0

Replies

0
Re: data-sly-repeat define max item via cq dialog - Adobe Experience Manager 04-01-2019
Thanks all for the insightful suggestions.Will go with Java/JS method since unable to achieve with HTL although the properties.maxItems type was changed to Long.

Views

4.4K

Likes

0

Replies

1
Re: data-sly-repeat define max item via cq dialog - Adobe Experience Manager 03-01-2019
I also tried typeHint="Long" and in crx/de the property type is Long. But same errorCannot get DefaultSlingScript: Operands are not of the same type: comparison is supported for Number types only

Views

3.6K

Likes

0

Replies

1
Re: data-sly-repeat define max item via cq dialog - Adobe Experience Manager 03-01-2019
In the cq:dialog, I am using sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"When check via crx/de, the property type is String.

Views

3.6K

Likes

0

Replies

0
Re: data-sly-repeat define max item via cq dialog - Adobe Experience Manager 03-01-2019
If the number is replace with the value from the cq dialog, it will return the same errorCannot get DefaultSlingScript: Operands are not of the same type: comparison is supported for Number types only.

Views

3.6K

Likes

0

Replies

5
Re: data-sly-repeat define max item via cq dialog - Adobe Experience Manager 03-01-2019
Thanks. I have a Java sling modal that returns the items. I would like to use the HTL only if possible.

Views

3.6K

Likes

0

Replies

7
Likes from