How to add new item in the Tab page ----basic in sidekick | Community
Skip to main content
October 16, 2015
Solved

How to add new item in the Tab page ----basic in sidekick

  • October 16, 2015
  • 6 replies
  • 1199 views

Now i need to add new "item"(i not sure this name) in the page Tab bottom, basic in sidekick. And we can see there are: move page | delete page | and so on.

When user press "new item", it will popup a wizard contains several pages.

Anyone know how to add item? and popup wizard?

 

Thanks in advance.

Regards,

Brian

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Article does not have image & to me looks same. Just that the one i refereed has message box & one you reffered has additional preview option. You can move that logic instead of alert.

6 replies

Sham_HC
Level 10
October 16, 2015
October 16, 2015

Hi Sham,

I find a relevant example here http://daycq.blogspot.jp/2012/05/hi-team-have-requirement-where-we-need.html

It's just fit with my need.  But i try to do that by it and not work it , is it a right way to do that?

BTW, and i see the link page you give me, it seems to add one button to the sidekick for the page of the specific template. But my need is to add a button to all pages, which means it is a default button existed in the sidekick in the model "Classic UI", like "copy page" "movie page"....

If you have any good suggestion please let me know.

Thanks a lot.

Regards,

Brian

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Article does not have image & to me looks same. Just that the one i refereed has message box & one you reffered has additional preview option. You can move that logic instead of alert.

October 16, 2015

I attampt to write a example by your gave reference,  and i am using Adobe Experience Manager, Version 6.0.0.20140509.

While i open file .content.xml under the folder CustomAction.js.dir, i don't know how to creat it. I can't find jcr:content in the select list.  I guess maybe the Version 6 AEM is different from AME 5.X

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="nt:file"> <jcr:contentjcr:lastModifiedBy="admin" jcr:mimeType="text/css" jcr:primaryType="nt:resource"/> </jcr:root>

And i didn't find the properties categories in my CRT :

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:ClientLibraryFolder"categories="[cq.widgets]"/>

 

Could you help see again?

Thanks.

Regards

Sham_HC
Level 10
October 16, 2015

with respect to clientLibrary I do not think difference between 5.x & 6.x

October 16, 2015

Hi Sham,

I see again  http://daycq.blogspot.jp/2012/05/hi-team-have-requirement-where-we-need.html, and now it works but need to run Adobe on the author model.

You can check it again.

 

Thanks.

Brian