since ‎11-05-2016
‎09-05-2020
victor_toledo_3
Level 2
Re: AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
Well finally i have a possible approach.Thanks @Jörg_Hoh and @BrianKasingli for all your help!!here is the filter that i created and seems to be working. And i would like to share the solution and know your opinions. import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Properties; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.annotations.Service; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servl...
1611
Views
2
Likes
0
Answers
Re: AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
Hi @Jörg_Hoh, And how could I make it last in the rewriter pipeline, perhaps with a java filter? Briankasingli shared me this one https://mkyong.com/java/java-pretty-print-html
3503
Views
0
Likes
0
Comments
Re: AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
I will try with that lib and see the results, thank you very much!
3201
Views
0
Likes
0
Comments
Re: AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
Hi @Jörg_Hoh, yes i know, this is a client requirement, they want to have a "better" html for debugging propose and compare with their Front End code. I just trying to test some posible solution and see if it makes sense or we will have a performance decrease
3526
Views
0
Likes
0
Comments
Re: AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
Hi @BrianKasingli, thanks for your response. But i would like to it on the render process and not add an extra process on the client side.
3225
Views
0
Likes
0
Comments
AEM - Make the rendered html prettier/more readable victor_toledo_3 - Adobe Experience Manager
Hello everyone,does anyone know if there is a way to make the rendered html more readable?. I mean, properly tabulated and ordered.I'm using sigthly and the markup of each component is well tabulated on the app code.But I understand that the rendering engine is modifying that indentation and rendering an html that is not ordered and indenting.an example instead of something like this Is that posible without add an extra html processor or something similar to that?Thanks in ad...
6722
Views
0
Likes
11
Answers and Comments
Re: Modify inline edit table default value victor_toledo_3 - Adobe Experience Manager
hi @AnkurAhlawat, i have a similar requirement, do you have the solution to change the default tableData value? Thanks in advance
1269
Views
0
Likes
0
Replies
Re: Custom RequestLocaleResolver victor_toledo_3 - Adobe Experience Manager
Hi @armandokg ! have you resolved this problem? i had a similar one and would like to know what approach you used to change the jcr:language. Thanks in advance
1103
Views
0
Likes
0
Comments
Re: Custom RequestLocaleResolver victor_toledo_3 - Adobe Experience Manager
Hi @armandokg ! have you resolved this problem? i had a similar one and would like to know what approach you used to change the jcr:language.Thanks in advance
1104
Views
0
Likes
0
Answers
Re: activate just the jcr:content victor_toledo_3 - Adobe Experience Manager
Finally i found the solution!! and yes, it is using Sling Content Distribution api.Find below the most import part of the code and let me know if you have questions 🙂 ... import org.apache.sling.distribution.DistributionRequestType; import org.apache.sling.distribution.DistributionResponse; import org.apache.sling.distribution.Distributor; import org.apache.sling.distribution.SimpleDistributionRequest; ... @Reference private Distributor slingDistributor; ... DistributionResponse distributionRes...
1353
Views
0
Likes
0
Answers
Re: activate just the jcr:content victor_toledo_3 - Adobe Experience Manager
Hi Jörg_HohCan i do that by code? I need to add a custom action for the authors.What do you think about https://sling.apache.org/documentation/bundles/distribution.html#forward-distribution and SimpleDistributionRequest sdr = new SimpleDistributionRequest(DistributionRequestType.ADD, true, assetPath); slingDistributor.distribute(PUBLISH_AGENT_NAME, resolver, sdr); Thanks
1484
Views
0
Likes
1
Answers
activate just the jcr:content victor_toledo_3 - Adobe Experience Manager
Hi community,I'm trying to find a way to activate the page properties without activating the content of the components.So, I want to activate only the jcr:content node without the child nodes.I've read the replication API but I can't find something to help me. ReplicationContentFilter and also check EventHandlerI've all the code, I added a new button in the top bar of sites.html, which invokes a servlet to make the publication. But when using replicator.replicate with the jcr: content node, the ...
2781
Views
0
Likes
4
Answers and Comments
Re: Apache Sling Content Disposition Filter victor_toledo_3 - Adobe Experience Manager
Hi here, i'm using this configurationand it seems to work, i mean, I've deactivated the filter for all paths, but I have added a rule to validate everything in content except pdfswhat do you think? should i add more paths on Included Resource Paths, as for example, /etc, /libs, /apps etc
2159
Views
0
Likes
0
Answers
Re: :cq_csrf_token and form container core component victor_toledo_3 - Adobe Experience Manager
Hi Julio, have you solved this problem? I face a similar problem after trying to configure an external URL as a thank you page.
3574
Views
0
Likes
0
Replies
Invalid cq:LiveSyncConfig node is created after save page properties victor_toledo_3 - Adobe Experience Manager
Hi all,I'm having an strange issue with the LiveCopy sync configuration node.Basically we have a master site (Blueprint) and then we have severals live copies. We also have several custom rollout configurations with their live actions. These rollout configs are configured on the pages under the master site and then are inherited on the live copies.The synchronization and rollouts config are working fine.But we are having a strange issue when an author save some changes on the page property in a ...
1408
Views
0
Likes
1
Answers and Comments
Re: AEM 6.4 Touch UI ResourceType for Classic xtype cq.workflow.model.selector victor_toledo_3 - Adobe Experience Manager
Hi shivamurthym77501522​, Have you been able to solve this problem? thanks in advance
3223
Views
0
Likes
0
Replies
Re: Text Component and Internal Link issue victor_toledo_3 - Adobe Experience Manager
Hi all, i found the issue and the solution, I was testing in aem 6.3.3 and the problem does not occur. Then, I realized that the problem was in 6.3, comparing the js I see that it has been solved sometime between 6.3 and 6.3.3.AEM 6.3.0.0AEM 6.3.3.0So the solution is to update the instance.Thanks to all
1276
Views
0
Likes
0
Answers
Re: Text Component and Internal Link issue victor_toledo_3 - Adobe Experience Manager
Hi JaideepBrar, i'm using a new installation of aem 6.3 I've not changed nothing
1269
Views
0
Likes
0
Answers
Text Component and Internal Link issue victor_toledo_3 - Adobe Experience Manager
Hi all,I have a strange issue with the text component (core/wcm/components/text/v1/text) and a link to an internal page. When I add a link to the internal content, the host name is added to the link and saved in the repository, obviously causing a problem when publishing the page, since the link points to the author.i'm working with AEM 6.3.0.0, fresh instance (i started the server on port 4505) and We.Retail siteLet me try to explain you the issue with some picsThen i'm trying to add a text wit...
3155
Views
0
Likes
6
Answers and Comments
Re: How to create a component which has multiple parsys based on a multifield? victor_toledo_3 - Adobe Experience Manager
Hey @vigiaemnewbie Have you found an approach to solve this problem?Thanks
8209
Views
0
Likes
5
Replies
Re: Hebrew Language ISO code Issue victor_toledo_3 - Adobe Experience Manager
Java know issue Bug ID: JDK-4140555 JDK uses "iw" for Hebrew instead of the new ISO standard "he"
1390
Views
1
Like
0
Answers
Re: Hebrew Language ISO code Issue victor_toledo_3 - Adobe Experience Manager
thanks for the reply!! do you know if it's a aem bug?
1355
Views
0
Likes
0
Answers
Hebrew Language ISO code Issue victor_toledo_3 - Adobe Experience Manager
Hello everyone,I have a problem with the Hebrew translation. I added the language "he" to /etc/languages. I also added the translations to the dictionary, but AEM is returning the default entries. After a little more research, AEM is trying to find the translation for "iw" (the old iso code for the Hebrew language) instead of "he" (the new iso code for Hebrew). If you add "iw" to /etc/languages and then add the translation for iw language (using the translation tool /libs/cq/i18n/translator.html...
3112
Views
1
Like
4
Answers and Comments
Re: Dynamic Media - Original Image and Responsive victor_toledo_3 - Adobe Experience Manager Assets
Hi eharris3, do you know why two request are made?
1486
Views
0
Likes
0
Answers
Dynamic Media - Original Image and Responsive victor_toledo_3 - Adobe Experience Manager Assets
Hi all,i've integrated Dynamic Media Hybrid Mode with my AEM 6.3.3.0 environment. All is working fine but i have a question.When i open the image url without any query parameter, preset, etc (https://dmserver/is/image/image.jpg) i'm getting a small image (300x200 px). Is there a way to get the original image? (size, type, etc, without any modification)And when i use the responsive feature with the OOTB responsive image preset, the page is doing two request https://dmserver/is/image/image.jpg?$re...
2188
Views
0
Likes
2
Answers and Comments
Re: RTE Styles and Edit in Touch UI Dialog victor_toledo_3 - Adobe Experience Manager
Thank you Veena_07!! your answer has helped me to resolve my problem with the Touch UI dialog and rich text editor
5252
Views
1
Like
0
Replies
Re: Sorting by last modified by in AEM assets.html victor_toledo_3 - Adobe Experience Manager
Hi all, i need to implement the same thing but i need to sort by Title. I have AEM 6.3.2.0 but i dont have the node "/libs/dam/gui/content/facets/assets/items", could you help me?
1501
Views
0
Likes
0
Answers
Re: AEM Assets - Metadata Schema Editor - Issue on save victor_toledo_3 - Adobe Experience Manager
Hi, they added a custom code in/apps/dam/gui/coral/components/admin/metadataeditor/formresourcefinder.jspand the tab definition/conf/global/settings/dam/adminui-extension/metadataschema/custom/.content.xml
2062
Views
0
Likes
0
Replies
AEM Assets - Metadata Schema Editor - Issue on save victor_toledo_3 - Adobe Experience Manager
Hi guys, i'm working on a client where they have created an overlay of The Metadata Schema Editor in order to add their custom properties.Sometimes, when they try to make a bulk edition of a set of images and when they use "Save" instead of "Save & Close". The page is reloaded with the message"There is no content to display. If you have manually refreshed the page, please go back and select asset/s to be edited."And in the log i'm seeing only this exception21.08.2018 17:06:43.801 *ERROR* [0:0:0:...
2364
Views
0
Likes
2
Replies
Re: com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl No library configured at victor_toledo_3 - Adobe Experience Manager
Hi nandand81957514 , yes, will be overwritten. I just did it to test if that is the problem. By changing that property in those folders within libs, the warning stopped appearing. So, my conclusion was that this was the problem.
1657
Views
0
Likes
0
Answers