Tuesday, May 5, 2015

Media Library Browser Thumbnail Issue in Sitecore 7.2

Hi,
In my previous blog post Time Format Issue in Sitecore 7.2 rev. 140526 (Lucene Index Search), I have given solution to fix date time format bug in sitecore 7.2.  But when ever sitecore speak api will parse date time string it will give error because we have changed date time format to (yyyyMMddHHmmss).

The problem statement is We have to change speak api parsing format from default "yyyyMMdd" to "yyyyMMddHHmmss"

To resolve the Media Library Browse button issue please follow these steps:
  1. Place the attached UpdatedFacetProvider.dll file into the /bin/ folder of your CMS.
  2. Open the your CMS sitecore in web browser. Login using admin credentials in desktop mode and change data base to Core.
  3. Open Content Editor and go to item path /sitecore/client/Applications/Dialogs/SelectMediaDialog/PageSettings/Facets/Uploaded 
  4. Replace the value of "FacetProviderType": Sitecore.ItemWebApi.Facets.UpdatedFacetProvider,Sitecore.Speak.ItemWebApi                 with this one:                             UpdatedFacetProvider.UpdatedFacetProvider,UpdatedFacetProvider
  5. Rebuid the indexes and try to reproduce the issue
After following the steps above, the Media Library search browser should display the media items and the Web API errors should go away as well.

Happy programming and let me know if you face any problems or bug in this fix.

Please remember this fix must be applied after solving date time format bug mentioned in my previous Post

2 comments:

  1. Can you please allow permission to download the DLL specified above?

    Thanks

    ReplyDelete
    Replies
    1. Hi,
      You can download it from google drive. But for this you will need google account. You can make it free of cost on google.

      Regards,
      Qasim

      Delete