Recently I’ve faced strange issue while working with Sitecore.NET 7.0. (rev. 130810) in Chrome browser. I was trying to access presentation details of Sitecore item and layout details pop-up was not coming properly. I’ve checked Chrome console to verify if there is any JavaScript error. I’ve seen below error in Chrome console:
This issue is not occurring in Sitecore 7.2 version. After troubleshooting I’ve found that this issue was occurring in Chrome version 37.x. Chrome 37 disables support for showModalDialog by default thus window.showModalDialog() won’t work anymore in Chrome 37 onwards. For more information refer to the chromium blog. However, Google has added a temporary Group Policy setting EnableDeprecatedWebPlatformFeatures to re-enable deprecated web platform features for a limited time. In May 2015, this setting will be removed and showModalDialog will be completely removed from Chrome. Below section describes the steps to enable EnableDeprecatedWebPlatformFeatures policy setting to Chrome, which administrators can then configure via Windows Group Policy:
Related articles:
1.) SDN Forum : showModalDialog disabled by default in Chrome 37
2.) Sitecore Knowledge Base Article
Comments and suggestions are most welcome. Happy coding!
This issue is not occurring in Sitecore 7.2 version. After troubleshooting I’ve found that this issue was occurring in Chrome version 37.x. Chrome 37 disables support for showModalDialog by default thus window.showModalDialog() won’t work anymore in Chrome 37 onwards. For more information refer to the chromium blog. However, Google has added a temporary Group Policy setting EnableDeprecatedWebPlatformFeatures to re-enable deprecated web platform features for a limited time. In May 2015, this setting will be removed and showModalDialog will be completely removed from Chrome. Below section describes the steps to enable EnableDeprecatedWebPlatformFeatures policy setting to Chrome, which administrators can then configure via Windows Group Policy:
- Download ADM policy templates for Windows from here.
- Unzip downloaded zip file and navigate to Start > Run: gpedit.msc
- Navigate to Local Computer Policy > Computer Configuration > Administrative Templates.
- Right-click Administrative Templates and select Add/Remove Templates.
- Add the downloaded chrome.adm template of Windows via the dialog for the specific language. In my case; I’ve selected adm templates for en-US locale.
- Once added, a Google Chrome folder will appear under 'Classic Administrative Templates' if it's not there already.
- Select EnableDeprecatedWebPlatformFeatures setting in right column and edit it.
- Edit EnableDeprecatedWebPlatformFeatures as shown in below image.
- Restart chrome browser and type chrome://policy/ in address bar and you will see that setting is enabled now.
- Above procedure will create/update windows registry value.
Related articles:
1.) SDN Forum : showModalDialog disabled by default in Chrome 37
2.) Sitecore Knowledge Base Article
Comments and suggestions are most welcome. Happy coding!
Please correct the link to the ADM policy templates because tight now it contains a dot at the end.
ReplyDeleteHi Roman. Thanks for pointing the correction. I've updated the link. Cheers!
ReplyDeleteAfter finished all those steps, the chrome://policy/ gave me this:
ReplyDeletePolicy name: EnableDeprecatedWebPlatformFeatures
Policy value: ShowModelDialog_EffectiveUntil20150430
Status: List entry "0": Value is out of range $1.
Do you have any idea why it happened?
Thanks,
Harry
Hi Harry, Have you checked Windows Registry ? It should look like as attached screenshot. You can go to windows registry by Start > Run: regedit
ReplyDeleteHi Harry, Have you checked values in Windows Registry ? It should look like as attached screenshot. You can go to windows registry by Start > Run: regedit
ReplyDeleteI have the exact same issue :(
ReplyDeleteModelDialog_EffectiveUntil20150430 - List entry "0": Value is out of range $1.
Hi Harry,
ReplyDeleteIt seems that there is little mistake in Policy value which you have entered. Policy value should be ShowModalDialog_EffectiveUntil20150430. Pay special attention on spelling. It is Modal.. not Model ! Hope it helps. :)
Hi Lars,
ReplyDeleteIt seems that there is little mistake in Policy value
which you have entered. Policy value should be
ShowModalDialog_EffectiveUntil20150430. Pay special attention on
spelling. It is Modal.. not Model ! Hope it helps. :)
Strange. I copied the whole phrase from the description. It is correct when I checked my gpedit.msc, but resulted as Model on my regedit! I have to manually edit the regedit registry value to make it works. Not sure if this counts or not. But thank you!
ReplyDeleteGlad! It worked for you. :)
ReplyDeleteHi, So I followed this hack and also used the corrected value of this policy etc and it works on Chrome 37 i.e. model is back on Chrome 37. Now when I upgraded to Chrome 38 Beta this key isnt working. So was this hack designed specifically for 37 only ? Or is it that since chrome 38 is beta they might not have added support for this flag yet but will probably do so before they launch 38 in live ?
ReplyDeleteAnkara
ReplyDeleteBolu
Sakarya
Mersin
Malatya
M07R
FE7A4
ReplyDeleteMalatya Evden Eve Nakliyat
Karabük Evden Eve Nakliyat
Çerkezköy Boya Ustası
Kripto Para Borsaları
Kütahya Evden Eve Nakliyat
DCB49
ReplyDeletereferans kodu
03014
ReplyDeleteQlc Coin Hangi Borsada
Soundcloud Takipçi Satın Al
Bitcoin Madenciliği Nasıl Yapılır
Bulut Madenciliği Nedir
Linkedin Takipçi Hilesi
Bitcoin Nasıl Alınır
Kripto Para Üretme
Yeni Çıkan Coin Nasıl Alınır
Parasız Görüntülü Sohbet
A17C0
ReplyDeleteprobit
telegram kripto para
filtre kağıdı
bitrue
bitget
kredi kartı ile kripto para alma
mexc
papaya meyvesi
coin nereden alınır
D021F
ReplyDeletekripto para nereden alınır
paribu
bitcoin haram mı
gate io
kripto para haram mı
paribu
mercatox
rastgele canlı sohbet
referans kodu binance
2D074
ReplyDeletecoinex
bitexen
aax
binance 100 dolar
telegram kripto para
papaya meyvesi
referans kimliği nedir
bitcoin hangi bankalarda var
en iyi kripto grupları telegram
4E13A
ReplyDeleteJuly 2024 Calendar
filtre kağıdı
bitcoin seans saatleri
probit
mexc
okex
January 2024 Calendar
July 2024 Calendar
bybit
DA3B6
ReplyDeletegörüntülü şov
01C59A5B0F
ReplyDeletecam şov
whatsapp ücretli show
whatsapp görüntülü şov
ücretli show
canli web cam show
telegram show
cam show
görüntülü şov
canli cam show
386CE09BAB
ReplyDeletelay era
fx15
maxman
yapay kızlık zarı
viagra
viga
delay
novagra
vigrande
69FECF394B
ReplyDeleteviagra
lady era
performans arttırıcı
bayan azdırıcı damla
stag
delay
cobra vega
themra macun
degra
B542BE0952
ReplyDeletebayan azdırıcı damla
bufalo içecek
vega
themra macun
lady era
görüntülü şov
degra
cobra vega
geciktirici
2C8DC6E74B
ReplyDeleteücretli show
fx15 zayıflama hapı
delay
sinegra 100 mg
performans arttırıcı
canli web cam show
novagra hap
görüntülü şov whatsapp numarası
themra macun