since ‎30-05-2017
‎10-12-2019
Krisgum
Level 2
Hybris e commerce with AEM 5.6.1
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
I wanted to do a POC for hybris integration with my fresh install of AEM and was following the adobe documentation for this . So first I installed cq-hybris-server-5.6.2.zip . I was able to login to reference hybris server and view the catalogs . Then I installed cq-hybris-content-5.6.2 which installed content pages /content/geometrixx-outdoors/en_us/.. and etc/commerce/products/outdoors/.. .But When I'm trying to view a product detail or category pages I see a white screen and see the following...

Views

376

Likes

0

Replies

2
Re: Error with cq-hybris-content 5.6.1
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Thanks for the link I'll go through the slides and video to see what i was missing . Just for information , even with cq-hybris-server 5.6.1 and cq-hybris-content 5.6.1 on start up I get the same error trace . If I stop ref hybris implementation bundle from Felix console , the start up is clean .

Views

303

Likes

0

Replies

0
Re: AEM startup errors
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
dcollie wrote...Check all your XML config files for CQ, especially if you remember editing one, "Content is not allowed in prolog" is a common error when the XML is malformed, or you have whitespace before the opening element of an XML file. Thanks for the pointer . It seems that the file custom_nodetypes.xml due to some reasons (may be possibly sudden restart of my local pc) got malformed . I replaced it with the file from one of my different installation and the start up went normal .regardsKr...

Views

939

Likes

0

Replies

0
Re: AEM startup errors
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Mahesh , Thanks for the reply . I actually had already performed these steps . When I start the server I get the same trace as I had mentioned above . Though it indicates that start up has completed , I'm unable to access my repository . The error seems to occur before indexing because i don't see any trace of indexing files nor index files getting created . Console Logs : [Fatal Error] :1:1: Content is not allowed in prolog[Fatal Error] :1:1: Content is not allowed in prolog Any pointers ?Th...

Views

937

Likes

0

Replies

0
Re: AEM startup errors
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Sham, Thanks for the reply, the tool was very useful . The bundles seems to be fine and I deleted the index.tars from the repository locations . However even after the restart I can still see the same error trace . I am able to access the Felix console but access to repository gives a blank page . I can see that there was no re indexing done as there was no such trace Nor any index files created .I assume that it is encountering error during start up even before indexingAny debugging tips on ...

Views

936

Likes

0

Replies

0
Re: AEM startup errors
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi ,I have included IPV4 address in my start up script but it still results the same . I get the same stack trace in my start up logs and in the error logs i can see the following Error logs :08.10.2013 09:01:42.113 *ERROR* [127.0.0.1 [1381183302105] GET /crxde HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.08.10.2013 09:01:42.113 *ERROR* [127.0.0.1 [1381183302105] GET /crxde HTTP/1.1] org.apache.sling.en...

Views

933

Likes

0

Replies

0
AEM startup errors
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Folks , I'm running in to a strange issue with my local AEM 5.6.1 version . On startup of my AEM 5.6.1 on the console I can see errors stating[Fatal Error] :1:1: Content is not allowed in prolog[Fatal Error] :1:1: Content is not allowed in prologAfter this it indicates as start up completed but when I try to access localhost:4502/welcome.html a blank page appears . In the error log i can see the following trace Logs :ERROR* [0:0:0:0:0:0:0:1 [1380790846386] GET /favicon.ico HTTP/1.1] org.apach...

Views

4.7K

Like

1

Replies

10
Custom Text component for multiple designs
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Mates , I have a requirement where single text component has to be used with multiple designs(basically multiple websites each with different designs ) .To go in a straight way , I have defined all styles(probably more than 10) under my styles nodes for text component . They are shown in the drop down list of the text component and also get properly applied if the deigns being used has the CSS class defined . Since the list of CSS classes appearing in the drop down is slowly growing , is ther...

Views

180

Likes

0

Replies

0
Re: display saved properties of a node in a form on page load
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Johan ,Thanks for the reply. The way you mentioned would work for case in which immediately after successful post,load the form with the values in session. How about the case in which I freshly open the form page (state of the form page before i do a post)and it loads with saved properties, thanks in advance

Views

254

Likes

0

Replies

0
Execute custom servlet/service on page custom page propert addition or modification
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi,what would be the best way to execute custom servlet /service once a page property is added or modified? For example , if author opens up page properties from side kick - advanced- update or add new design path, I want to execute my custom service. One way which I read through some of the posts is to use jcr observation listeners,but some recommend not to as they might create problems in multi cluster environment.would using a sling post processors right way to archive it? Any examples of usi...

Views

251

Likes

0

Replies

1
Re: Increment / decrement counter checks with sightly
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Feike, The above pasted code works absolutely fine for me. In the above code if you notice there are sets of empty iterates barcoded ( [[[[]]]] ) . So as explained in blog of achieving " tower of Hanoi" using sightly, this empty iterables can be used as counters . What I'm trying to achieve is to generate these empty iterables dynamically ,so like for number 4 , it should return [[[[]]]], for 3 [[[]]] and so on... I'm trying to return empty string in the format as [[[[]]]] from Java code but ...

Views

443

Likes

0

Replies

0
Increment / decrement counter checks with sightly
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi , I'm trying to achieve dynamic navigation , where in author can specify depth level and navigation automatically builds up to that depth level .I'm trying to achieve this use case using sightly . I have achieved the dynamic navigation using data-sly-template and works fine , something like below , I have referrd tower of hanoii https://twitter.com/sightlyio/status/545586838342488064 to set a counter for depth . Now instead of harcoding depth as empty iterables [[[[]]]] , i 'm trying to d...

Views

675

Likes

0

Replies

2
Re: Create/ update client libs programmatically
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Thanks Justin . Very useful tool  .

Views

200

Likes

0

Replies

0
Create/ update client libs programmatically
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hey Guru's I have a unique requirement where I need to manage client libs programmatically. It's like I need to create a new one and also update on submit action.I couldn't find myself of any Existing suitable API for client libs management, can any one point me to any? Or many be any pointers on the best way I can achieve it?Thanks in advance thanks

Views

264

Like

1

Replies

2
Re: Using Hybris Importer - CQ Commerce
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Ramneek , As mentioned in the documentation , import process will not create content pages . You will need to create them using blue prints . For reference you can install geometrixx-hybris package for content pages and play along . regards

Views

236

Like

1

Replies

0
Re: Using Hybris Importer - CQ Commerce
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Catalin and smacdonald , Thanks for your pointers and updates . Appreciate it . Just wanted to let you guys know that I tried with your recommendations and made some progress . So I installed CQ-Hybris-Server 5.6.1.00 . The Hybris instance had only one base store created 'outdoors' . So with pointing "Base Store" and "catalog" to 'outdoors' , "language code" as 'en', "commerce provider" as 'Hybris' , I was able to import product details and had product hierarchy structure (as designed in hybr...

Views

227

Likes

0

Replies

0
Using Hybris Importer - CQ Commerce
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Guys, I'm dealing with one of the OOTB Hybris importers supported by CQ . I'm following the documentation from here (http://dev.day.com/docs/en/cq/current/ecommerce/eCommerce-framework.html) to get going on integrating CQ commerce with Hybris . I'm currently on CQ 5.6.1 .As advised in the documentation I have installed packages cq-hybris-content -5.6.100cq-hybris-server- 5.6.0​I can log into Hybris and view/update the catalogs . Now i'm trying to import the catalogs form hybris .So when I ope...

Views

897

Like

1

Replies

7
Re: ResourceType for OOTB Form Component
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Just and update on the problem I forgot to post earlier . If in my script I try to use resourceTypes separately for formStart and formEnd as below , it just shows up ' formStart' component . If I remove the resourceType for formStart , it then shows formEnd component as well . What resourceType should I be using so that I can get the same behaviour for the form component , when we drag n drop from side kick . regards

Views

183

Likes

0

Replies

0
ResourceType for OOTB Form Component
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi Guys , I'm just trying out a use case in CQ 5. 6 and came across a requirement where a page component backing a template should directly embeed some components like breadcrumb, logo , form etc . I'm able to easily embeed custom navigation or some OOTB components in my jsp using . or But to embeed OOTB form component in a similar what resourceType should I be using ? Normally we can drag n drop the form component from parsys , but I'm working on a use case where form component come's pre popu...

Views

228

Likes

0

Replies

1
Re: Workflow to publish pages and nt unstructured nodes
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Thanks for your reply, appreciate it.

Views

200

Likes

0

Replies

0
Workflow to publish pages and nt unstructured nodes
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi There , I'm building a process step to be part of a workflow in which based on the pay load path , I need to active its peers and also some nt unstructured nodes pragmatically . I'm trying to use using Replicator to achieve it . public abstract void replicate(Session paramSession, ReplicationActionType paramReplicationActionType, String paramString) . My question is Am I using the best utility to achieve this use case ? Also for nt unstructured nodes , if I give the path of the parent , will ...

Views

248

Likes

0

Replies

2
reuse and extend existing dialog elements in other dialogs
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi , Is it possible in CQ to reuse and extend the dialog elements from other dialogs . Currently in my project I'm using 'path' attribute and ' cq;include' to reuse tab from dialog 1 to dialog 2 . Is it possible to extend the properties in the dialog after inclusion ? Like Currently I'm extending the Dialog of image component to my custom image component . However in my custom image component i would like to update the title to 'customImage' . Are such type of extensions possible in CQ 5.6.1? Th...

Views

210

Likes

0

Replies

0
Adding target = "_blank" to CQ5 Image Anchor
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi , I have a requirement in the image component where a user is given preference to choose to open links in new window (similar to text component) . So all i need is to add target = "_blank" to CQ5 image anchor tag on user opts for new window . The OOTB image component uses Image class which actually outputs markup using 'image.draw ' .From adobe documentation for Image class i was not able to see any helper methods to add extra tag attributes to added to the hyperlink around the image.Any poin...

Views

677

Likes

0

Replies

1
Custom error text to display if the 'allowBlank' validation fails
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi , I have a custom component which uses widgetsTextField and html5SmartImage . To have author mandatoryily enter values i m applying property 'allowBlank = false' . This works fine . To have a custom message displayed when allowBlank validation fails , i'm using property 'blankText' with its value as my custom meesage . I referred it from the API (http://dev.day.com/docs/en/cq/5-5/widgets-api/) . However i still see OOTB message as 'Verify the Values as Marked fields' . Any pointers of how i c...

Views

94

Likes

0

Replies

0
Registering custom servlet using sling resource type
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hey there , I'm trying to registering a custom search servlet by using sling resource type. Deployment of bundle and registering of service is fine as I can view them in felix console . My servlet is annotated as follows case 1 : @org.apache.felix.scr.annotations.Component(metatype = false) @Service(Servlet.class) @Properties({ @Property(name = "sling.servlet.extensions", value = "html"), @Property(name = "sling.servlet.selectors", value = "jsonsearch"), @Property(name = "sling.servlet.resourceT...

Views

1.1K

Likes

0

Replies

1
Re: Assign multiple rendering scripts to a draggable component
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hey Guys , Thanks for your replies Right now I'm following the approach which is similar to the one suggested by Andy but wanted a different approach on it . Lets say if the same component has to be displayed in a table approach in a different page i have to again configure the dialog for the component . Justin when you mentioned two templates , how is that the change of the template can be recognized by my component ? I mean any sling way to recognize it ? I'm asking this because , in future if...

Views

241

Likes

0

Replies

0
Re: Assign multiple rendering scripts to a draggable component
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
The way i was implementing is by adding a custom property for templates which i'm using back in my component.jsp to switch the rendering scripts . Looks like the best way may be on the similar lines . Thanks for your replies guys .

Views

238

Likes

0

Replies

0
Assign multiple rendering scripts to a draggable component
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hey CQers , I would like to know the best approach to have the same content displayed in a different ways in a portion of a web page for the draggable component which sits on a page component .To elloborate , I have defined a custom component named 'ProductsList' which by default has default jsp 'ProductsList.jsp'The business logic for this component is to fetch all the products from JCR . The display logic is that if the component is dragged and dropped on a parsys on a products page which is b...

Views

864

Like

1

Replies

8
Re: Update options provider of selection widget in multi type
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Thanks for your pointer . I haven't looked at it . I will check now and see if I can get reference to suit my use case . Will post an update on how things go .

Views

145

Likes

0

Replies

0
Update options provider of selection widget in multi type
Avatar

Krisgum

Krisgum
- Adobe Experience Manager
Hi , I have created a multi type widget which has a fieldconfig of xtype selection . optionsprovider property is defined which has a java script function as a value to load the drop down with values . This is all fine at my end and my drop down works as expected .Now as a new requirement , I had to add a path field to the dialog and on change of value in path field , i need to re populate my drop down with new values based on path selected . I'm trying to achieve this by adding a dialogcloselist...

Views

217

Likes

0

Replies

2