Expand my Community achievements bar.

akhilathomas1
akhilathomas1
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi Arun,As I mentioned in above reply, this will not fix my issue. Service is working as expected. The problem is when I use resolver from aemContext in junit. As we close resolver in service, after executing test method, inside tearDown method of test class, its throwing exception as resolver close...

    Type

    Questions

    Views

    587

    Like

    1

    Replies

    0
  • Hi shaileshbassi, Exception is not thrown inside service class. It is inside test class inside a tearDown method. Please refer the screenshot attached. It doesn't have any reference to custom class I wrote. Thanks,Akhila 

    Type

    Questions

    Views

    602

    Like

    1

    Replies

    0
  • Hi All, I created a junit class for a service and while running, getting an exception as below.  I am getting resource resolver as below. Only then I am able to adapt that to session in later step. Inside serviceclass, I close resource resolver that was created in service. when(resourceUtility.getRe...

    Type

    Questions

    Views

    619

    Likes

    0

    Replies

    6
  • yes, saw documentation of adobe now, its mention as "By default, the QueryBuilder JSON Servlet will return a default set of properties for each node in the search result (e.g. path, name, title, etc.). In order to gain control over which properties are returned, you can do one of the following:" .so...

    Type

    Discussions

    Views

    1.1K

    Likes

    2

    Replies

    0
  • @sunil_kumar_ thanks for your reply. For the query you posted as well, when I run it via querybuilder API in java, its returning complete properties. When I run it via rest API(http://localhost:4502/bin/querybuilder.json) its giving only the properties when I add in query. So the doubt I have is whe...

    Type

    Discussions

    Views

    1.1K

    Like

    1

    Replies

    2
  • I am using querybuilder API in a service. I want only certain properties in result instead of complete properties on that node. So I used p.hits=selected. But in result its still giving all properties. Below is query used.queryMap.put(QUERY_PATH, path);queryMap.put(NODE_NAME, "product");queryMap.put...

    Type

    Discussions

    Views

    1.2K

    Likes

    0

    Replies

    6
Sort by
  • Recently earned
  • Unearned first
  • A-Z
  • Z-A
Show more