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

askdctm
askdctm
Offline

Badges

Badges
35

Accepted Solutions

Accepted Solutions
7

Likes

Likes
48

Posts

Posts
476

Discussions

Discussions
57

Questions

Questions
419

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by askdctm
Customize the badges you want to showcase on your profile
Re: How to make 'limit' property set on the fieldConfig node under the multifield configurable.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,Suppose I enter 3 in a textfield [property xyz], adding a listener there to get the value. Able to get the value. But not sure how to populate that to limit field in fieldconfig[in the above mentioned article]Trying the below:function(comp) { var dlg = comp.findParentByType('dialog'); var sel = dlg.getField('./xyz').getValue();console.log(sel); var field = dlg.getField('limit');field.setValue(sel);}Any thoughts/snippet will be helpful.

Views

874

Likes

0

Replies

0
Re: How to make 'limit' property set on the fieldConfig node under the multifield configurable.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Kautuk,Yes, I have used the same article and it is working. However, I want to make the limit field configurable[i.e, I should be able to populate limit field value from another field[say a textfield/dropdown] in the component dialog]

Views

874

Likes

0

Replies

1
How to make 'limit' property set on the fieldConfig node under the multifield configurable.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,I am following the article http://letsaem.blogspot.in/2015/12/add-limit-to-number-of-elements-in.html to make this work.However, in addition 'limit' property value has to be configurable[i.e, it has to pick value from an authorable textfield in component dialog].Any thoughts/snippet on this will be helpful.

Views

1.2K

Like

1

Replies

3
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Kautuk,Phewwww. At last able to get it to work. Thanks a ton 🙂

Views

1.3K

Likes

0

Replies

0
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All, Tried writing a listener making use of addtag() event in Tagfield, but it is failing in all scenarios except one. Basically, is of no use in real world-scenarios.Any snippet/reference would be helpful.

Views

1.3K

Likes

0

Replies

0
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,If anyone has implemented such a use case, it would be helpful if you can share snippet on this.

Views

1.3K

Likes

0

Replies

0
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Kautuk,Thank you for your reply.

Views

1.3K

Likes

0

Replies

0
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Scott,Thank you for your reply.Since the article in http://mspbox.blogspot.com/2014/09/limit-tags-selection-to-certian-number.html mentioned about restricting tags in AEM 6.0, thought of trying on the similar lines. Also, not sure how is it working , based on the article. Thought can tweak it to meet my objective.

Views

1.3K

Likes

0

Replies

0
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,I am still not able to get this to work.I want to restrict the total number of tags to 3 in my component tag field, irrespective of the namespaces they are coming from.Any additional thoughts/snippet on this will be helpful.

Views

1.3K

Likes

0

Replies

0
Re: Limit pathfield to 1 inside a multifield
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Steve,http://letsaem.blogspot.in/2015/12/add-limit-to-number-of-elements-in.html worked.

Views

356

Likes

0

Replies

0
Re: How to handle else/if condition in sightly : Bit Urgent
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,Thanks a lot for your reply.Tried the below :"${property1 || property2}" and it worked.

Views

11.3K

Likes

0

Replies

0
Re: How to handle else/if condition in sightly : Bit Urgent
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Praveen,Thank you for your reply.Somehow, I am not quite getting as to why its giving output as "value1?value1:" .If you can provide a snippet, it would be helpful.

Views

11.2K

Likes

0

Replies

0
How to handle else/if condition in sightly : Bit Urgent
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
[Thread Edited By Adobe] /*Don’t forget to meet and greet your fellow peers virtually by telling them about yourself here. Go ahead and to it now: https://adobe.ly/3eDnB4v */ Actual Post: Hi All, In my sightly code I have two page properties which I am successfully getting from my Java WCMUse class. ${bean.getProperty1} and ${bean.getProperty2}. I am able to print these values. #1] However, inside tag, I need to have a logic such that it should check if ${bean.getProperty1} is available. If yes...

Views

27.4K

Like

1

Replies

5
Limit pathfield to 1 inside a multifield
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,In my dialog.xml, we have the below : #1]We should be able to restrict the pathfield we can choose to 1 here. Any reference/snippet/thoughts on this will be really helpful.

Views

985

Likes

0

Replies

4
Facing issues while passing string array from Sightly to Java WCMUse Class
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,In my component.html I have the below :#1] where "relatedPath" is of type String[] holding values for the below dialog section #2] In my corresponding Java WCMUse class, I have the below :private static final String PROPERTY_NAME = "propertyName";private String[] properties;public void activate() throws Exception { properties = get(PROPERTY_NAME, String[].class);But "properties" is always returning null, though the property has two values of pathfields.#3] Also, I see com.adobe.cq.sightl...

Views

1.2K

Likes

0

Replies

2
Re: How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Kunal/Kautuk,Thank you for your reply.#1]Currently I want to limit the tags selected in that field to 3, irrespective of the namespaces they belong to. Tried with the below, but its not working and the tag field shows up blank.

Views

1.3K

Likes

0

Replies

0
How to restrict number of tags we are able to select in the component dialog
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,In our component dialog.xml, we currently have the below :#1] We should be able to restrict the tags we are able to select in the dialog to 3. Saw a similar article https://forums.adobe.com/thread/1175413, but on trying that , it doesn't seem to be working correctly.#2] Also, an additional query : what should be done if we have to restrict 3 tags per namespace.if you can let me know the changes that have to be made to the dialog structure/reference articles, it would be helpful.

Views

4.0K

Likes

0

Replies

13
Re: Facing issues getting custom property value present in 'Advanced' tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,I even tried the below , but not working.protected InheritanceValueMap Prop;res=getResource();Prop = new HierarchyNodeInheritanceValueMap(res);String value = Prop.getInherited("website",String.class);Any thoughts/references will be really helpful

Views

712

Likes

0

Replies

0
Facing issues getting custom property value present in 'Advanced' tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,We have created "basepage" whose sling:resourceSuperType="foundation/components/page". All the other templates/pages are extending from this. In "basepage" template, we have added certain custom properties[always populated with default values] in "Advanced" tab. Now, when I create a sample page of any template, I want to retrieve custom property say 'x'. Tried the below :1] In my WCMUSe class, activate method tried String custom=getInheritedProperties().get("x").toString();But it is not w...

Views

741

Likes

0

Replies

2
Re: Image widget wherein we should be able to drop an image from content finder along with click to upload from local machine : BIT URGENT
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Scott,Also, in the article here, https://helpx.adobe.com/experience-manager/using/creating-logo.html servlet is used. Trying to make use of this, but no luck.I was under the impression that we will be able to display images from DAM as well as the one present on the local computer machine.

Views

356

Likes

0

Replies

0
Re: Image widget wherein we should be able to drop an image from content finder along with click to upload from local machine : BIT URGENT
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Scott,Thank you for your reply.Went through the article, but the media file is fetched from DAM location. With the dialog structure which I am trying[mentioned above], not sure how do I read an external[i.e, uploaded from my local machine] image. Not getting it.

Views

356

Likes

0

Replies

0
Image widget wherein we should be able to drop an image from content finder along with click to upload from local machine : BIT URGENT
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All, I am making use of the below section in my dialog for the image to appear. However, if I upload the image from my local instance, I see entries in the crx below my component as 1] /component/jcr:content/file : with some basic properties like created by and primary type.2] /component/jcr:content/file/jcr:content : with properties as jcr:data, some fields w.r.t last modification, jcr:mimetype, jcr:primarytype, jcr:uuid.3] If I want to show this image component on the page[in footer section...

Views

908

Likes

0

Replies

8
Re: Dynamically populate the value of "textfield" z in "custom" tab in page properties when value is authored for custom property say x[textfield] in Basic tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Scott/Kautuk,Thank you for your reply.Tried the below and its working ok.function(comp) { var dlg = comp.findParentByType('dialog'); var sel = dlg.getField('./title').getValue(); var field = dlg.getField('./title1');field.setValue(sel);}

Views

1.0K

Likes

0

Replies

0
Re: Dynamically populate the value of "textfield" z in "custom" tab in page properties when value is authored for custom property say x[textfield] in Basic tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Scott,Thank you for your reply. Awaiting response from your end.

Views

1.0K

Likes

0

Replies

0
Re: Dynamically populate the value of "textfield" z in "custom" tab in page properties when value is authored for custom property say x[textfield] in Basic tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,Any thoughts here would be helpful.

Views

1.0K

Likes

0

Replies

0
Dynamically populate the value of "textfield" z in "custom" tab in page properties when value is authored for custom property say x[textfield] in Basic tab.
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,Any thoughts/ code snippet/reference on this will be really helpful.

Views

2.3K

Likes

0

Replies

6
Re: com.day.cq.wcm.msm.impl.RolloutConfigManagerFactoryImpl RolloutConfig /etc/msm/rolloutconfigs/default/jcr:content is invalid
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi,Not sure if this will resolve the issue, but can you try restarting MSM bundles[msm-api and msm-core] and see if that helps.

Views

4.0K

Like

1

Replies

2
Not able to get usage of data-sly-template
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi All,Went through Sightly documentation/artciles written by Feike, but somehow I just don't seem to be getting this.Any explanation on this will be helpful.

Views

2.8K

Likes

0

Replies

2
Re: How to remove the wrapping div when using data-sly-resource?
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi Mario,Not pretty sure, but there is data-sly-unwrap[removes host element while retaining its content] available in sightly.

Views

1.5K

Likes

0

Replies

0
Re: To create i18n Object without slingRequest object
Avatar
Give back 300
Level 9
askdctm
Level 9

Likes

48 likes

Total Posts

476 posts

Correct reply

7 solutions
Top badges earned
Give back 300
Ignite 100
Ignite 90
Ignite 80
Give Back 200
View profile
askdctm
- Adobe Experience Manager
Hi,One approach I can think of is as below :import com.day.cq.i18n.I18n;I18n.get(getRequest(), "i18key")

Views

749

Likes

0

Replies

0