since ‎30-07-2015
‎29-01-2020
varuns46785756
Level 4
Re: login token time out
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Kautuk,Its working and session is log out as mentioned time but its going to logout without giving in alert pop message, I am trying to display alert message to user before going to logout.Please suggest how can I display a alert pop up message. Regards,

Views

250

Likes

0

Replies

0
Re: PDFbox- not able to write images in pdf
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Kautuk ,I have tried the code, its getting incorrect image format . Regards,

Views

431

Likes

0

Replies

0
Re: PDFbox- not able to write images in pdf
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Scott,code is not working outside AEM also, this pdfbox issue only. Regards,

Views

432

Likes

0

Replies

0
login token time out
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I need to change the token logout time to 30 min, if user is ideal for 30 min then after 29th min it will open a pop alert message to user " continue or exit ".I have changed the token expiration time but its not working .Please suggesthttp://aemfaq.blogspot.in/2014/10/how-to-set-timeout-for-login-token.htmlRegards,

Views

370

Likes

0

Replies

3
Re: PDFbox- not able to write images in pdf
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
thanks for response,but I am getting number of images in response in ByteArrayInputStreamand trying to get the images from ByteArrayInputStream in PDF but format of the image not proper.Please check the attached code.

Views

425

Likes

0

Replies

0
PDFbox- not able to write images in pdf
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I am using PDFbox for generating pdf by my webpage, I have images in my webpage and I am trying to download the all images as a pdf file(single), but I am not able to write the images in pdf , I am getting corrupted pdf file.I am storing all the image path in json and getting path from json one by onePlease let me know how can i convert images in pdf file. Regards,

Views

2.3K

Likes

0

Replies

9
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
thanks Jitendra, its working , thank you 🙂

Views

624

Likes

0

Replies

0
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
please find attached ContentService.java class

Views

624

Likes

0

Replies

0
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
IContentService.java : interface ---------------------------------- package com.abc.www.core.service.servlets; import java.io.IOException; import javax.jcr.RepositoryException; import org.apache.sling.commons.json.JSONException; import org.apache.sling.commons.json.JSONObject; import com.abc.www.core.service.exceptions.ContentServiceExceptions; public interface IContentService { public JSONObject getContent(String path) throws ContentServiceExceptions,RepositoryException,IOException,JSONExceptio...

Views

625

Likes

0

Replies

0
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I have created new new package in new AEM instance , I have tested ,upto calling service nothing is wrongcom.abc.www.core.service.servlets.IContentService servicedata = sling.getService(com.abc.www.core.service.servlets.IContentService.class);(I am getting error when I am adding " JSONObject finalJsonObjects = servicedata.getContent(); " :I have tested with passing parameter also but getting the error:""Only a type can be imported" and "The method getContent(String) in the type IContentServic...

Views

622

Likes

0

Replies

0
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Praveen,1. service is registered in OSGI console2. bundle is active3. I am getting error : "Only a type can be imported" and "The method getContent(String) in the type IContentService is not applicable for the arguments ()..": please check the way to call the jsonobject , am I doing correct or not:<%com.abc.www.core.service.servlets.IContentService servicedata = sling.getService(com.abc.www.core.service.servlets.IContentService.class);JSONObject finalJsonObjects = servicedata.getContent();%>:...

Views

619

Likes

0

Replies

0
Re: Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Jitendra,Please find attached Implementation class, and I am fetching the jcr node properties in json format , I am using service url for hitting the page,like:" http://localhost:4502/api/contentservice?pagetype=mspot&path=/content/pagename" and I am getting the json data correctly.Now I need to call this code from component and display the json data in html format on browser.For this , I have created a component and I am trying to call the data in component like dis:<%com.abc.www.core.servic...

Views

626

Likes

0

Replies

0
Calling Service in component
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I am trying to call Service from my component and my service return json data, but when I am trying to call the service from Component , I am getting error.Please let me know how can I call the json data in my component jsp.Please find attached my interface and implementation class.I am trying to call :<%com.petco.www.core.service.servlets.IContentService servicedata = sling.getService(com.petco.www.core.service.servlets.IContentService.class);%><%=servicedata.getContent(String path)%>CODE:pa...

Views

2.4K

Likes

0

Replies

16
acs-aem-commons-content package dependency
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I am using column control component of ACS and this component is dependent on acs-aem-commons-content-2.2.0.zip package.If I am removing acs-aem-commons-content-2.2.0.zip package from my crx-manager then column control throwing exception.I need to deploy column control component on client server and I dont want to install acs-aem-commons-content-2.2.0.zip package on client server . please let me know , how can I remove dependency the component dependency from acs-aem-commons-content-2.2.0.zip...

Views

294

Likes

0

Replies

0
Re: Page Activity Report not display page activity
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Kautuk,Thanks for reply, now I can able to add extra column in report, I am trying to display page activate and deactivate date/time on report , through the page properties onofftime, but I am not able to fetch the value , please let me know how can I get this value on report. Regards,

Views

294

Likes

0

Replies

0
onTime/offTime in OOTB Report
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi ,I am using ootb report to generate activity report for site pages, but in ootb report have these fields: page, type, time, user.I am trying to use onTime/offTime property in this report, please let me know , how can I add this property in report and what is the property type will be use for the same. Regards,s

Views

460

Likes

0

Replies

1
Page Activity Report not display page activity
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi ,needs to generate a report to check page data like when pages will be activated & deactivated under a particular hierarchy.I am using OOTB.Please guide me add extra field. Regards,

Views

646

Likes

0

Replies

3
ACS AEM-Common package dependcy
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi ,I am using column control component of acs-common in my project, but this component is dependent on acs-common package, please help me out to remove the dependency of acs-common package from column control component. thanks

Views

191

Likes

0

Replies

0
Re: AEM6.0 -image drag and drop from content finder to component in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Scott,I have added the image position field in ootb text image component ,Please find attached dialog.xml file and custom component jsp. Regards

Views

426

Likes

0

Replies

0
Re: Image updating after refreshing the page in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Jitendra S.Tomar wrote... There is the doc all about cq edit configuration. https://docs.adobe.com/docs/en/cq/5-5/developing/components/edit_config.html thanks Jitendra and Scott

Views

270

Likes

0

Replies

0
AEM6.0 -image drag and drop from content finder to component in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I am using custom textimage component , for drag and drop the image from content finder , I have removed "uploadUrl String ${suffix.path}" property from file property , because of this only upload asset button is going to disabled but I am not able to drag and drop image ,I am trying to do in AEM6.0 but when I am using same thing in AEM6.1 then the same thing is working.Please help me out , this is version issue or am I missing anything. thanks

Views

579

Likes

0

Replies

2
Re: Image updating after refreshing the page in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Jitendra,I am facing this issue only in AEM6 , I have tested same code package in AEM6.1 and its working fine.I am not sure but this is version issue . thanks

Views

273

Likes

0

Replies

0
Re: RTE sourceedit plugin in Touch UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Scott,thanks for the reference, its working fine in AEM6.1 but when I am using the same code package in AEM6 then html plugin is not coming in rich text.I have tried all the steps but in AEM6 , this is not working, is there any version issue . thanks

Views

340

Likes

0

Replies

0
Re: Image updating after refreshing the page in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Jitendra,I have added only style for position, even I have tested the textimage component without adding anything and its also behaving the same. Regards,

Views

271

Likes

0

Replies

0
Image updating after refreshing the page in TOUCH UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,I am using ootb textimage component and customized the same component with image position option, when I am selecting the image in Touch UI mode, its not updating the image at the same time , once I am refreshing the page then only updated image will reflect.I am using AEM6.0.Is this is expected behavior or not. Thanks,

Views

592

Likes

0

Replies

7
RTE sourceedit plugin in Touch UI
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi,As per "https://docs.adobe.com/docs...." portal "sourceedit " plugin of RTE is not working in Touch UI.Is there any substitute of this plugin in Touch UI.Actually I need to use some html code in RTE box.like:- < img src="file.jpeg"/>.Please let me know how can I use html code(image source code) in touch ui. Thanks,

Views

1.1K

Likes

0

Replies

5
Re: textimage component- placeholder
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
thanks

Views

155

Likes

0

Replies

0
Re: Service for JCR node properties response in json
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
Hi Jitendra,Actually I am using AEM as a backend in my application( mobile app), and sending json response from AEM to WCS server, and this application will run as an APP on mobile device,my doubt is only I haven't tested it on mobile thts why I have doubt these API will work in mobile APP or not. Regards,

Views

743

Likes

0

Replies

0
Re: Service for JCR node properties response in json
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
thanks for all the references, Its working fine , I need to do the same thing in mobile app, shall I use the same API(code ) for mobile app also or is there any difference mobile API for this requirement. thanks

Views

742

Likes

0

Replies

0
Re: Service for JCR node properties response in json
Avatar

varuns46785756

varuns46785756
- Adobe Experience Manager
thanks

Views

746

Likes

0

Replies

0
Likes given to