since ‎07-11-2012
‎30-06-2020
sivaprasadreddy
Level 3
Re: AEM Dispatcher 301 Redirects Issue sivaprasadreddy - Adobe Experience Manager
Yes, i'm putting the map file directly on dispatcher location itself and map is present. so that it will not connect to publisher.
1034
Views
0
Likes
0
Comments
AEM Dispatcher 301 Redirects Issue sivaprasadreddy - Adobe Experience Manager
Hi All, We are using ACS commons redirects for 301 redirects and below are the rewrite rules we have added in dispatcher.#Handle 301 RedirectsRewriteMap map.legacy /tmp/redirects.mapRewriteCond ${map.legacy:$1} !=""RewriteRule ^(.*)$ ${map.legacy:$1|/} [L,R=301] we have different version of Apache dispatchers and below are the details: Server 1 : UNIX - Red Hat Enterprise Linux Server release 6.8 (Santiago)Apache - Server version: Apache/2.2.15 (Unix)Dispatcher - dispatcher-4.2.3.soPort : 80 Ser...
1073
Views
0
Likes
2
Answers and Comments
Re: Package Installation issue in AEM6.2 sivaprasadreddy - Adobe Experience Manager
Thanks all for your replies.The issue was file upload size restriction in OS configuration level and there was no issues with AEM.
471
Views
1
Like
0
Answers
JSP out.print issues in touch UI sivaprasadreddy - Adobe Experience Manager
Hi All,We are upgrading AEM 6.2 to 6.4 and in 6.2, we have all the components written in JSP. Below is the issue when we use same jsp component in 6.4Issue: After upgrade to 6.4, Component functionality is working as expected when if we open the page in classic mode but not in touch ui mode.component functionality: Browse the excel file from the dialog and process & out the put the response in page.Initial rendition of Component output will be something like: Uploaded file path:Some Information ...
437
Views
0
Likes
0
Replies
Re: Selector based page content sivaprasadreddy - Adobe Experience Manager
Thanks every for your inputs. I will try and keep you update on this.
1305
Views
0
Likes
0
Answers
Re: Selector based page content sivaprasadreddy - Adobe Experience Manager
Thanks Ram for the quick reply.Instead of writing sling models I'm trying to create component sightly htmls like products.html , products.headless.html, trying to see if that works but unfortunately It didn't work. The reason why i'm checking without slingmodel is , removing header/footer is one use case. we have multiple use cases where we need to render page output based on selectors like no styles, mobilecontent, desktopcontent etc... Eg: to remove script/css and just display content we use s...
1102
Views
0
Likes
0
Answers
Selector based page content sivaprasadreddy - Adobe Experience Manager
Hi Team,We've a base page from where header/footer components are inherited. We have a requirement where we need to render the page content based on selectors in the page url.Eg: If the url is localhost:4502/content/poc/product.html, it loads entire content.If url is localhost:4502/content/poc/product.headless.html --> then it should not load header/footer components.What is the best approach to get header/footer less page content? Do we have any OOTB feature in AEM 6.4?Please provide your input...
2336
Views
0
Likes
6
Answers and Comments
Re: Junit 5 - Error while using AemContext sivaprasadreddy - Adobe Experience Manager
Thanks Jorg for the response, tried with JCR_OAK as well, didn't work. But for now, I could able to write test case using Junit 4.
2486
Views
0
Likes
0
Replies
Re: Junit 5 - Error while using AemContext sivaprasadreddy - Adobe Experience Manager
Hi Jorg,Thank you very much for your support.I've updated dependency as suggested and getting below error;java.lang.RuntimeException: Unable to initialize JCR_OAK resource resolver factory: Unable to instantiate resourcer resolver: org.apache.sling.testing.mock.sling.oak.OakMockResourceResolverAdapter. Make sure this maven dependency is included: org.apache.sling:org.apache.sling.testing.sling-mock-oakAnd Tried to add below sling oak dependency but didn't work.org.apache.slingorg.apache.sling.te...
2486
Views
1
Like
1
Replies
Re: Junit 5 - Error while using AemContext sivaprasadreddy - Adobe Experience Manager
Hi Jorg,Thanks for your response.FYI, below are dependencies added in project root and core level pom. ------------------------------------------- Root/pom.xml ------------------------------------org.junitjunit-bom5.3.0pomimportorg.osgiosgi.core6.0.0providedorg.osgiosgi.cmpn6.0.0providedorg.osgiosgi.annotation6.0.1providedorg.slf4jslf4j-api1.7.21providedcom.adobe.aemuber-jar6.3.0apisprovidedcom.adobe.cqcore.wcm.components.allzip2.0.4org.apache.slingorg.apache.sling.models.api1.0.0providedjavax.s...
2486
Views
0
Likes
3
Replies
Junit 5 - Error while using AemContext sivaprasadreddy - Adobe Experience Manager
Hi All,I've a written sample Test class to get the resource using Aemcontext. All dependencies are resolved and i'm getting below error when i execute the class. Error:java.lang.VerifyError: class io.wcm.testing.mock.aem.context.AemContextImpl overrides final method currentResource.(Lorg/apache/sling/api/resource/Resource;)Lorg/apache/sling/api/resource/Resource;Below is the sample class:import org.apache.sling.testing.mock.sling.ResourceResolverType;import org.junit.Test;import org.junit.jupite...
3755
Views
0
Likes
7
Replies
Re: Touch UI - Dynamically generate dropdown list based on multifield values sivaprasadreddy - Adobe Experience Manager
Thanks Scott and Ratna Kumar for your prompt response.I've understood the part of populating data dynamically using datasource and able to do it.But the problem is multifiled data will be stored in repository only we submit the dialog.Below is the sample dialog which I'm trying.Whenever author add/delete/update fields in the multifiled, the same should be updated in below dropdown field and populated. Example, Option1, Option2 are added in the multifiled and same should be populated in the dropd...
772
Views
0
Likes
0
Answers
Touch UI - Dynamically generate dropdown list based on multifield values sivaprasadreddy - Adobe Experience Manager
Hello All,We've a requirement where we need to develop cookies component and list of options should be provided and one of the options should be selected by default. We are planning to design component as below. So please advise if this is possible in Touch UI or not or another other better solution for this.1. Create a multifield ( with Title & Description) and dropdown to with dynamically data(Title of each item added in multifield to be populated in dropdown).But to populate the dorpdown data...
1562
Views
0
Likes
5
Answers and Comments
Re: How to restrict tools bar actions from Assets menu sivaprasadreddy - Adobe Experience Manager
Can you please advise why the 'Share', 'Annotate' options are not disabled?
564
Views
0
Likes
0
Answers
How add column in Touch UI Inbox. sivaprasadreddy - Adobe Experience Manager
We have a requirement where we need to add one more column in AEM touch UI inbox [1] which displays Form Title. It would be great if you can provide more details on how to customize inbox console.[1]: http;//localhost:6502/ame/inboxI see the touch UI inbox tab options are loaded from "/libs/cq/inbox/content/inbox/jcr:content/views/list/columns". But would like to know how we are calling the servlet/code to render workflow item details. Quick response would be appreciated.Thanks In AdvanceSiva
1067
Views
0
Likes
1
Answers and Comments
Re: How to restrict tools bar actions from Assets menu sivaprasadreddy - Adobe Experience Manager
Thanks for your prompt response.But i'm not able to disable 'Share', Annotate, Add Rendition option even though i've added disabled property 'true'. please advise.
560
Views
0
Likes
0
Answers
How to restrict tools bar actions from Assets menu sivaprasadreddy - Adobe Experience Manager
Hi All,We have a requirement where we need to disabled options (Share, Chekout, To Collections, Move etc)from Asset menu. Please advise.http://localhost:4502/assetdetails.html/content/dam/we-retail-screens/we-retail-instore-logo.png ThanksSiva
972
Views
0
Likes
4
Answers and Comments
Re: Replication AgentFilter not found sivaprasadreddy - Adobe Experience Manager
Hi Kautuk,We are not implementing custom Replication Agent. My requirement is as follows:We have different environments like dev, qa and prod. We have both author and publisher for each environment. We wanted to use workflow to promote documents from lower environment to higher like dev to qa and qa to prod.When we use normal publish option it should deploy from author to publish only. but when we use workflow, it deploys from dev author to qa author and qa author to prod author etc..So to meet ...
531
Views
0
Likes
0
Answers
Re: Replication AgentFilter not found sivaprasadreddy - Adobe Experience Manager
Thank you very much for your prompt response.I've added below UBER 6.3 jar dependency in pom.xmlcom.adobe.aemuber-jar6.3.0apisprovidedPlease advise if i need to add any other dependency to use com.day.cq.replication.* classes..I've tried by adding below dependency but it didn't worked.com.adobe.granitecom.adobe.granite.replication.core5.12.10provided
537
Views
0
Likes
0
Answers
Replication AgentFilter not found sivaprasadreddy - Adobe Experience Manager
Hi All,I'm trying to replicate page programatically to the particular replication agent as mentioned [1].[1]:CQ5.3: How to activate to a specific replication agent When I build the bundle, bundle is in Active state, but I see below error in the log. Please advise if we need add any dependency for this issue.ERROR: (java.lang.NoClassDefFoundError: com/day/cq/replication/AgentFilter)java.lang.NoClassDefFoundError: com/day/cq/replication/AgentFilter at java.lang.Class.getDeclaredMethods0(Native Met...
1130
Views
0
Likes
5
Answers and Comments
Re: Workflow Launcher on Node 'Remove' sivaprasadreddy - Adobe Experience Manager
Yes Veena, we will be having same content in author as well. The reason why we configured Launcher event on Publisher is, we need to insert/update data on DB only when the form published. To achieve the requirement, We can also trigger the custom workflow on Author instance when the form is unpublished/deactivated. But the issue is, we have only three types of event types in Launcher (ie. Created, Modified, Removed). So how can we trigger workflow when the user unpublishes the form on author ? F...
963
Views
0
Likes
1
Replies
Workflow Launcher on Node 'Remove' sivaprasadreddy - Adobe Experience Manager
Hi All, We have a requirement where we need to insert/update/remove XDP Forms metadata to Data Base table when the form is published/unpublished. To meet the same requirement I'm doing following.1. Create Workflow Launcher with event Types 'Node Created' & 'Node Modified' and configured my custom workflow to be trigger upon node create/modify.2. Custom workflow has the logic to insert /update data in Database table. (Custom workflow process has logic to read XDP form metadata from jcr and update...
1384
Views
0
Likes
3
Replies
Re: Maven dependencies for Transaction & OSGiUtils sivaprasadreddy - Adobe Experience Manager Forms
That would be great help smacdonald2008​
816
Views
0
Likes
0
Answers
Re: Maven dependencies for Transaction & OSGiUtils sivaprasadreddy - Adobe Experience Manager Forms
Yes smacdonald2008​, I'm using below AEM 6.3 uber jar dependency.com.adobe.aemuber-jar6.3.0apisprovided
813
Views
0
Likes
0
Answers
Re: Generate Interactive PDF using xdp and xml sivaprasadreddy - Adobe Experience Manager Forms
Thanks a lot @smacdonald2008​ for the information.I'm writing AEM servlet to generate Interactive PDF. But I see in the document, ServiceClientFactory object is created using Connection properties.As we are using AEM servlet, Do we need to Create a ServiceClientFactory object using connection properites?If not, can we just get the ServiceClientFactory object using @Reference ?Properties connectionProps = new Properties(); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOA...
756
Views
0
Likes
0
Answers
Re: Maven dependencies for Transaction & OSGiUtils sivaprasadreddy - Adobe Experience Manager Forms
Thanks a lot @neerava​ for the information.I tried to use same piece of code and the error says,TransactionManager cannot be resolved to a type.That means, we have to import that class package. Again, to use that class, we need to add some dependency.I'm looking for that dependency. Please provide me the dependencies which resolve the issue.
813
Views
0
Likes
0
Answers
Re: Generate Interactive PDF using xdp and xml sivaprasadreddy - Adobe Experience Manager Forms
smacdonald2008​, you mean we can use OutputService itself to generate interactive PDF? Please correct me if i'm wrong.I couldn't find any parameter which can passed to the output service API to define PDF being interactive or not. It would be great if you can provide me more details on this.ThanksSiva
685
Views
0
Likes
0
Answers
Generate Interactive PDF using xdp and xml sivaprasadreddy - Adobe Experience Manager Forms
Hi All, I'm trying to create Interactive PDF with using an xdp and associated xml data. I've followed below resource [1] to generate PDF form ad able to create non editable PDF. But i need to create Interactive PDF. Is it possible to create Interactive PDF using XDP & XML data. If so, Please let us know the API we can use.[1]: https://helpx.adobe.com/aem-forms/6-3/aem-document-services-programmatically.html [Refer: Output Service section]Thanks In AdvanceSiva
1778
Views
0
Likes
5
Answers and Comments
Maven dependencies for Transaction & OSGiUtils sivaprasadreddy - Adobe Experience Manager Forms
Hi All,I'm following below forms resource and referring PDF Generator Service section on the page.AEM 6.2 Forms Help | Using AEM Document Services Programmatically I see the below piece of code. But I couldn't find package names/dependencies for Transaction & OSGiUtils class. Transaction tx = OSGiUtils.getTransactionManager().getTransaction(); // Begin transaction if (tx == null) OSGiUtils.getTransactionManager().begin();Please advise.ThanksSiva
2565
Views
1
Like
15
Answers and Comments
How to get Custom defined Run mode? sivaprasadreddy - Adobe Experience Manager
Hi All,We have defined custom run mode for our AEM server like dev.publish. I'm using below code to get run mode. @Reference private SlingSettingsService slingSettingsService; slingSettingsService.getRunModes() is giving Set of Run modes including default like [crx3, author, samplecontent, dev.publish, crx3tar], but we need only custom run mode.But is there a way where I can get only custom defined run mode (i.e. dev.publish)?Quick response would be more helpful..ThanksSiva
1021
Views
1
Like
3
Answers and Comments