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

BrianKasingli
BrianKasingli
Online

Badges

Badges
37

Accepted Solutions

Accepted Solutions
261

Likes

Likes
749

Posts

Posts
675

Discussions

Discussions
33

Questions

Questions
641

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by BrianKasingli
Customize the badges you want to showcase on your profile
Re: Content fragment not visible after create folder in tools - general - config browser
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@GS04 you can follow this tutorial on how to setup the content fragment models structure, https://www.youtube.com/watch?v=-Hn3UDJMc98 After creation of your content fragments model structure, you should be able to find the created-resources under the /conf/my-site/* folder.

Views

98

Like

1

Replies

4
Re: Execute a custom action after a page has been published.
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
You can achieve this by writing your own Event Handlers, Event Listeners, or Workflow Launchers https://aem.redquark.org/2018/10/day-14-eventing-in-aem.html

Views

73

Likes

3

Replies

0
Re: (Help ! )Reusable Component Policy For Styling ?
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@chun-pin,You can utilise the granite/ui/components/coral/foundation/include, simply create one configuration, for example, margins, within your common namespace folder, as /apps/mybrand/dialogs/content/common/fields,and re-use them across your AEM project. Here's an example of how we identified one configuration for the richtext granite UI field, and had the entire project reference the same configurations.https://sourcedcode.com/blog/aem/dry-way-of-using-richtext-granite-ui-component-in-aem-fo...

Views

64

Likes

2

Replies

1
Re: Rich text editor is throwing error in AEM 6.4 when you make it part of any component
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
Can you share the TouchUI Dialogue .content.xml please; 

Views

95

Like

1

Replies

3
Re: After deploying new Bundle: Forgetting to Close Resolver when Opened, is it cleared?
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@AEMWizard,I am afraid after when a new bundle have been deployed, the JVM is still running, which means that these threads are not closed. Restart your AEM to close all your open threads.@Asutosh_Jena_'s recommendation try-with-resource trick introduced in Java 7 will ensure that the session is closed after usage.

Views

78

Like

1

Replies

0
Re: Richtext spell check save data without p tags
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
Excellent, im glad that it worked out; unfortunately, there is no out of the box solution to fix this cause. A solution with javascript is just too troublesome.

Views

51

Like

1

Replies

1
Re: <p> in richtext in touch UI
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
Installation of a new paraformat option, and using Java Backend, Sling Model, we can text-transform the output, so that your Sightly HTL can render the output Html as expected. For the full tutorial you can find it here. https://sourcedcode.com/blog/aem/aem-richtext-remove-p-tag-removesingleparagraphcontainer-for-touch-ui

Views

221

Like

1

Replies

0
Re: Sightly check the url validation using sling model
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
I suggest you to write all the business logic in the sling model itself. So that you would only need to call the getter from your Sling Model, and the transformed url will be the final string that you will be using for the Url output.

Views

86

Likes

2

Replies

0
Re: Richtext spell check save data without p tags
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@AEMnewbie,There are many ways to tackle this problem, but here is one way to do it with Sling Models. For Touch UI, You can create a custom paraformat option in the AEM Touch UI, cq/gui/components/authoring/dialog/richtext, and then using Java Backend, Sling Model, to text-transform the output, so that your Sightly HTL can render the output Html as expected. For the full tutorial you can find it here.https://sourcedcode.com/blog/aem/aem-richtext-remove-p-tag-removesingleparagraphcontainer-for-t...

Views

64

Like

1

Replies

3
Re: embed property in client libs
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
You will find that only clientlib-a && clientlib-b only exist when calling clientlib-a.css because, the child properties for clientlib-b, "dependencies" or "embed" are to be ignored. This is how the clientlib resolving engine works; this is normal. Solution: create a new client library as the parent with the correct config for embed + dependencies of whatever you need. In the diagram, you can see clientlib-b, references to "dependencies" or "embed" is ignored. The output of the clientlib is with...

Views

138

Likes

2

Replies

1
Re: Image size should not exceed greater than 20kb
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@Siddu9631,This is possible, what I would do is:1. Create a servlet (assetSizeServlet.class) that returns the size of any asset that lives in the DAM; servlet will only be used for the authoring environment.2. Create new jQuery Validation Plugin, JVP, which will ping the servlet, passing in the path of the image; this will return the size of the asset, and your JVP's JavaScript business logic will display an error message from the toolbar as prompt. This is an example of how a new JVP is created...

Views

80

Likes

2

Replies

0
Re: How to get current user session in osgi service?
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@thatsmeadarsh,The best practice is to use a system user with the correct permissions to make such replication actions, but however, for your use case of acquiring the current, logged in user (from aem author), from a Sling Servlet, try using the code below:@Override protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws IOException { Session session = request.getResourceResolver().adaptTo(Session.class); String userId = Objects.requireNonNull(session).ge...

Views

254

Like

1

Replies

4
Re: Creating Components with Rounded Corners
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@Pantego29,You can easily achieve this by adding this CSS property.card { border-radius: 0; }

Views

136

Like

1

Replies

0
Re: Download Button
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@StrawHatM23,We need to undertand a bit more context of what you are talking about?Is this a custom component or a AEM WCM Core component? Which version of AEM are you referring to (the screenshot you provided looks like someone legacy). Is this touch UI or classic UI?

Views

139

Like

1

Replies

0
Re: How to create/add the new RTE custom plugin for email
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
I am glad the the first peice of the puzzle have been resolved. To add icon options for the RTE, please refer to this article on how to add style, https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/rte-styles-and-edit-in-touch-ui-dialog/td-p/179543

Views

72

Likes

0

Replies

0
Re: AEM 6.2 TouchUI Unlock page functionality not working
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
I was having a similar issue on my AEM 6.5 instance, and this trick temporary solved the problem. However, now we need to get down to it, and understand why is it doing this, and add the code where necessary. Thanks!

Views

81

Like

1

Replies

0
Re: How to create/add the new RTE custom plugin for email
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@swathialeti,From your touch UI _cq_dialog.xml, add the code snippet below (this is all features enabled for the RTE). Next, from sightly script, include this code block, ${properties.text @ context='html'}, and you should be able to see the RTE configurations show up for your component (after configuration).

Views

111

Like

1

Replies

2
Re: Query builder query Limitation in fetching results
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
yes

Views

109

Like

1

Replies

0
Re: Query builder query Limitation in fetching results
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
For AEM 6.0 - 6.2 versions, you can tune the threshold for node traversal via JVM parameters in the AEM start script to prevent large queries from overloading the environment. The recommended values are :-Doak.queryLimitInMemory=500000-Doak.queryLimitReads=100000for the original post, you can find it here, https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/the-query-read-more-than-500000-nodes-in-memory/m-p/294303

Views

141

Likes

2

Replies

2
Re: What version of Angular is supported?
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@wheattruth,When you are trying to work with SPAs in AEM, Angular9 is being utilised with projects and examples online, you can find some example code here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-getting-started-angular.html?lang=en However, when you are creating a new client library as your front-end application, you can choose any Javascript library or framework of your choice.

Views

111

Like

1

Replies

0
Re: creating client library in AEM 6.1 version
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@mudaliar847906,You can also checkout this video on how to create a client library in 6.1, https://www.youtube.com/watch?v=6FfPDCJSkK0It will be the same format that you will follow from AEM 6.1 to the latest AEM.

Views

103

Likes

3

Replies

0
Re: I want to update node properties using code
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@Ronnie09 ,I see some problems in your code. I do not see session.save(); and also, I do not an example of how you have obtained thee Node.class. Below is some example code that you can try; however, please keep in mind that you need to create your own service user.Map param = new HashMap();param.put(ResourceResolverFactory.SUBSERVICE, "myServiceUser");ResourceResolver resourceResolver = null;try { resourceResolver = resourceFactory.getServiceResourceResolver(param); Resource pageResource = reso...

Views

111

Likes

3

Replies

0
Re: Introducing the 2021 Adobe Community Advisors
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Cloud
Congratulations to everyone who were selected to be an Adobe Community Advisor!

Views

177

Likes

2

Replies

0
Re: Selecting Parent Component in Layout Mode - Responsive Grid
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@jry-an,Sometimes unable to select a child component is because of a CSS or AEM tag declaration problem. In your development environment, try to debug the CSS properties, for example: display-block; display-flex, and/or look for the AEM decoration tags (wether it exists or not), because that may be the problem. https://experienceleague.adobe.com/docs/experience-manager-64/developing/components/decoration-tag.html?lang=en

Views

87

Like

1

Replies

0
Re: Best pratice to upload a image from external / anonymous user to aem publisher (aem6.5)
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
@srinivas_chann1,Assuming that the form submissions frequency is low rate, your solution would be acceptable; where you create a servlet + configure a system user for the WRITE methods. From there your publisher will be triggering the reverse replication back to the author, then the author will be replicating it back to the publishers. Please keep in mind that if you have alot of requests, your publisher can be stalled; causing your AEM web pages to render the html files slower than usual (if no...

Views

121

Likes

2

Replies

1
Re: Update and publish DAM file, each specific time
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
Given your scenario, I would do something like this: You can create a designated folder like /content/dam/my-site/automagic This folder will be watched by the AEM OSGI Event Hander, org.osgi.service.event.EventHandler. for both EventConstants.EVENT_TOPIC + "=org/apache/sling/api/resource/Resource/ADDED", EventConstants.EVENT_TOPIC + "=org/apache/sling/api/resource/Resource/CHANGED" where a the assets JCR_CONTENT node's properties will be updated with something like "pendingAutomaticReplication=t...

Views

100

Like

1

Replies

0
Re: How to get browser details in AEM Servlet?
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
You can try this library, https://github.com/ua-parser/uap-javaimport ua_parser.Parser; import ua_parser.Client; ... String uaString = "Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3"; Parser uaParser = new Parser(); Client c = uaParser.parse(uaString); System.out.println(c.userAgent.family); // => "Mobile Safari" System.out.println(c.userAgent.major); // => "5" System.out.println(c.userAgent.minor); // => ...

Views

286

Like

1

Replies

0
Re: AEM 6.4 Code deployment to Remote Server
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
Does your code even build to locally?   mvn clean install ?

Views

237

Like

1

Replies

1
Re: AEM 6.4 Code deployment to Remote Server
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
now this error says that your XML in column 14, contains an expression, and requires a constant like "1.0.0-SNAPSHOT".[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.24 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.24 - exactly like what the error message says, Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:...

Views

238

Like

1

Replies

2
Re: AEM 6.4 Code deployment to Remote Server
Avatar
Coach
Community Advisor
BrianKasingli
Community Advisor

Likes

749 likes

Total Posts

675 posts

Correct reply

261 solutions
Top badges earned
Coach
Give back 600
Boost 500
Give Back 500
Give Back 400
View profile
BrianKasingli
- Adobe Experience Manager
in your pom.xml, the user profile "autoInstallDevPackage" does not exist. as mentioned in the error message. You might need to take a deeper look at the maven build profiles, and determine which correct profile to run.

Views

239

Like

1

Replies

1