since ‎07-04-2015
‎25-02-2021
Jai1122
Level 3
Blog In Geometrix
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi, The docs here uses an image like i have attached to explain how to add quick reference links. I am following a similar procedure but i do not get the name, email and website boxes under the comment system.Please help me in getting this resolved.Thanks,Jai

Views

399

Likes

0

Replies

3
Customizing the date
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi, I am trying to display the date on which a particular item is created.The issue is with formatting.For instance, - If the item is created a day ago then i need to display 1 day ago. - If the item is created a on the same day then display number of hours like 3 hours ago. - If the item is created over a week ago then display complete date time like October 24, 2014 at 08:54 PMcom.day.cq.commons.date.RelativeTimeFormatIt displays something like Jun 3(1 day ago), for first case and 02:45 PM(3 h...

Views

293

Likes

0

Replies

1
Re: Social sharing In AEM
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Thanks a ton bsloki!!

Views

401

Likes

0

Replies

0
Social sharing In AEM
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Guys, I am trying to add social sharing options to my blog pages. The context is that author will share the article/blog to the organisation's social page [This is not for end user, should be only for author]Can some one tell me whether the following will work??Pinterest: Next stop: PinterestTweet Share: Tweet thisFB Share: Share this This is existing code, and i have to use this minimal changes. Not sure if it works or not.Please let me know your comments

Views

927

Likes

0

Replies

2
Re: Bundle not available in Felix console
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
I did refer to them. But no help

Views

324

Likes

0

Replies

0
Re: Bundle not available in Felix console
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
No .There are no errors. Not even warnings!!

Views

278

Likes

0

Replies

0
Re: Bundle not available in Felix console
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Varun, There are no references in my bundle.Also the issue got resolved once my move the location of src folder. I has created my src folder under /apps/folder1/folder2/folder3/src. I then moved it to /apps/folder1/src.Now it is working fine. Thanks all for your valuable ideas !!!

Views

276

Likes

0

Replies

0
Bundle not available in Felix console
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi all, I am trying to create a bundle from CRXDE Lite. The jar gets created correctly in the /apps/.../install folder but the bundle is not available in the felix console. It is a simple class only so i do not want to set up maven for this. Is there any config changes that we need to do so that bundle will be availlabel in the felix console also? I am using AEM 5.6.1.

Views

817

Likes

0

Replies

7
OSGI Service development
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Guys, I am trying to create a OSGI bundle in CRXDE Lite. I have created a sling servlet in that bundle and it is working fine.Now i want to create a OSGI Service and use it in the servlet. Can i create the Inteface and implementation class as siblings to sling servlet? If not Should i create a separate bundle for this?The folder structure i follow is shown below (apologies for the format). apps /project /MyBundle /MyBundle.bnd src main java com test Activator.java MySlingServlet.java

Views

404

Likes

0

Replies

2
AEM Java Compatibility
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
I am using AEM5.6.1. Which version of JDK is compatible to this? I am using JDK1.7 and getting some errors. The advise from my senior is it is java compatiblity issue. Thanks in advance!!!

Views

176

Likes

0

Replies

1
Re: Diff between etc/design and etc/clientlib
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
bsloki wrote... Under Siteadmin -> tools -> design, Goto a specific folder , then click on 'New -> New File' to add images, js etc or a New Folder to create a new clientlibrary folder. Under Siteadmin -> tools -> design i created a page with design page template. I could not create any file under it. Those options are disabled.

Views

315

Likes

0

Replies

0
Re: Diff between etc/design and etc/clientlib
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
bsloki wrote... All the AEM client libraries like angular, foundation, mobile etc which is used to build the platfrom will be under etc/clientlibs All the client libraries for the projects (not for the platform) like geometrixx, 'custom project' will be under etc/clientlibs I do not understand you said both platform and not for platform will be under etc/clientlibs. Can you please clarify it?

Views

327

Likes

0

Replies

0
Diff between etc/design and etc/clientlib
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
What could be difference between etc/designs and etc/clientlibI have created clientlib for every component along with it. Now why do we have a separate folder under etc for clientlibs.Also etc/design again consists of clientlibs. what can be the strategy behind this?I followed this link, to create a design under Siteadmin - > Tools - >design and end up into a screen which simply says currently not editable. So now how can i add images/css/javascript to it

Views

1.4K

Likes

0

Replies

5
<cq:include>
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
What is the difference between andCan someone please help. The docs are not satisfying

Views

380

Likes

0

Replies

3
Re: search component
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Thanks for the response. I some how figuredout how the OOTB search component works. The xpathquery formed is /jcr:root/content/farmers-blog/*[not(fn:name() = 'unlisted')]/*/element(*, cq:Page)[jcr:contains(., '{searchquery1}') or jcr:contains(., '{searchquery2}')] But this does not work for date. I could not make a search using date. Should there be any changes made in xpathquery formed??

Views

260

Likes

0

Replies

0
search component
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
My requirement is to create a blog which also includes creating a search component that is used to search by author, date and category. The OOTB component (/libs/social/blog/components/search) is not helping for date search. I checked the code for it the form action points to the same page. I could not understand how the code works. On clicking search the url changes to localhost:4502/cf#/content/Jai/blog.html?query={search-string}&blog=search&_charset_=UTF-8Kindly let me know which script/bundl...

Views

612

Like

1

Replies

3
Social Blog Component
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Tried creating blog in geometrix blog page (Geo Blog). Blog got created successfully. But author name is not getting displayed. Author property under /content/geometrixx/en/blog/2015/05/test-sample is also empty[img]blog-author.png[/img]It is working fine in AEM6 but not in CQ5.6.1. Can someone help me on this? Thanks in advance

Views

112

Likes

0

Replies

1
Fetch pages based on date
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
I am trying to build a search component which involves search using date also. Developed a query like this with help from this forumpath=/content/blogtype=cq:Pagegroup.p.or=truegroup.1_fulltext=fullTextSearchTermgroup.1_fulltext.relPath=jcr:content/@cq:tagsgroup.2_fulltext=2015-05-21group.2_fulltext.relPath=jcr:contentgroup.3_fulltext=2015-05-21group.3_fulltext.relPath=jcr:content/@cq:lastModifiedorderby=@jcr:content/cq:lastModifiedorderby.sort=descDate feature is not working. Will the query be ...

Views

153

Likes

0

Replies

1
Re: Problem with Parsys
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Madhu, Try using cq:editconfig feature as described here. Else append the url with query parameter debug=layout as http://localhost:4502/content/.../page.html?debug=layout. Look for the component you will be able to edit it now.

Views

236

Likes

0

Replies

0
Re: Error in sling Servlet
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
That's the mistake. Thank you for pointing it!!

Views

253

Likes

0

Replies

0
Error in sling Servlet
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
I tried using java datetimeformatter for some date manipulation in a sling servlet and ended up with the following error. I think the import statement is also correct. [import java.time.format.DateTimeFormatter;]Error : Only a type can be imported. java.time.format.DateTimeFormatter resolves to a package Request your suggestions. Thanks in advance. 🙂

Views

364

Likes

0

Replies

3
Hiding Port number
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Experts, This issue is in my friend's project. They have installed CQ on top of IBM Websphere. They have configured there instance URL to www.mycqinstance.com.Looks like they are using custom authentication handler because of which there login page gets redirected to www.mycqinstance.com:8050/content/page/en/index/login.html.Now the problem is with the port number that is getting appended to the URL. They are trying to hide the port number. Can someone please suggest an idea on how this could...

Views

111

Likes

0

Replies

1
Two Dialogs for a Component
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi All, I was told that a component can have single dialog. Logically it seemed correct since when author tries to author it only one dialog can appear.But the component /libs/social/blog/components/page looks very different. As shown in the attachment the component has two dialog(Ofcourse it is the page component for the blogs and one of the dialog is page properties dialog). Not sure why there are two dialogs available.So my questions is,Why we have two dialogs for that component?Thanks,Jai

Views

115

Likes

0

Replies

2
session error
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi All, I am trying to post a comment for a blog in publish instance(without logging in) and it is getting posted correctly. But after logging into the CRXDE Lite of publish instance and if i try to post a comment ia m getting the following error. Can some one please help me with this?blog/2015/07/pellentesque_placera/jcr:content/alt/comments.social.createcomment.html HTTP/1.1] com.adobe.cq.social.commons.impl.servlets.CreateCommentServlet Failed to create comment: host 10.148.184.187posted a co...

Views

139

Likes

0

Replies

1
Re: Vault checkout
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
We are using Git. Okay now i understand this. Upon vault checkout the vlt and dir files get created. These files will be imported into Eclipse but Git has to be configured in such a way that these files will not get into Git. Thus if i import the files from Git they will not be having these vlt and dir files.

Views

185

Likes

0

Replies

0
Re: Vault checkout
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi Opkar, The existing code base does not have files like that and we do not want the files that are unused to stay in Eclipse. I am not aware of filtering such files from getting into Git.

Views

179

Likes

0

Replies

0
Vault checkout
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Is there a way to avoid the .vlt and dir files that gets generated when we do a vault checkout? We do not want those files to get into ecllipse.

Views

317

Likes

0

Replies

5
Comments Archival
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Hi All, We are planning to implement archiving/purging of user generated comments on blog. The only approach i can think about is, "The best practice would be to make sure none of the node has more than 1000 child nodes". So i can write a event handler which will be triggered on reaching 1000 comments and deletes the oldest comment. Is this a good approach. I am not sure how archiving of comments happen any suggestions please!!!

Views

202

Likes

0

Replies

1
Re: Client libs error
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Thanks for that Opkar, Am waiting for your response

Views

200

Likes

0

Replies

0
Re: Client libs error
Avatar

Jai1122

Jai1122
- Adobe Experience Manager
Yes Opkar, if i add jquery as a dependency to my clientlib and i load my clientlib first in my component then for sure the component works.But i do not know why they are loading jquery in the footer. This is the process they follow in this project and i am new to this project

Views

201

Likes

0

Replies

0