Expand my Community achievements bar.

manjushri_wandh
manjushri_wandh
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi Yogesh,As I am beginner to CQ I dont know sending JSON will be good approach or not. What I want to implement is to fetch CQ component from JCR and display it on 3rd party eCommerce system. About 2nd approach you have mentioned above, I dont think we can directly access CQ data by just mentioning...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Can anyone please give me some hint on how I can send CQ component to 3rd party eCommerce system? Do I have to convert component into any other object and then send it through JSON? How can I create data set/JSON for CQ component?Please reply.

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Hi,I understood the approach you have mentioned about accessing Sling servlet with HTTP call, but I am little bit confused about how to create data set having CQ component. e.g. in below code I have retrieved CQ Page instance from JCR.ResourceResolver resourceResolver = resolverFactory.getAdministra...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Hi,Is it possible to access CQ component through HTTP call? My requirement is to create CQ component and display the same on 3rd party eCommerce front end.Can anyone please suggest me what approach should I follow to achieve this?Thanks,Manju

    Type

    Questions

    Views

    1.8K

    Likes

    0

    Replies

    7
  • Hi,I want to fetch DAM asset from JCR and obtain inputstream for a node or for an asset so that I can read that asset. I have implemented below code.querybuilder = resource.getResourceResolver().adaptTo(QueryBuilder.class);Query query = querybuilder.createQuery(PredicateGroup.create(map), session);S...

    Type

    Questions

    Views

    3.5K

    Likes

    0

    Replies

    1
  • Hi,I have tried below codeResourceResolver resourceResolver = resolverFactory.getAdministrativeResourceResolver(null);session = resourceResolver.adaptTo(Session.class);But still when I access servlet with new browser (not the same browser where CQ session is available) it redirects me to CQ login pa...

    Type

    Questions

    Views

    573

    Likes

    0

    Replies

    0
  • Hi,I have written sling servlet to fetch DAM Asset from JCR Repository. Then retrieved InputStream from Rendition of an Asset, so that I can read an asset and write it to servlet response. I have attached servlet code. Code is working fine. When I hit URL http://localhost:4502/bin/testServlet?catego...

    Type

    Questions

    Views

    689

    Likes

    0

    Replies

    3
  • Hi,My task is to display random images every time user hits the browser.So I want to fetch random images from JCR. My code is as followsMap<String, String> map = new HashMap<String,String>();map.put("path", contentPath.toString());map.put("type", "dam.Asset");map.put("property", "jcr:content/metadat...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    1
  • Thanks for confirmation on how to serve content to 3rd party app. I am glad that I have followed correct approach.Also I have pushed OSGi bundle on publish instance and I am able to able access it from 3rd party. Even though your reply does not explicitly mentions that standard approach is to make r...

    Type

    Questions

    Views

    451

    Likes

    0

    Replies

    0
  • Hi,I have implemented hybris application which makes HTTP call to CQ. On CQ side I have written sling servlet to retrieve DAM assets from JCR and send it in response to HTTP call. Hybris displays this asset on Front End. Application is working fine.But I have 1 query. As of now I am fetching DAM ass...

    Type

    Questions

    Views

    501

    Likes

    0

    Replies

    2
Top badges earned by manjushri_wandh
Customize the badges you want to showcase on your profile