Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

dorianhallward
Community profile dorianhallward Level 4
Job title here
Location here
18 BADGES
Level 4

Level 4

Learn more
Joined the community 16-04-2015 8:49:34 AM
Online
Top badges earned by dorianhallward
Customize the badges you want to showcase on your profile
Re: Working example or demo of AEM sites cookie OptOutService?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for the links @Asutosh_Jena_ , your second link is the one in my original post.I've worked through the documentation but, while the code executes OK, client-side Javascript does not read the OSGi-configured service values, as the documentation suggests it should. I raised a Forum question a few weeks ago when I was working through this initially but didn't solve it. I would like to see a working example of this cookie opt out feature so that i see how a working implementation differs from...

Views

20

Like

1

Replies

0
Working example or demo of AEM sites cookie OptOutService?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Can anyone point me to a working example/ demo of the cookie opt out service for AEM sites?It's described on the experienceleague website here - but when i follow the documentation and use the client library javascript in a Sightly/ HTML template, method calls like getCookieNames() return an empty array.

Views

45

Likes

0

Replies

2
Re: Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
@VaniBhemarasetty are you familiar with the AEM Sites cookie opt out feature?I can't get the client side library to work, following the Adobe documentation.I'm sure i'm missing something simple - see the comments above on this forum question.

Views

69

Like

1

Replies

0
Re: Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Also, I tried setting the header as per the other web page you referenced and applied changes to the "we retail" example project. Unfortunately with the same outcome 😣. I must be missing some configuration or additional settings... My local osgi output service now configured as follows,http://localhost:4502/libs/granite/security/optout/configuration.json { "cookienames": [ "omniture_optout", "cq-opt-out" ], "headers": { "X-Do-Not-Track": "1", "DNT": "1" }, "whitelistcookienames": [ "ys-cq-sitea...

Views

70

Like

1

Replies

0
Re: Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Hi @Arun_Patidar Where is JS you've pasted in above taken from? This granite.utils client library is made up of the scripts specified in /libs/clientlibs/granite/utils/js.txt, i.e.#base=source Sling.js Util.js HTTP.js I18n.js TouchIndicator.js OptOutUtil.js init.jsIf you look at /libs/clientlibs/granite/utils/source/OptOutUtil.js you'll see code (and its inline documentation) like the following (line 63 onwards) /** * Initializes this tool with an opt-out configuration. * * The following options...

Views

71

Like

1

Replies

1
Re: Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for the help @Arun_Patidar.Some replies from me: @Arun_Patidar wrote:Hi,I did not implemented this, I was just refering the documents.Ok thanks for confirming. Can you check this configuration at http://localhost:4504/libs/granite/security/optout/configuration.jsonMy localhost:4502 author instance returns valid json (as you'd expect, given this comes as standard out of the box).{"cookienames": ["omniture_optout","cq-opt-out"],"headers": {},"whitelistcookienames": ["ys-cq-siteadmin-tree","...

Views

80

Like

1

Replies

4
Re: Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for the reply @Arun_Patidar and for pointing out what the PID should be. Are you basing your reply on a working example - can you share that (I can't find an example of the opt out service being used by the we retail project)? Or is your suggestion based on the documentation, where I see it says, "...The following table desribes [sic] the properties that you need for either method. For an OSGi configuration, the service PID is com.adobe.granite.optout."I'm a bit confused about this point ...

Views

87

Like

1

Replies

6
Cookies consent opt out utils not working
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
@Arun_Patidar you may be able to help as i see you recently posted a link to the opt out service on this forum question.I want to use the opt out service in an AEM Sightly template to do cookie consent management.I am following the documentation linked to above, but i seem to be missing something.In my local AEM instance, my service is configured OK as i can see at http://localhost:4502/system/console/status-Configurations PID = com.adobe.granite.optout.impl.OptOutServiceImpl BundleLocation = Un...

Views

111

Likes

0

Replies

8
Re: Radio button value persists but not retrieved in touch UI dialog
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
@kenccwong in AEM 6.4. /libs/granite/ui/components/foundation/form/radio/radio.jsp is marked as granite:FinalArea which i think means this component should not be overlaid (?).(Stumbled upon this thread looking for explanation of why saved values are not shown (and subsequently get overwritten when 2 or more radio groups are used in a multifield).

Views

700

Likes

0

Replies

0
Re: Vanity Urls for DAM assets
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
smacdonald2008​ hi do you know if there is any Adobe official support / features/ plugins or advice on vanity urls for DAM assets? thanks

Views

3.1K

Likes

0

Replies

0
Re: Vanity Urls for DAM assets
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks JaideepBrar​ for the suggestion. Given a vanity url example of '/annual-reports', how would you configure apache so that it knows whether it should redirect to page request in the CMS under /content/wherever or to an asset in the CMS under content/dam/wherever? And in the case of assets what request extension would you add to the request for the resolver process to act on? Neither apache redirects nor sling mappings are author-friendly. I'm looking for a solution where, for example, an au...

Views

3.1K

Likes

0

Replies

0
Re: Vanity Urls for DAM assets
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thank you for the suggestion ka786​. I wondered about sling internal mappings but I'm not sure I would describe that as "authoring-friendly"(?)

Views

3.1K

Likes

0

Replies

0
Vanity Urls for DAM assets
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Hi is there an equivalent vanity urls feature for DAM assets?Are there other authoring-friendly ways to achieve something similar (with minimal developer involvement (e.g. sling internal mappings))? For example we'd like to have a vanity URL for a terms-and-conditions document hosted in the DAM. The vanity url would map to somewhere like /content/dam/weretail/docs/legal/terms-and-conditions-2019.pdf

Views

3.2K

Like

1

Replies

5
Re: How to test Rich Text Editors with Hobbes?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Arun Patidar thanks for pointing out the deprecation of Hobbes.js in AEM 6.5. That's news to me and quite disappointing given the efforts we've put into using it. smacdonald2008 do you have any info on what went wrong with Hobbes? Why was it still part of the reference project in AEM 6.4 if there were no plans to maintain it from 6.5?Hobbes.js is almost a good solution to automated testing with AEM. The things I think are missing include,Although it is possible to start Hobbes tests in a semi-au...

Views

2.2K

Likes

0

Replies

0
Re: How to test Rich Text Editors with Hobbes?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
kanchanm42092031,notwithstanding the point about Hobbes.js deprecation in AEM 6.5, yes you can absolutely use Hobbes.js for "authoring auto tests". The crucial part of an automated test for use of a rich text editor in author mode, is correctly locating the rte container, i.e.before then adding appending some characters to it, i.e.you then need to click 'done' or 'save' or whatever to post the input back to be stored in the content tree.

Views

2.2K

Likes

0

Replies

0
Re: Dispatcher - font files are cached with size 0 following design tree activation
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for the suggestion hamidk11679710​​. We are aware of the advice to move clientlibs out of etc/designs (and note: our issue does not involve http 404 errors as in Clientlibs not loading the fonts when placed in apps). Our issue is not seen when requesting pages directly from a publisher instance, so i am happy our font files hosted at /etc/designs/sh/assets/fonts are accessible and served correctly from AEM.On closer inspection, the caching problem only arises when requests are made first ...

Views

1.1K

Likes

0

Replies

0
Dispatcher - font files are cached with size 0 following design tree activation
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
When we upload a new custom clientlib - to etc/designs - and then do a tree activation, the next time we request a webpage that includes those font files, then the font files are created in the dispatcher with file size 0. The resulting impact is that when requesting a web page in the browser, font files are not properly downloaded (browser reports "Failed to decode downloaded font:")We can work around this issue by connecting to the dispatcher and manually removing the font files before re-requ...

Views

2.2K

Likes

0

Replies

4
Re: How to test Rich Text Editors with Hobbes?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
kanchanm42092031​hi we found this was just a case of getting the CSS selectors right. If you are still looking into this would you be happy to share a snippet of your html markup and the hobbes.js scripts you are using to test it? (I'm not sure what you mean by 'context')

Views

2.4K

Likes

0

Replies

6
Re: DAM Assets - how to make request activation workflow available?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
smacdonald2008​ this requirement, to have a “request publication“ workflow for individual DAM assets (as there is for pages), feels like it should be a standard OOTB feature. is there a formal way to request this as an enhancement to forthcoming AEM releases?thanks

Views

4.4K

Likes

0

Replies

0
Re: How to override AEM default favicon icon and page title in AEM 6.4 ?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager Assets
I was looking at how to add a favicon for a site and saw this thread. Sounds like the approach is different now to the one linked above: with AEM core components, using the page component and editable templates, we can now specify a client library (provided we have set "allowProxy=true") as the location for things like favicons. The page component will then look for image files with specified names - see head.html

Views

4.3K

Likes

0

Replies

0
Re: Should Target work with custom html elements?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Target
Thanks again John for your suggestions. My forum question here is not a programming one. It's about using the Target GUI. When we try and edit one of our existing website pages (served by Aem) the Target GUI - that allows you to highlight parts of a page and change text and images - fails to correctly swap-in the target user's proposed amendments to text and images. The html parts of the Web page that target can't seem to amend are specifically the sh-header custom elements in my snippet above. ...

Views

6.8K

Like

1

Replies

1
Re: Should Target work with custom html elements?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Target
John thank you very much for taking the time to reply. We have written our components via a javascript framework: Vue.js. Our components make extensive use of custom html elements. So i suppose the root of my question is: do custom html elements pose a problem for Adobe target, in terms of locating text and images to replace in a/b tests? For most of our custom html elements Adobe seems OK, but it struggles with the sh-header in my original snippet

Views

6.8K

Like

1

Replies

3
Should Target work with custom html elements?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Target
We have components in Experience Manager written via a javascript framework. As a result there are custom html elements in our markup. This is presumably quite a common scenario. Target seems to struggle to work with this markup - in terms of amending text and images.What should Target be able to do in this case and - if it is problematic - what can our developers or adobe do to help?Here's a snippet example of our markup,

Views

7.0K

Likes

2

Replies

5
Re: Preferred method to sync content - from prod to stage - in AEM 6.4?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for asking smacdonald2008​ we hadn't considered crx2oak. I will give that a try.

Views

1.3K

Likes

0

Replies

0
Re: Preferred method to sync content - from prod to stage - in AEM 6.4?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks for taking the time to reply smacdonald2008 What do other customers do: presumably this is a fairly common use case? Anything Adobe recommends as an OOTB solution (online backup? VM clones of live Aem instances?) Any further info appreciated. Regards Joe

Views

1.3K

Likes

0

Replies

0
Preferred method to sync content - from prod to stage - in AEM 6.4?
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Our content authors and AEM developers would like pages and assets hosted in AEM authoring and publishing 'staging' environments to be as similar as possible to the production environment, via an automated mechanism, (e.g an overnight 'rsync'-style copy).What is the most straightforward and most reliable way to achieve this? Essentially we'd like to copy the "diff" from live to stage, preserving anything on staging that is newer than live. So far we have considered a few options, Jackrabbit vaul...

Views

1.9K

Like

1

Replies

6
Re: Dispatcher CORS configuration - gap in documentation
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Thanks jonnow​so has your solution been to,1. set osgi CORS policy2. configure your apache/dispatcher cache section to enable CORS header pass through and cache CORS response headers in dispatcher3. configure mod_headers in apache to overwrite any Access-Control-Allow-Origin response headers cached by the dispatcher and replace that header value with the matching entry from your whitelist?If i've understood how it works that sounds great and i will give it a try.Still feels like the aem/dispatch...

Views

10.3K

Likes

0

Replies

1
Re: Dispatcher CORS configuration - gap in documentation
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
smacdonald2008​ can Adobe help with any further info about my follow up point around CORS header caching?Are there any other ways to address the problem that the first requesting origin is the one that gets written into the header cache (meaning subsequent requests from other authorised origins are blocked)?Would having individual CORS policies for each allowed origin help - or would the caching problem still be there? Are there other ways to configure the apache dispatcher to allow CORS respons...

Views

10.3K

Likes

0

Replies

3
Re: SVG is not showing on Google Chrome
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Installing an upgraded osgi org.apache.sling.security-1.1.16.jar corrects this issue (presumably adding the right headers into the response if @fernandou23761826 's analysis of the problem is correct).@ kautuksahni​ is this the official solution? how will this get rolled out, do i need to include sling security jar as a provided dependency along with custom code?

Views

36.7K

Like

1

Replies

0
Re: Dispatcher CORS configuration - gap in documentation
Avatar
Ignite 20
Level 4
dorianhallward
Level 4

Likes

22 likes

Total Posts

79 posts

Correct reply

1 solution
Top badges earned
Ignite 20
Give Back 50
Validate 1
Ignite 5
Ignite 3
View profile
dorianhallward
- Adobe Experience Manager
Hi thanks @smacdonald2008.Actually this is proving more problematic than we first thought - some advice and further info from Adobe would be appreciated. So far, I've only been able to get CORS request handling to work via the dispatcher if we add appropriate 'header' entries to the 'cache' section of the dispatcher config. So whether we want to or not, we end up caching CORS response headers. The problem is that in our use case we have an osgi CORS policy regex that allows a number of origins b...

Views

10.3K

Likes

0

Replies

4