tag:blogger.com,1999:blog-41011545489060864492024-03-08T07:33:05.050-08:00CQ and Adobe Experience ManagerKanikahttp://www.blogger.com/profile/02127055167882956584noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4101154548906086449.post-34057564008123305432014-05-12T06:27:00.004-07:002015-01-09T14:41:46.054-08:00Content loader disabled in 5.6.1<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Verdana, sans-serif;">Content loader has been deprecated in CQ 5.6.1 which might create difficulty in uploading bulk contents in CRX. </span></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">As per CQ documentation on<a href="http://dev.day.com/docs/en/cq/current/howto/website_quick.html,"> <span style="color: #f1c232;">http://dev.day.com/docs/en/cq/current/howto/website_quick.html</span>,</a> it is suggested to use content loader in CRX but when you will try to find content loader at http://localhost:4502/crx/loader/index.jsp, you will encounter the error: message "Content Loader have been discontinued. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-MkjgZUzK11w/U3DLZzAkkII/AAAAAAAADBU/v5I3S2c6MHI/s1600/Content_Loader.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Verdana, sans-serif;"></span></a></div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Package manager is a built utility rather than import or bulk upload utility. So, it may not help.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="color: #f1c232; font-family: Verdana, sans-serif;">Alternatives to upload (CSS, HTML and images) or simple content packages (without jcr:content):</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">1/ Use WebDav to simply move the files to CRX.</span><br />
<div>
<span style="font-family: Verdana, sans-serif;">2/ Another option is to use an http client, curl for
instance and the sling post servlet capabilities. see (1) for reference.</span></div>
<div class="MsoPlainText">
<span style="font-family: Verdana, sans-serif;"><o:p></o:p></span></div>
<div class="MsoPlainText">
<br /></div>
<br />
<div class="MsoPlainText">
<span style="font-family: Verdana, sans-serif;">(1)<span style="color: #f1c232;"> <a href="https://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html"><span style="color: #f1c232;">https://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html</span></a></span><span style="font-size: x-small;"><o:p></o:p></span></span></div>
<div class="MsoPlainText">
<br /></div>
<div class="MsoPlainText">
<br /></div>
</div>
Kanikahttp://www.blogger.com/profile/02127055167882956584noreply@blogger.com0tag:blogger.com,1999:blog-4101154548906086449.post-9697072716502297242013-04-02T13:53:00.002-07:002015-01-09T14:41:22.112-08:00AEM and Hybris Integration Example<div dir="ltr" style="text-align: left;" trbidi="on">
<u>Hybris Integration</u>:<br />
<br />
To have the e-commerce capabilities, you need to install the Adobe Experience Manager and Install the following packages using package manager (These packages are available on Adobe Package Share). AEM has an e-commerce framework available in it, which is installed when you install the AEM.<br />
<br />
<ul style="text-align: left;">
<li>cq-hybris content ( It has hybris API's implementation)</li>
<li>cq-hybris server ( in case you do not have a hybris server)</li>
</ul>
<div>
Hybris Example with AEM :- </div>
<div>
<br /></div>
<div>
To implement an e-commerce example. Follow the below steps:- </div>
<div>
<br /></div>
<br />
1.<span class="Apple-tab-span" style="white-space: pre;"> </span>When CQ and Hybris servers are up and running<br />
<br />
2.<span class="Apple-tab-span" style="white-space: pre;"> </span>Open siteadmin<br />
<br />
3.<span class="Apple-tab-span" style="white-space: pre;"> </span> Open English (US) Geometrixx Outdoors page in Siteadmin (http://localhost:4502/siteadmin#/content/geometrixx-outdoors/en_US)<br />
<br />
4. Open the Men's category page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men.html)<br />
<br />
5.<span class="Apple-tab-span" style="white-space: pre;"> </span> Open Jola Summer page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men/shorts/48576.html)<br />
<br />
<ul style="text-align: left;">
<li> Switch colors (variants)</li>
<li>See product name changing</li>
<li>See available sizes changing</li>
</ul>
<br />
6. Open the Ashanti Nomad page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men/shirts/3209.html )<br />
<br />
7. Switch to the Hybris interface https://localhost:9001/hmc/hybris<br />
<br />
<ul style="text-align: left;">
<li>Login: admin/admin</li>
<li>Click Home</li>
<li>Login again (same credentials)</li>
<li>Click on any link; login again if required</li>
<li>Switch to the English interface (top-right)</li>
<li>Click Catalog/Catalogs</li>
<li>Expand outdoors -> outdoors - Staged -> men -> shirts -> 3209</li>
<li>Click on 320984-L</li>
<li>Show that it refers to the L variant</li>
<li><span class="Apple-tab-span" style="white-space: pre;"> </span>Click price (top bar), change price (e.g. from $29.50 to $22.00), save (top left)</li>
</ul>
<br />
8. Back to CQ<br />
<br />
9. Show Ashanti Nomad again http://localhost:4502/content/geometrixx-outdoors/en_US/men/shirts/3209.html, select L variant with new price<br />
<br />
<ul style="text-align: left;">
<li>Select size variant, click add to cart</li>
<li>Click Cart (#) http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/user/cart.html, show cart</li>
<li>Click one product link</li>
<li>Update a quantity from the cart</li>
<li>Delete an item line from the cart</li>
</ul>
<br />
10.<span class="Apple-tab-span" style="white-space: pre;"> </span>Back to Hybris<br />
<br />
<ul style="text-align: left;">
<li>Browse through Marketing -> Order statistics -> Carts</li>
<li>In main page, click search</li>
<li>In Results section, click Date column header to order by date, check that the latest cart is from the current date</li>
<li>Double click the latest cart</li>
<li>Show that cart items (and prices) are the same as in CQ cart</li>
<li>Change the quantity of an item and save</li>
</ul>
<br />
11.<span class="Apple-tab-span" style="white-space: pre;"> </span>Back to CQ<br />
<div style="text-align: justify;">
</div>
<ul>
<li>Show new quantity in CQ Cart</li>
<li>Checkout</li>
</ul>
This is an example of implementing cart and a checkout. In a similar manner, a simple cart system can be implemented.<br />
<br />
For more information, find <a href="http://dev.day.com/docs/en/cq/current/ecommerce/eCommerce-framework.html">http://dev.day.com/docs/en/cq/current/ecommerce/eCommerce-framework.html</a><br />
<div>
<br /></div>
</div>
Kanikahttp://www.blogger.com/profile/02127055167882956584noreply@blogger.com35