Thursday, December 19, 2013

Changing page properties


I'm attempting to add an additional field to page properties for both the web UI and the sidekick.

Web UI

Web UI page properties exist at this path:
wcm/core/content/sites/bulkproperties/items/content

If I want to add a specific field, I would want to dig deeper to the tab and column to situate the field:
wcm/core/content/sites/bulkproperties/items/content/items/tabs/items/basic/items/col1/items

I think I can duplicate some of this in my local app, but am not sure. I will have to try the sling:resourceSuperType to see if I can modify this. I don't want to modify it in the WCM since this is core information for the entire install of AEM.

I also found a way to restrict the tags, it's on this same node. Again, doing it on the WCM will affect all content on the install, so I don't want to do that here.

Editing the WCM instance does NOT add it to the page properties dialog in the sidekick.

Sidekick

The page property dialogs for the sidekick are here:
libs/foundation/components/page/dialog [cq:Dialog]
libs/foundation/components/page/tab_basic [cq:Panel]

Dialog contains items that reference the tab panels.

TRIAL: I've copied both items to my app/component/page folder and made adjustments to test the addition of a new panel to the dialog. I've removed all other parts of the dialog with the assumption that the component/dialog should be picking up the rest since the parent node "page" is has a resourceSuperType pointing to the original resource.

RESULT: Copying these two folders and essential child nodes to the app's component/page folder appears to disable the page properties feature in the sidekick.

OUTCOME: Fail.

No comments:

Post a Comment