Expand my Community achievements bar.

SOLVED

Add Components to Sidekick without use the Design Dialog.

Avatar

Level 1

Hi,

I would like a hand with this task.

I want to add Components to the sidekick, I am following this tip:

http://blogs.adobe.com/contentmanagement/2011/10/25/how-to-add-components-to-the-sidekick-without-up...

But is not reflecting to the sidekick the component that I add to the design configuration in the repository if I do not delete the browser cache and refresh the page.

I do not know if there is another easy way to do this.

My requirement is create an accordion component, is created with a parsys to permit to include accordionitem to the accordion component, and the requirement is that the accordionitem appears in the sidekick automatically when a accordion is added to the page.

Thank you for the help.

Miguel.

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

I asked a similar question at: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

DayCare has provided an interim workaround:

Update the cq:lastModifed on the design's jcr:content node.  This property is used as the Last-Modified header on the response for/etc/designs/default/_jcr_content.1429866000000.json/.  

View solution in original post

3 Replies

Avatar

Level 10

If you clear your browser cache - you are seeing the component in the sidekick - is that correct?

In the past - i have noticed that i have to clear the cache and reload the page to see the component. Sometimes it is necessary to clear the cache when working with AEM. 

Avatar

Level 1

Yes If I clear the browser cache I can see the component in the sidekick.

But It is not a good behaviour to me, I would need to do this automatically, I make a code to create the changes in the repository, but if the component is not shown in the sidekick then is not valid the solution.

Thanks.

Avatar

Correct answer by
Former Community Member

I asked a similar question at: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

DayCare has provided an interim workaround:

Update the cq:lastModifed on the design's jcr:content node.  This property is used as the Last-Modified header on the response for/etc/designs/default/_jcr_content.1429866000000.json/.  

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----