Sunday, January 18, 2015

ULS viewer is showing blank data when we use RealTime option

If your ULS viewer  (download from here ) shows blank data when you use "RealTime" as below





then try the following.

Option #1: Clear everything from logs folder

1. Go to  Services.msc
2. Stop the "Sharepoint Tracing Service"
3. Navigate to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS and clear everything.
4. Start the "Sharepoint Tracing Service"
5. Try to open ULSViewer and check for real-time logs


In case, if you still face the issue, try the next option

Option #2 : Change the default location of ULS log

1. Go to Central admin site
2. Got to Monitoring -> Configure Diagnostic logging
3. Change the "Trace Log Path" to any folder, say C:\ULSLogs
4. Try to open ULSViewer and check for real-time logs


Hope it helps !!

Monday, December 1, 2014

Sharepoint Designer - Clear Cache


How to Clear Sharepoint Designer Cache

  1. Exit Sharepoint Designer if it is open.
  2. On the local computer, browse to the following folder:
    C:\Users\<username>\AppData\Local\Microsoft\WebsiteCache
    Note
     To locate some of the files and folders, you may have to configure File Explorer or Windows Explorer to show hidden files, folders, and drives. To do this, use one of the following methods.

    Windows 8
    Open File Explorer, tap or click the 
    View tab, and then select Hidden items.
    Windows 7
    For more information about how to unhide hidden files or folders in Windows 7, see 
    Show hidden files.


  1. Delete all the files and folders that are present.
  2. On the local computer, browse to the following folder:
    C:\Users\<username>\AppData\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache
  3. Delete all the files and folders that are present.
  4. On the local computer, browse to the following folder:

    C:\Users\<username>\AppData\Roaming\Microsoft\Web Server Extensions\Cache
  5. Delete all the files and folders that are present.
  6. Start SharePoint Designer 2010/2013 and proceed with your work


Powershell to make List column optional in Sharepoint

$web = Get-SPWeb -identity "http://siteurl"

$list = $web.Lists["ListName"]
$column = $list.Fields["Title"]
$column.Required = $false
$column.Update()
$list.Update()

$web.Dispose()