Expand my Community achievements bar.

manjushri_wandh
manjushri_wandh
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 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

    446

    Likes

    0

    Replies

    0
  • Hi,I have to implement program which can fetch images from CQ/JCR and then send this image to Hybris.I have implemented program for fetching image from JCR, I am thinking of using JAX-RS for sending image from CQ to Hybris. Please find below my code@Component@Service@Path("/CQContent")  public class...

    Type

    Questions

    Views

    364

    Likes

    0

    Replies

    0
  • 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.0K

    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.0K

    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.0K

    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.6K

    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.1K

    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

    451

    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

    567

    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.3K

    Likes

    0

    Replies

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