since ‎05-08-2014
‎22-01-2021
snbaem
Level 4
Re: design mode in slightly
Avatar

snbaem

snbaem
- Adobe Experience Manager
@Sandeepif it help this backend logic works for me @Model(adaptables = {SlingHttpServletRequest.class, Resource.class }, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class TestModel { private static final Logger LOG = LoggerFactory.getLogger(TestModel.class); @Inject private Resource resource; @SlingObject private SlingHttpServletRequest slingRequest; @ValueMapValue(name = "id", injectionStrategy = InjectionStrategy.OPTIONAL) private String testid; @PostConstruct protecte...

Views

192

Likes

0

Replies

0
Re: design mode in slightly
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi @san can you try the code line below ? Otherwise what you have mentioned seems like should work too.. Below kind of logic seems to work for me //Display test1 if in design mode or test2 in edit mode test1 test2

Views

133

Like

1

Replies

0
Re: Does Akamai cache has something similar to SDi cachin...
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hey @v1101 I did not pursue this further. But if you have an Akamai representative, they might be able to help. I will add more details if I find any.

Views

253

Like

1

Replies

1
Re: Caching Header and Footer without SDI implementation
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks for the quick response. Although we have no-js implemented pages and no SDI, I will take a look at the links.

Views

222

Likes

0

Replies

0
Caching Header and Footer without SDI implementation
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All, I am trying to see if it is possible to cache the header and footer in dispatcher so that when any page is called for the first time, at least the header and footer is used from the dispatcher cache created from first page that was hit on the site.I found that if we do and implement SDI, we can see a cached file in dispatcher such as header.cache.html. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sling-dynamic-include-dispatcher-component-caching/qaq-p/20...

Views

241

Likes

2

Replies

2
Re: VersionHistory - Unable to get size directly by getAl...
Avatar

snbaem

snbaem
- Adobe Experience Manager
Makes sense, thanks!!

Views

1.3K

Likes

0

Replies

0
VersionHistory - Unable to get size directly by getAllVersions.getSize()
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All, Recently tried to use VersionHistory API (https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/version/VersionHistory.html) I am able to use getAllVersions() but getAllVersions().getSize() gives me -1. To get the actual size so far I am having to loop the iterator and add the count within the loop. Is there a better way or I missed something?

Views

1.3K

Likes

0

Replies

2
Re: Does Akamai cache has something similar to SDi cachin...
Avatar

snbaem

snbaem
- Adobe Experience Manager
Found on https://community.akamai.com/customers/s/article/Adobe-CQ-AEM-Akamai-integration-best-practices?language=en_US that ESI integration would work with Akamai but the image in the link is not loading. It might be about inclusion statement esi:include and using attribute no-store but not sure. Can someone confirm or help?

Views

1.5K

Like

1

Replies

3
Re: RTE plugin Adding Icons in the styles using inline an...
Avatar

snbaem

snbaem
- Adobe Experience Manager
What do we see in the content node after save? Could there be a check for ${properties.rte} being empty that is not printing anything?

Views

1.4K

Like

1

Replies

2
Does Akamai cache has something similar to SDi caching in Dispatcher?
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All, Checking to see if one can achieve something similar to SDI include that we can do for dispatchers on AEM. I am looking to find if we can have certain section identifiers which would allow Akamai to cache only specific sections of a page and not cache desired dynamic sections. Please share any insights or discussions on this Shubham

Views

1.5K

Likes

0

Replies

4
Re: Add selected as true to dynamic dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
Already added wha worked for me. This can be disregaded.

Views

1.4K

Likes

0

Replies

0
Re: Add selected as true to dynamic dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
As mentioned in first comment I was able to achieve this by adding disabled=true for selected item. Thanks again to @Arun_Patidar for the great article

Views

1.4K

Likes

0

Replies

0
Re: Add selected as true to dynamic dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
yeah, I think I tried that, but when we choose to open the dialog and we are within "$(document).on("dialog-ready", function () " the "dialog box" is not available and hence we are unable to query the saved/selected item or root itself. is

Views

1.8K

Likes

0

Replies

0
Re: Add selected as true to dynamic dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
I added vm.put("selected", true); vm.put("disabled", true); , in that case it seems to work. I get the expected view, just that the selected item will be disabled. But if I keep just vm.put("selected", true); then the selected value is not "selected"

Views

2.6K

Likes

0

Replies

0
Add selected as true to dynamic dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All, I am trying to follow https://helpx.adobe.com/experience-manager/using/creating-touchui-dynamic.html and able to get the dynamic dropdown. However if I want to have a second dropdown value as selected I am unable to do so. Am I missing something? I am trying followingDataSource ds = new SimpleDataSource(new TransformIterator(languages.keySet().iterator(), new Transformer() { public Object transform(Object o) { String language = (String) o; ValueMap vm = new ValueMapDecorator(new HashM...

Views

2.6K

Likes

0

Replies

5
Re: Communities Comments Component Edit/Delete displayed for all users
Avatar

snbaem

snbaem
- Adobe Experience Manager
We didn't face any issue while creating calendar event I think. From what I remember, once a user becomes a member the "write" access is provided to the group that gets created for the community. As Arun has mentioned above, this will have to do with user privileges, please check around that.For the given user try to see what rights they have for nodes a and under "/content/project/en/communities/communityA" for example.

Views

771

Likes

0

Replies

0
Re: Adding a component to designs
Avatar

snbaem

snbaem
- Adobe Experience Manager
There was an issue in filter.xml which was wiping off some properties/nodes under /apps/settings. After adding mode = update in the filter.xml issue is avoided. The component is available now in the parsys.See -Jackrabbit Filevault - Workspace Filter for reference

Views

1.2K

Likes

0

Replies

0
Adding a component to designs
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All,I am facing a weird issue for a simple scenario. I am trying to add a new component I created (component1) under "/apps/settings/wcm/designs/myproject/jcr:content/mytemplate/contentArea" On the 'contentArea' node I have added a property "components" and value to be the path of the component. Another property is "sling:resourceType" and value "foundation/components/parsys".Regardless of this, when I create a page and try to check the parsys, I am unable to see the component available. W...

Views

1.5K

Likes

0

Replies

3
Add a custom rte plugin like styles dropdown
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All,I looked into Configure the Rich Text Editor and Configure the Rich Text Editor plug-ins to add custom styles to custom rte component. The change looks like belowThe question is - Can I add a separate styles icon (with another symbol) so that I can show "styleA" and "styleB" over there instead of cluttering everything under the ootb 'styles' dropdown (S) ? Basically I want to keep style1, style2 style3 and so on, under ootb styles dropdown and separate out the styleA, styleB and so on,...

Views

819

Likes

0

Replies

1
Re: Is it advisable to deploy to /var?
Avatar

snbaem

snbaem
- Adobe Experience Manager
yes it seems to work fine. I added below to ui.content, filter.xml, matches to what berliant​ has mentioned. The "mode" is need basis.

Views

970

Likes

0

Replies

0
Re: ContextHub Configuration Browser Project Settings
Avatar

snbaem

snbaem
- Adobe Experience Manager
I could see those for my project as well, but I was expecting something like a boolean property on one of the nodes. Looks like that is not the case. The existence of the three paths as you have mentioned should be checked for it seems.Thanks for the quick response.

Views

1.0K

Likes

0

Replies

0
ContextHub Configuration Browser Project Settings
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All,I am looking into ContextHub and followed this video Setup ContextHub (which is very clear and helpful). There is a step within this video (~2:06 mins) where we need to select "ContextHub Segments", "Cloud Configurations and "Content Fragment Models" check boxes. Is there a way we can determine where these settings are saved, if we need to view within crx/de or jcr structure? I am looking to add this step trough code deployment.Thanks & Regards

Views

1.2K

Likes

0

Replies

2
Is it advisable to deploy to /var?
Avatar

snbaem

snbaem
- Adobe Experience Manager
We are trying to deploy a workflow to the instance via code and the changes are withing "/conf/global/settings/workflow/models" and "/var/workflow/models". For the changes under /var and /conf, I have added filter to filter.xml. Is it advisable to deploy such changes through code? When I tried the changes seem to go in fine to the instance.

Views

1.3K

Like

1

Replies

4
Re: RichText Editor paste options in AEM 6.4 Touch UI
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Arun. This is exactly what I was looking for. I haven't seen "edit#cut,edit#copy,edit#paste-plaintext,edit#paste-wordhtml" addition in inline toolbar in documentation. But now I understand how the syntax might have come by.

Views

1.2K

Likes

0

Replies

0
Re: RichText Editor paste options in AEM 6.4 Touch UI
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All, Any idea on this issue? I found this Text Component where "Paste as Text" and "Paste from Word" are available as options and buttons are visible how they would look in a Touch UI view.I checked the core components for the "text" component (v2) but the "rtePlugins" node doesn't seem to have same details.

Views

1.1K

Likes

0

Replies

0
RichText Editor paste options in AEM 6.4 Touch UI
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All,I am trying to use the rte touch ui component in which I want to add paste options that were available as part of Classic UI.For example as highlighted in below image.I found from Configure the Rich Text Editor that I can add the 'edit' property and value "*" to include the cut, copy, paste-default, paste-plaintext, paste-wordhtml.However in Touch UI I am not able to provide all the pasting options but choose from browser, plaintext, or wordhtml to be added as a value for property "def...

Views

2.3K

Likes

0

Replies

4
Re: AEM 6.4 Touch UI listener, update rte field and persist as different property
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello smacdonald2008​,Any response from the TouchUI experts?

Views

2.0K

Likes

0

Replies

1
Re: AEM 6.2 - Missing element AD in element OCD
Avatar

snbaem

snbaem
- Adobe Experience Manager
Unable to view the url (redirects to Adobe Experience Manager ) Please help updating the url

Views

2.3K

Likes

0

Replies

0
Re: AEM 6.4 Touch UI listener, update rte field and persist as different property
Avatar

snbaem

snbaem
- Adobe Experience Manager
True, good point. Despite that I am able to get to my custom js on click of ok which I think is fine.. ? so that I can perform desired logic.However there might be something fundamentally wrong if I am doing something 6.0 way..Thanks for reaching out to the TouchUI people..Regards

Views

2.0K

Likes

0

Replies

0
AEM 6.4 Touch UI listener, update rte field and persist as different property
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All,I am following this article - Adobe Experience Manager Help | Using Event Handlers in Adobe Experience Manager Touch UI Components to create a listener js file and do desired logic when Ok or 'Tick' is clicked. I am able to get within the custom js file after following the steps.The desired logic is when for a rte component field when ok is clicked, pick the authored content and add desired css and span to it. Save the updated content as a property on the node with updated content as valu...

Views

2.4K

Likes

0

Replies

4