Hello Everyone,
Now the question comes that why only two tabs visible here while in the page properties dialog there are many tabs.The tabs/widgets are not visible in the dialog right now ,because if you see in the page properties dialog these tabs are having the property cq:showOnCreate as false.
Generally we used to copy and paste the dialog and doesn’t understand the meaning of these attributes.
Here I am going to explain some of the page properties of dialog which are very useful.
So I am going to walk you through with each and every property in a detailed manner.
1.cq:showOnCreate :
- As classic UI is soon going to be deprecated from AEM, and we have started using touch UI for page Creation.
- When author create a page from sites, this needs to be notice that only two tabs are visible in the page properties dialog here.
Fig - Page Properties Dialog at the time page creation |
So this property cq:showOnCreate plays a very important roles to show tabs or widgets at the time of page creation. That’s why if you want to author some fields at the time of page creation only, Just add this property with the value true in the tab /widget node.The default value of cq:showOnCreate is true.
Fig - showOnCreate property added in tab node of the dialog |
2.cq:hideOnEdit: While editing the page, if you want to hide any property from the page properties dialog ,set this value of cq:hideOnEdit as true.
The default value of cq:hideOnEdit is false.
Fig - hideOnEdit property added in widget node of the dialog |
Note: If you want to show any widget/tab at the time of page creation and at the time of edit you want to hide it, you can use a combination of cq:showOnCreate(as true) and cq:hideOnEdit(true).
3.allowBulkEdit : Sometimes many pages want to share same value of a widget(field).So there is no need to go to each and every page individually and change the property. Let suppose author want some tags to be shared across multiple pages. You can select more than one pages from the sites console and edit the property at all pages. This property enables the fields for bulk editing.
4.cq-msm-lockable: One of the features built into AEM MSM is the ability to determine which properties of a page are inherited (“rolled out” in AEM terms) from the master site to its child sites (live copies).
You can only bulk edit the pages:
- Share the same resourceType
- Are on part of live copy
Fig - allowBulkEdit property added in widget node of the dialog |
Fig - cq-msm-lockable property added in widget node of the dialog |
Fig - cq:LiveConfig node added under the live copy |
How this property works:
1. This property will create the chain link in the dialog which indicates that these values will be fetched from the master copy.
Note: If the value is not present in the master copy, it will pick its own value.
2. This can be edited if inheritance from the master copy has been cancelled.
When cq-msm-lockable has been defined, breaking/closing the chain will interact with MSM in the following way:
The value of cq-msm-lockable can be relative and absolute.
a)Relative (e.g. myProperty or ./myProperty)
- It will add and remove the property from cq:propertyInheritanceCancelled.
- MSM does not operate with deep properties (e.g. ./image/fileReference), even though the dialog’s logic does. If the chain is opened a rollout of the page will overwrite ./image/fileReference, as the rollout of the image node will not "walk" up to the parent node to check cq:propertyInheritanceCancelled.
Fig - Properties in case of relative path when inheritance cancelled |
Note: H2Solutions provide a Hotfix for AEM MSM Inheritance breaking with deep properties problem in the GitHub Repository
b)Absolute (e.g. /myProperty)
- Breaking the chain will cancel inheritance by adding the cq:LiveSyncCancelled mixin to ./myProperty and setting cq:isCancelledForChildren to true.
- Closing the chain will revert inheritance.
Fig - Properties in case of absolute path when inheritance cancelled |
NOTE : When you re-enable inheritance, the live copy page property is not automatically synchronized with the source property. You can manually request a synchronization (rollout configuration) if this is required.
Demonstration Video On Properties of Page Properties Dialog:
If you have any query or suggestion then kindly comment or mail us at sgaem.blog02@gmail.com
Hope it will help you guys !!
Thanks and Happy Learning.
Thanks a lot for detail explanation.
ReplyDeleteI have a question on property.
What's the use of Hide In Navigation Property?
When this property is checked, this page will not be visible when all children of its parent page are listed.
DeleteThanks and keep up the great blog posts.
ReplyDeleteThanks a lot for such a wonderful Explanation. It was easy to understand as you explained with the help of pictures.
ReplyDeletecomponent design services
.
ReplyDeleteNice article weighing the pros and cons of either method. How Much is My House Worth?
ReplyDeleteHi,
ReplyDeleteI am using cq-msm-lockable on a rte and I tried using it in granite:data nod as well.
The bug is that it shows and works like inheritance cancellation and revert both but while inheritance is locked it allows to author value.
This issue is only with rte.
Do you have any fix\suggestion for this?
in Page Properties dialog, i have richtext field and it has rte plugins added.
ReplyDeletenow when i create a page rte plugins are not showing for the field.
can some one have solution for it ?
RTE capabilities are supported only in AEM component dialogs. RTE is not supported on wizards or Foundation-forms like Page Properties and Scaffolding on Touch-enabled UI.
Delete(https://helpx.adobe.com/uk/experience-manager/6-3/sites/administering/using/rich-text-editor.html)
+ OR you can overlay createpagewizard, put `cq.authoring.dialog` and fix the console errors
When we are cancelling inheritance on a page property having cq-msm-lockable property, a child node named cq:LiveSyncConfig is added on that page's jcr:content node as expected. But this node has a property cq:isDeep with value set to 'false'. Because of this we are not able to rollout child pages of this page. Do you know how to set this cq:isDeep to default true?
ReplyDeleteCurrent house prices in leeds represent the actual asking prices for homes for sale calculated daily from the properties in the Home.co.uk property search. You can view the latest home asking price trends in Leeds with our Asking Prices Report for Leeds. You can compare these figures with the latest house selling price trends in Leeds with our House Prices Report for Leeds.
ReplyDeleteHi @Shivani, Have you tried to override moretitles dialog. I am having trouble while overriding it. do you have some tips
ReplyDeleteNestled in the spiritual heart of India, Vrindavan is a serene haven that attracts thousands of devotees, spiritual seekers, and investors every year. Known for its rich cultural heritage and divine ambiance, owning a Property in Vrindavan is not just an investment in real estate but also in peace, spirituality, and a vibrant lifestyle. At Brajbhoomi Realty, we help you find the perfect property that resonates with your aspirations.
ReplyDeleteOffice No. 163, Basera Baikunth, Chaitanya Vihar, Vrindavan, Mathura, Pin Code: 281121
8375001122