Monday, 1 May 2023

DNS Switch for Sitecore SSO Enabled Application

Recently I worked on a scenario where after an application upgrade and before go live, we were looking to switch DNS for SSO enabled Sitecore Web Application.



There are few and simple steps to follow:

There will be 2 URLs (Live and Upgraded Application), let's say L and U

  • From Site Definition configuration file, swap hostName and targetHostName values between L and U config files.
  • Since we were using WSO2 for SSO authentication, and input request SAML settings were done in web.config, So just need to swap SAML setting values between L and U.
  • Please connect with your WSO2 team mate for SSO Url updates, by adding new ACS Url to authenticate with SSO.

That's it. For us after above 3 changes - it worked.

Wednesday, 12 April 2023

sitecore create new content disabled Issue

 There are scenarios where on Sitecore Experience editor or from Page's presentation details - Associated Content Popup, for particular rendering will see Create new Content is disabled.






To resolve above issue, I found that if we did setup Datasource template on rendering more than one. Then above feature will automatically disable.

Because if we have more than one type of template for data item to be selected on rendering. Then Sitecore will get confused that after click Create New Content, which type of data item will created.


Note: Please make sure only one type of template path set on Rendering's Datasource Template field.