since ‎17-12-2014
‎20-11-2020
adobecq-venkat
Level 2
Need POM.xml for mssql jdbc driver wrapper
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Hi,I am using AEM 6.1 and need to connect MSSQL Database. I downloaded driver from Microsoft site and uploaded in OSGI console and setup data source and it works fine.But I wanted to move this JDBC driver as part of my code build so all the users will get it in their build automatically.I tried to use embed tag in pom.xml and used "*" , some how it doesn't work. Does any one has working POM.xml for MSSQL JDBC driver? Thanks for your help.Venkat

Views

80

Likes

0

Replies

3
Re: create OSGI configuration dynamically
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
This looks like AEM 6.5. Currently I am using 6.1. Cant find these directories

Views

101

Likes

0

Replies

0
Re: create OSGI configuration dynamically
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Thanks for the answer. Can you give an sample file & where it is located in crx de?

Views

120

Likes

0

Replies

0
create OSGI configuration dynamically
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
HI,I need to create a JDBC configuration dynamically like build time. This can be using either OSGI config API or properties etc..Any help would be appreciated. # Configuration created by Apache Sling JCR Installerjdbc.password="XYZZZ"jdbc.driver.class="com.microsoft.sqlserver.jdbc.SQLServerDriver"datasource.name="testjdbc"jdbc.connection.uri=""jdbc.validation.query=""datasource.svc.properties=[""]default.readonly=B"false"default.autocommit=B"true"jdbc.username="app_optout"pool.size=L"50"pool.ma...

Views

198

Likes

0

Replies

6
Re: Wanted to develop site in traditional chinese - I see...
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I cant reach that link. Getting page not found.

Views

89

Likes

0

Replies

0
Wanted to develop site in traditional chinese - I see only simplified chinese option on create website in site admin
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Hi, I am trying to develop web site in Traditional chinese language. we are migrating web site in traditional chinese to AEM 6.1.When I tried to create website using siteadmin, there is only one chinese option which is chinese-simplified.Is there a separate package I need to install? Any help in this regard is appreciated. ThanksVenkat

Views

134

Likes

0

Replies

3
Wanted to read jcr and make the data available on back-end. Kind of caching the data on backend. Is there an object like aemcontext or server context?
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Wanted to read jcr and available to all the components. Is there an object like aemcontext or server context? I wanted to store the data until the server is down/restarted.In Java sever side, servletxcontext can hold the data and available to all the servlets with access to servletcontext.I tried the same in AEM, it didnt work.Please suggest if any such object available which holds the data in the back end.It is like caching.

Views

391

Likes

0

Replies

1
Re: wanted to store object across requests and sessions....
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I wanted to read the data from JCR and make it available to all the components and Servlets so they dont have to read again.

Views

3.3K

Likes

0

Replies

0
wanted to store object across requests and sessions. Is there an equivalent to servletcontext in AEM?
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I tried to use servletcontext to store global data which can be used across components /requests/sessions.The data is getting lost when used inside servlet, but when I used the Jspcontext in JSP, it worked.I am looking for any API to hold the data as long as the instance is up.I wanted to read data from JCR and made available to all the components so they dont have to read again. Thanks for your help.venkat

Views

3.3K

Likes

0

Replies

3
Re: Error while building git WCM core components
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Thanks you!!

Views

723

Likes

0

Replies

0
Re: Error while building git WCM core components
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Thanks a lot for your quick response and confirming the issue.

Views

723

Likes

0

Replies

0
Error while building git WCM core components
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I am getting following error while building the wcm core components from GIT.Failed to execute goal org.apache.felix:maven-bundle-plugin:3.2.0:baseline (baseline) on project core.wcm.components.core: Artifact com.adobe.cq:core.wcm.components.core:bundle:2.0.6:compile does not exist on local/remote repositories: Failure to find com.adobe.cq:core.wcm.components.core:jar:2.0.6 in http://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted...

Views

1.7K

Likes

0

Replies

10
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Hi,This is Venkat Janapati and I started my career as java devloper/lead and moved to AEM development 3 years ago. Currently working for Dun &Bradstreet on their marketing platform.I love playing sports and reading/teaching gita in the weekends.Venkat

Views

10.9K

Like

1

Replies

0
Re: How to specify lucene renidex frequency
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Thanks for your reply.If the content changes, then how does the reindex works?I dont want to run the reindex often. probably I wanted to run every day or once in 2 days. how do I do that?

Views

468

Likes

0

Replies

0
How to specify lucene renidex frequency
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I could not find a property to set lucene reindex frequency, however I could find reindex frequency for suggestion index.Does any one know the property? I could not find even in cheatsheet or in lucene documentation. Thanksvenkat

Views

923

Likes

0

Replies

3
Re: Trying to use suggestion index API in AEM 6.1 to rebuild index or add terms, but no luck.
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Here is the configuration:

Views

468

Likes

0

Replies

0
Trying to use suggestion index API in AEM 6.1 to rebuild index or add terms, but no luck.
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Hi, I am trying to implement auto suggest in AEM 6.1. I tried "/jcr:root[rep:suggest('term')]/(rep:suggest())" and it seems to do what it is supposed to do.I get all the suggestions for a given term. The index breaks down all words by space etc..I need to have following features:I wanted to get suggestions for multi words or sentence.Also I wanted to stored frequently used search terms.Also wanted to get the URL along with suggestion so that I can directly take the user to the URL for the most f...

Views

785

Likes

0

Replies

3
search with xpath - get Total match Count -- Need Help
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I am currently using xpath search for several reasons. However I didn't find TotalMatch Count on QueryResult class like SearchResult object using QueryBuilder. QueryManager qm=session.getWorkspace().getQueryManager(); Query query = qm.createQuery(xpathQuery.toString(), Query.XPATH); query.setOffset(100); query.setLimit(25); QueryResult result = query.execute(); NodeIterator iterator = result.getNodes(); I am searching for results on 4th page with a result limit of 25.QueryResult class does not h...

Views

862

Likes

0

Replies

1
Re: Xpath Search using Querymanager and getting totalmatch count
Avatar

adobecq-venkat

adobecq-venkat
- Dynamic Tag Management
Thanks Sahni for the answer!

Views

447

Likes

0

Replies

0
search with xpath - get Total match Count -- Need Help
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I am currently using xpath search for several reasons. However I didn't find TotalMatch Count on QueryResult class like SearchResult object using QueryBuilder. QueryManager qm=session.getWorkspace().getQueryManager(); Query query = qm.createQuery(xpathQuery.toString(), Query.XPATH); query.setOffset(100); query.setLimit(25); QueryResult result = query.execute(); NodeIterator iterator = result.getNodes(); I am searching for results on 4th page with a result limit of 25.QueryResult class does not h...

Views

408

Likes

0

Replies

1
Xpath Search using Querymanager and getting totalmatch count
Avatar

adobecq-venkat

adobecq-venkat
- Dynamic Tag Management
I am currently using xpath search for several reasons. However I didn't find TotalMatch Count on QueryResult class like SearchResult object using QueryBuilder. QueryManager qm=session.getWorkspace().getQueryManager(); Query query = qm.createQuery(xpathQuery.toString(), Query.XPATH); query.setOffset(100); query.setLimit(25); QueryResult result = query.execute(); NodeIterator iterator = result.getNodes(); I am searching for results on 4th page with a result limit of 25.QueryResult class does not h...

Views

480

Likes

0

Replies

2
Re: Help with accessing arrays using sightly with index
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
leeasling wrote... In your example, i'm pretty sure you can do something like this: Question: {item}Answer: ${properties.answer[itemList.index]} It worked.Thanks for your answer.

Views

697

Likes

0

Replies

0
Help with accessing arrays using sightly with index
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Hi,I have 2 arrays question is multiitem and answer which is multi item againI wanted to display answer under the question. I am trying to access question by index so that I can fetch corresponding answerHow can I do that with sightly? ${ [ item ]} ${ [ item ]}The above code displays all questions and displays all answers at the end of questions.Thanks for your help!

Views

1.3K

Like

1

Replies

3
Re: AEM 6.1 Search Options pagination using Xpath
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
Thanks for your reply.I dont see xpath search is deprecated in 6.1. It is easy to build query using xpath than QueryBuilder.How do I add search attributes dynamically .My xpath query is /jcr:root/content/dnb/home/lc//*[jcr:contains(@jcr:title,'market') or jcr:contains(@description,'market') or jcr:contains(@title,'market') or jcr:contains(@text,'market') or jcr:contains(@html,'market') and (jcr:contains(@cq:tags,'function:cmo') or jcr:contains(@cq:tags,'function:credit') )]Pseudo Logic:(title=ma...

Views

500

Likes

0

Replies

0
AEM 6.1 Search Options pagination using Xpath
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I am create javax.jcr.Query using xpath. The issue with this is that it doesn't have Pagination support in the QueryResult unlike SearchResult from cq package.I wanted to be able to get dynamic search fields and search.constructing xpath is easy and I found the search is faster as well. Can Some one help to get the Pagination support in QueryResult orConvert javax.jcr.Query to cq Query?My current Code: QueryManager qm=session.getWorkspace().getQueryManager(); Query query = qm.createQuery(xpathQu...

Views

1.3K

Likes

0

Replies

2
How Can I retrieve request parameter in sightly
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
User enter search parameter on the web page. I want to pass on that request parameter to back end java class.How can I do that?Example:test-sightly.html?q=market&maxrows=25Java class SearchHelper Can someone give example?ThanksVenkat

Views

3.0K

Likes

0

Replies

2
Need help in creating c:page and jcr:content using API. creation of cq:page doesn't create jcr;content automatically
Avatar

adobecq-venkat

adobecq-venkat
- Adobe Experience Manager
I am currently using API to create folder and cq:page as shown below:Node kapostconnectorPage = JcrUtil.createPath(custNode.getPath() + "/" + "venkakapostconnector", "cq:Page", custNode.getSession()); How do I create or set jcr:content? When I create cq:page it doesnt create jcr:content automatically.

Views

317

Likes

0

Replies

2
Likes given to
Likes from