since ‎09-04-2016
‎10-12-2019
Anton_Smulskiy
Level 2
Insert node after concrete sibling node Anton_Smulskiy - Adobe Experience Manager
Hi,I have a node structure like:parsys- component1- component2- component3- component4And I need to add 'newComponent' node after 'component2' programmatically.The result should be:parsys- component1- component2- newComponent- component3- component4Can't find a way how to add newComponent node to have that order. Can anyone help? Thanks.
1198
Views
0
Likes
1
Replies
Re: package manager issue Anton_Smulskiy - Adobe Experience Manager
AEM restart didn't help. But then I reboot my PC, the issue has gone. Have not idea what that was...
763
Views
0
Likes
0
Answers
Re: package manager issue Anton_Smulskiy - Adobe Experience Manager
The package is a valid AEM package
764
Views
0
Likes
0
Answers
package manager issue Anton_Smulskiy - Adobe Experience Manager
Hi,I have a strange issue: cannot install or uninstall any package:Install Package: /etc/packages/my_packages/footer.zipWed Jul 12 2017 12:32:45 GMT+0300 (FLE Daylight Time)Installing contentError during processing:java.lang.NoClassDefFoundError: bom/sun/org/apache/xerces/internal/xni/parser/XMLInputSource...So, somehow it looks for "bom/sun/org/apache/xerces/internal/xni/parser/XMLInputSource"But it should be "com/sun/org/apache/xerces/internal/xni/parser/XMLInputSource" I believe.Does anybody ...
1229
Views
0
Likes
3
Answers and Comments
Re: Access denied to crxde Anton_Smulskiy - Adobe Experience Manager
Hi Jörg,Yep, you are right, today I faced with issue that crxde doesn't show anything when nosamplecontent runmode used. I googled and found out that CRXde is not a sling app and if I'm not mistaken, WebDav protocol used to get jcr tree in CRXde.
1003
Views
0
Likes
0
Answers
Re: Externalizing URLs for a sitemap Anton_Smulskiy - Adobe Experience Manager
Try externalizer.externalLink(..). Make sure you have configuration for Externalizer domain
850
Views
0
Likes
0
Answers
Re: Access denied to crxde Anton_Smulskiy - Adobe Experience Manager
Hi,You can write a sling filter with a pattern property. Check runmode. Get UserId. Then get Authorizable from UserManager. Then you can call memberOf() method on Authorizable.This is first what came to my mind. Maybe there are better ways to reach you goal.
972
Views
0
Likes
0
Answers
Re: Workflow models in code base Anton_Smulskiy - Adobe Experience Manager
I mean after every build. Same AEM version, same server.
1609
Views
0
Likes
1
Replies
Workflow models in code base Anton_Smulskiy - Adobe Experience Manager
Hi,We have several workflow models persisted in a code base. And after every deploy there version is increased.I don't think it is good, because the workflow model is not changed, but the new version is created. Is there an option not to increase workflow model version after every deploy?Is it a good idea to keep workflow models in code base?
1647
Views
0
Likes
3
Replies
Re: Touch UI Dialog full screen by default. Anton_Smulskiy - Adobe Experience Manager
Thank you. This is what I need.
1319
Views
0
Likes
0
Answers
Touch UI Dialog full screen by default. Anton_Smulskiy - Adobe Experience Manager
Hi everybody,By default Touch UI dialog opens like a pop-up. The is a "Toggle fullscreen" button to expand it.Is there a default configuration which makes dialog fullscreen when you open it?
4267
Views
1
Like
4
Answers and Comments
RTE inside multifield. Classic UI and Touch UI Anton_Smulskiy - Adobe Experience Manager
Hello,I have RTE inside a multifield. The issue I have:Multifield saves values as json. RTE values are become encoded. E.g.linkbecomeslinkAnd when I refresh a page, and open a dialog again, RTE link is like "/my/path" instead of expected /my/path. (quotes appeare from nowhere) Of course such link doesn't work.Should i consider not using RTE inside multifileds of there is a solution?
1404
Views
0
Likes
1
Replies
Re: Can we find all those nodes which have multi valued property using SQL2 Anton_Smulskiy - Adobe Experience Manager
AFAIK there is no way to find only String[] properties. I suggest to use Sling / JCR API to execute query and find all nodes with your property and then iterate through result and filter multi-valued properties.
3731
Views
0
Likes
1
Replies
Re: Can we find all those nodes which have multi valued property using SQL2 Anton_Smulskiy - Adobe Experience Manager
Hi,Do you know the name of your property?Is it always multi-value?If yes, just search for nodes with your property nameExample: SELECT * FROM [cq:PageContent] AS s WHERE ISDESCENDANTNODE([/content/geometrixx-outdoors]) and [jcr:mixinTypes] is not null
3731
Views
0
Likes
3
Replies
Re: Backing up ACL Permissions Anton_Smulskiy - Adobe Experience Manager
Try this toolhttps://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html
729
Views
0
Likes
0
Answers
Re: Apache sling's request parameter handling Anton_Smulskiy - Adobe Experience Manager
Please go to the link provided by Kautuk,It seems this is what you need.
937
Views
0
Likes
0
Answers
Analog of editorgrid xtype in Touch UI Anton_Smulskiy - Adobe Experience Manager
Hello,There is xtype editorgrid in Classic UI:https://docs.adobe.com/docs/en/cq/5-6-1/developing/widgets/xtypes.html (Search for 'editorgrid ')[img]https://docs.adobe.com/content/docs/en/cq/5-6-1/developing/widgets/xtypes/_jcr_content/par/image_10.img.png/1393618760711.png[/img]Is there something similar in Touch UI?
540
Views
0
Likes
2
Answers and Comments
Re: Apache sling's request parameter handling Anton_Smulskiy - Adobe Experience Manager
It seems your "temporary file location" is incorrect
880
Views
0
Likes
0
Answers
Re: AEM i18n from Javascript (try 2) Anton_Smulskiy - Adobe Experience Manager
Try to remove "-" from i18n key name.Try to use CQ.I18nDebug
4663
Views
0
Likes
0
Replies
Re: AEM i18n from Javascript (try 2) Anton_Smulskiy - Adobe Experience Manager
Have you checked if your i18n works on JSP/Java? If it works there - I have no answer.If not - make sure use set your dictionary correctly under /apps/your-app/i18n. Also, your page should be under /content/your-app/...
4663
Views
0
Likes
0
Replies
Re: Turn off allowUpload in TouchUI Anton_Smulskiy - Adobe Experience Manager
Update:in AEM 6.2 allowUpload="false" works in the same way as it works in Classic UI.Just add this property to the node "file" of sling:resourceType = 'granite/ui/components/foundation/form/fileupload'before:after:
1651
Views
2
Likes
0
Answers
Re: Sidekick not visible Anton_Smulskiy - Adobe Experience Manager
Add '/cf#' before /content/... in your URL. If no result, check console for js errors, check error.log.
1214
Views
0
Likes
0
Replies
Re: Email is coming to mail without HTML format Anton_Smulskiy - Adobe Experience Manager
Hi,Try to change the extension of your template from .txt to .html
807
Views
0
Likes
0
Answers
Re: #AEM [ATCE Recordings] List of all Ask the AEM Community Experts Sessions. See adobe.ly/1YUR1MZ Anton_Smulskiy - Adobe Experience Manager
What is the difference between AEM Gems and ATCE sessions?
853
Views
0
Likes
1
Replies
Re: SQL2 Help Anton_Smulskiy - Adobe Experience Manager
Append your query with this:AND [jcr:path] like '%/cq:dialog/%'
781
Views
0
Likes
0
Answers
Re: Expression language in jsp, not putting the HTML markup correctly Anton_Smulskiy - Adobe Experience Manager
Just as assumption: try to change " to ' in your property value.
587
Views
0
Likes
0
Answers
AEM ACS Commons with gradle Anton_Smulskiy - Adobe Experience Manager
Hi,I've used ACS Commons with Maven.There is a document how to setup ACS Commons as a sub-package in Maven.My new project uses gradle as a build tool. Is there a way to install ACS Commons package with gradle?
1106
Views
0
Likes
2
Replies
Re: SQL2 Update Query Anton_Smulskiy - Adobe Experience Manager
From description - no.One more option is a bulk editorhttps://docs.adobe.com/docs/en/aem/6-1/administer/operations/bulk-editor.htmlMake a queryExport results to excel fileFilter/update properties in excel fileImport excel fileBut, be aware. From documentation: When you re-import content, you erase any previous content for those nodes. Be careful not to overwrite important information.
808
Views
0
Likes
0
Answers
Re: SQL2 Update Query Anton_Smulskiy - Adobe Experience Manager
Check this tool. https://adobe-consulting-services.github.io/acs-aem-tools/csv-resource-type-updater.htmlI think this is what you are looking for.
724
Views
0
Likes
0
Answers
Re: CheckForNull annotation in Adaptable.adaptTo Anton_Smulskiy - Adobe Experience Manager
Hi Alex,Maybe it's a bad practice, but I check for null only if there is a real chance to get null returned.in this case I don't check:Session session = resourceResolver.adaptTo(Session.class);But when I'm not sure if resource can be adapted to my model, I check for null:MyModel myModel = resource.adaptTo(MyModel.class); if (myModel == null) { // do something }
870
Views
0
Likes
0
Answers