Saturday, November 29, 2014

Go Home and Go Back functionlaity on SharePoint Search Results Page

Hi,

There was a requirement of Go Back and Go Home functionality on the SharePoint search  results page.

Because once user is redirected to share point search results page user should have certain option to go back to previous page/going back to home page.

To achieve this I have added a content editor web part on search results page through below navigation.

Site Actions->Edit Page->Click on Add a web part->Media and Content->Content Editor web part->Click here to add new content.

Post this clicking on Edit HTML Source on the ribbon.

I have pasted the below html to achieve the functionality
First we have used history.go(-1) in ‘Go Back’ functionality.

But problem with this is it works only in IE browser, didn't work in chrome/Firefox browser.

Monday, November 24, 2014

SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName='domain\username', UPN='username@domain.com'. UPN is required when Kerberos constrained delegation is used.

Hi,

We were getting the below error when we were trying to save the wiki page through SharePoint ribbon.

Error:

SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName='domain\username', UPN='username@domain.com'. UPN is required when Kerberos constrained delegation is used.  

Finally our teammate has found the solution i.e.

In the page layout that we were using we had commented the below table due to certain changes.
At the same time we had commented the table where we were referring to, there it started creating a problem.
Now had uncommented the area and changes as display property to none as below


Sunday, November 2, 2014

Default CheckBox Visibility

Hi,

Earlier behavior on our application was

Once user hovers on list view web part he was able to select the files to download.

But there was change request i.e. by default once user navigates to the page, should be able to see the checkbox to select the file.

For this we have modified the style as below