Hi @AnHuaZh , The issue is due to the initialization of the model class com.r.site.core.components.product.appearance.PanoramicCarViewingComponent in your HTL. Please check on that page in which component, this model class has been used and you can verify your error.log file for more info about the ...
@Tenu please make sure that the property showhidetargetvalue added in right place in the dialog. Follow below article for creating show/hide fields based on drop down selectionhttps://medium.com/@mayursatav/show-hide-cq-dialog-fields-based-on-drop-down-selection-in-aem-cf30f65000e6
@Aaron_Dempwolff As I mentioned earlier try catch won't work here as if the property doesn't exist it won't throw any error. So please try to use if else condition to achieve this. And add loggers here as well for tracking.public String getPublishedDate() { String dates = ""; ValueMap pageProper...
Is this issue happening for all the pages, please validate once. If not, please make sure it is replicated which you are trying to check is published.if the issue still persists even after you replicating the page, check in crx whether "cq:lastReplicated" property set or not. If not check your perm...
Can you please update your code using if else condition as using try catch wont work.public String getPublishedDate() { String dates = ""; ValueMap pageProperties = currentPage.getProperties(); if(null != pageProperties.get(NameConstants.PN_PAGE_LAST_REPLICATED)) { Date lastReplicated = ...
If you are trying to update the property through code please add the below snippet in your /content/_cq_tags/.content.xml. Below snippet contains only the OOTB available languages. languages="[en,de,es,fr,it,pt_br,zh_cn,zh_tw,ja,ko_kr]"