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
BedrockMission!

Learn more

View all

Sign in to view all badges

sumitc22
Community profile sumitc22 Level 4
Job title here
Location here
15 BADGES
Level 4

Level 4

Learn more
Joined the community 13-02-2015 1:32:04 AM
Offline
Top badges earned by sumitc22
Customize the badges you want to showcase on your profile
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
My bad.For testing I was returning the canhandle() as true only.That was the root cause of the problem. Once I started it conditionally , it started working.Thanks & regardsSumit

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Peter,Tried disabling the reverse replication ,getting below now. If I remove the custom TransportHandler , normal publish happens as usualorg.apache.jackrabbit.oak.jcr.session.RefreshStrategy This session has been idle for 6 minutes and might be out of date. Consider using a fresh session or explicitly refresh the session.java.lang.Exception: The session was created here: at org.apache.jackrabbit.oak.jcr.session.RefreshStrategy$LogOnce.(RefreshStrategy.java:169) at org.apache.jackrabbit.oak....

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Peter,May be I could not explain it properly.I did create a solr replication agent. But with that and the custom transport handler deployed , only custom transporthandler is called ( for both default and solr replication agent) and the normal replication is not happening.Getting exception like below :om.day.cq.replication.ReplicationException: Unable to replicate content with no polling transport handler. Check configuration.at com.day.cq.replication.impl.AgentImpl.poll(AgentImpl.java:549)at ...

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Do I need to write code for default replication agent too ?Does not seem to be right approach. Can't we use default http handler for publish ?

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Do I need to write code for default replication agent too ?Does not seem to be right approach. Can't we use default http handler for publish ?

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Peter,Thanks for your reply.I was expecting the same. Will try the above.Thanks & regardsSumit

Views

1.4K

Likes

0

Replies

0
Re: Custom Transport Handlers in AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
I am facing same issue.Though the above solution worked and the custom TransportHandler called , but the regular publish didn't work due to the protocol change.I need to publish the content as well as push the content to Solr instance.How can I achieve the same ?Thanks & regardsSumit

Views

1.4K

Likes

0

Replies

0
Custom TransportHandler not called
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi All,The custom TransportHandler is not called when I am publishing a page. How to fix it ?Please find the source code.I'm using AEM 6.1.I read one thread where it is mentioned that service ranking needs to be set higher.But the link provided does not have enough details.__________________________________________import java.util.List;import org.apache.felix.scr.annotations.Component;import org.apache.felix.scr.annotations.Service;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import co...

Views

857

Likes

2

Replies

2
Re: Search with 'boost' factor
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Thanks for your reply.Was looking for more on configuration level in AEM repository.

Views

1.1K

Likes

0

Replies

1
Search with 'boost' factor
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
I have a search requirement where template A pages should appear before template B pages.Is it possible to achieve with 'Lucene 'boost' configuration ? Please let me know if somebody has implemented similar usecase.

Views

1.2K

Likes

0

Replies

3
Re: Restrict file uploads by size & type in DAM upload dialog
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Please check with Adobe for hotfix (71519).This will allow you to configure the allowed MIME types.

Views

2.7K

Likes

0

Replies

0
Re: Reg. Metadata Schema Editor Limitations
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Sorry, not sure about 6.1

Views

284

Likes

0

Replies

0
Re: Scheduled activation programatically
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Thanks again for sharing your thought.Yes, I can have two osgi:config property ( one for the number for each batch and timeout value ). Seems that will do 🙂

Views

1.1K

Like

1

Replies

0
Re: Scheduled activation programatically
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Thanks Graham for your reply.I'm going to implement an OSGI component for this and I have requirement for bulk replication. I'm going to use replicator.replicate(), but I need to do it in batches so that It does not put load on our publisher.How can I pass the date/time value programatically before I activate a batch is my question.Is it possible to invoke 'chedule_activation' workflow with a date/time programatically ?

Views

1.0K

Likes

0

Replies

0
Scheduled activation programatically
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi,I have a requirement for scheduled activation programatically. Can somebody provide some pointer/source code for the same ?ThanksSumit

Views

2.9K

Like

1

Replies

4
Re: Reg. Metadata Schema Editor Limitations
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Raise a daycare ticket.We faced same issue in AEM6 SP2. The max number of metadata was lesser than 80 as I remember , still we had the problem.Managed with one common tab somehow.

Views

280

Likes

0

Replies

0
Re: Attach pdf with email
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Thanks All for your reply.Getting the InputStream from asset worked.

Views

668

Likes

0

Replies

0
Attach pdf with email
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi,We are trying to send a pdf attachment ( the file is stored in dam ) . The below mentioned code is used to read the file from DAM. String fileName = "/content/dam/pdfs/retail/test.pdf"; resource = resolver.getResource(fileName); Node imageNode = resource.adaptTo(Node.class); Node contentNode = imageNode.getNode("jcr:content"); Binary contentBinary = contentNode.getProperty("jcr:data") .getBinary(); InputStream pStredfam = contentBinary .getStream()---------------------------------------------...

Views

1.4K

Likes

0

Replies

4
Re: Creating Component with capability of dragging another component
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Include a parsys inside the main component. Don't use RTE directly , may be you can use RTE in the main component dialog and write your own jsp to render the same as per the wireframe. Inside jsp include a parsys and configure the sub component.

Views

528

Likes

0

Replies

0
Re: Audit purge in 5.6.1
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
The bundle with source files are provided in the package./apps/daycare/com.adobe.daycare.workflow.purge/src/main/java/com/adobe/daycare/audit/purge/impl/AuditPurgeServiceImpl.java etcYou can add your logic and rebuild the bundle ( eg, make AUDIT_ROOT_PATH configurable as per your need.

Views

231

Likes

0

Replies

0
Re: Metadata schema changes
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Well , you need to write logic in this js file for hide/show . Try something like below :var yourFields = $('[name="./jcr:content/metadata/yourfiledname"]'); yourFields .each(function(index, value) { var $value = $(value); for(var i = 0; i< yourFields .length;i++){ $value.addClass('hide'); } });

Views

308

Likes

0

Replies

0
Re: Metadata schema changes
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Please check /libs/dam/gui/components/admin/propertiesform/clientlibs/propertieseditor/js/propertieseditor.js

Views

313

Likes

0

Replies

0
Re: OSGI configuration as JSON
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Opkar,It's custom config.Basically these custom configs will be consumed by Javascript. So, was thinking a JSON response will be easy to handle.Please provide your thought

Views

1.0K

Likes

0

Replies

0
Re: OSGI configuration as JSON
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Sham,I need some custom osgi configuration to be consumed in javascript front end. What would be your suggestion ?Also did not understand the 'AS IS format'. Can you please provide a little detail?

Views

1.0K

Likes

0

Replies

0
OSGI configuration as JSON
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi,Is there any OOTB way to get OSGI configuration as JSON response ?

Views

1.9K

Likes

0

Replies

7
Re: Permission is getting cached on Group and user level on AEM 6
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Did u try to clear the browser cache?

Views

316

Likes

0

Replies

0
Re: why i can't see the page content in WCM after finish create template and component in CRXDE
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Well, it is the base component. Please have a look at /libs/foundation/components/page for details.

Views

534

Likes

0

Replies

0
Re: why i can't see the page content in WCM after finish create template and component in CRXDE
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Please check the component jcr:content whether the property sling:resourceSuperType is set properly ( eg, sling:resourceSuperType = foundation/components/page ) and you have overridden some jsp ( eg body.jsp) accordingly.

Views

520

Likes

0

Replies

0
Restrict move/delete in Touch UI
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi,We need to restrict user access for 'move' and 'delete' in Touch UI.Is it possible to add some listener/handler javascript in the following node so that we can restrict the user programatically ?/libs/dam/gui/content/assets/jcr:content/body/assetscontent/header/items/selection/items/moveassetAlso, is there an equivallent for 'CQ.User.getCurrentUser().hasPermissionOn' in Touch UI to check permission on certain node?Please suggest if you have any other solution.

Views

370

Likes

0

Replies

1
Re: ACL is not working for Touch UI.
Avatar
Give Back 25
Level 4
sumitc22
Level 4

Likes

4 likes

Total Posts

71 posts

Correct reply

3 solutions
Top badges earned
Give Back 25
Ignite 10
Give Back 10
Ignite 5
Give Back 5
View profile
sumitc22
- Adobe Experience Manager
Hi Jörg,We overlayed the below node from /libs to /apps and giving ACL to /apps works fine here./apps/wcm/core/content/damadmin/actions/moveIt contradicts what you said above.We tried to follow the same for touch UI node ( /libs/dam/gui/content/assets/jcr:content/body/assetscontent/header/items/selection/items/moveasset) , but is not working.But do you suggest giving ACL to /libs are fine?

Views

263

Likes

0

Replies

0