Expand my Community achievements bar.

SOLVED

creating IE8 channel in AEM 5.6

Avatar

Level 1

I created a new channel by overriding /etc/clientlibs/granite/clientlibrarymanager/DefaultChannelDetector.js, using the existing ie6 channel as a template to create an ie8 channel so that channels looked like this:

var channels = [

channel: "ie6", // or lower
match: /MSIE ([0-6]\.[\.0-9]{0,})/i
},
{
channel: "ie8", // 7 and 8
match: /MSIE ([7-8]\.[\.0-9]{0,})/i
} ,

...

];

In general this works: clientLibraries I have created with the specified ie8 channel get loaded, however when loading a page in author mode with a default cq component in IE8, the javascript console shows the errors:

'CQ.undo.UndoManager' is null or not an object

'CQ.WCM' is null or not an object

 

and the component is not visible/editable.

How can I create a custom ie8 channel to load ie8 specific stylesheets/javascripts?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Right now all available channels are hardcoded and not easily extensible.  File a daycare request providing your usecase with a business reason so that enhancement request can be filled.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

Right now all available channels are hardcoded and not easily extensible.  File a daycare request providing your usecase with a business reason so that enhancement request can be filled.

Avatar

Level 1

Thank you Sham, I filed a daycare request and they suggested I check here. I'll reopen it and follow your advice.

Thanks again.