Sugix Sitecore
Thursday, 1 August 2019
Wednesday, 9 September 2015
Sitecore 8 Update 5 - Presentation Details not inherited from standard value
I encountered this issue last Monday. I did the usual thing as I did at Sitecore 7.2 or older.
So I created Base Template, with the base fields and some sublayouts inside presentation details at its standard value. Then i created Template A inherited with Base Template, the fields are inherited as usual, however, the presentation details is not inherited, yet the item that use Template A have inherited presentation details from Base Template.
Even though it looks quite ok, but i unable to add additional sublayout for template A, if I add new sublayout inside Template A standard value, it will overwrite the "inherited presentation details".
I did some researched on Google and found out that this is known bug for Sitecore 8 update 4 and Sitecore 8 update 5. Sitecore Support has released temporary fix for this, if you need to contact them, you can add this public reference number, 442036
Hope this helps ^_^
So I created Base Template, with the base fields and some sublayouts inside presentation details at its standard value. Then i created Template A inherited with Base Template, the fields are inherited as usual, however, the presentation details is not inherited, yet the item that use Template A have inherited presentation details from Base Template.
Even though it looks quite ok, but i unable to add additional sublayout for template A, if I add new sublayout inside Template A standard value, it will overwrite the "inherited presentation details".
I did some researched on Google and found out that this is known bug for Sitecore 8 update 4 and Sitecore 8 update 5. Sitecore Support has released temporary fix for this, if you need to contact them, you can add this public reference number, 442036
Hope this helps ^_^
Tuesday, 13 March 2012
Reset Presentation Details
Yo long time haven't post here. There are few things i would like to share but let me start with "Reset Presentation Details" first, the others will be on another post :)
So there was a case that I need to reset the presentation details (the layout didn't follow the layout defined in standard template) for a lot of items. I debugged the Sitecore, and found out very simple code. Here it is
Field field = item.Fields[FieldIDs.LayoutField];
item.Editing.BeginEdit();
field.Reset();
item.Editing.EndEdit();
Enjoy resetting your items haha
So there was a case that I need to reset the presentation details (the layout didn't follow the layout defined in standard template) for a lot of items. I debugged the Sitecore, and found out very simple code. Here it is
Field field = item.Fields[FieldIDs.LayoutField];
item.Editing.BeginEdit();
field.Reset();
item.Editing.EndEdit();
Enjoy resetting your items haha
Monday, 16 January 2012
Modify ECM User Import
This guide is to help all Sitecore developers who are struggling to modify ECM User Import. As you know that by default, Sitecore changes "@" into "_at_" and "." into "_dot_" for every imported email and it uses default Sitecore profile, perhaps some of you prefer to use your customized profile.
So here we go, but in order to complete this guide, you need to have a software to decompile Sitecore.EmailCampaign.dll.
Hope this helps. Feel free to leave your comment if you don't understand ^_^
So here we go, but in order to complete this guide, you need to have a software to decompile Sitecore.EmailCampaign.dll.
- Firstly, try to find this file \Website\sitecore modules\Shell\EmailCampaign\UI\Dialogs\ImportUsersWizard.xml
- Open it, and change the CodeBeside class into your custom class ([Namespace.CustomClass], library name).
- Next, you have to recreate the whole ImportUsersWizard, with a customized code in PerformImport function.
- Compile your library, and put into the Sitecore bin folder, you are good to go.
Hope this helps. Feel free to leave your comment if you don't understand ^_^
Sunday, 11 December 2011
Sitecore Blog
I decided to create another blog only just for Sitecore CMS. Any finding that I found will be posted here for all Sitecore developers knowledge base ^_^
Subscribe to:
Comments (Atom)


