Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

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

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

6 Replies

Avatar

Former Community Member

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

Avatar

Correct answer by
Level 10

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.

Avatar

Former Community Member

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

Avatar

Level 10

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

Avatar

Former Community Member

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