Saturday, July 26, 2014

How To Figure Out SharePoint List or Document Library Column's Internal Name

SharePoint List and Document Library has a fixed internal name beside title of that field shown to user.
This field remains unchanged throughout the column's existence in that list.

Here is the simplest approch to figure out internal name of a field / column

  1. Go to list's settings page

    List's settings option shown in ribbon's 'List' tab

  2. Click on the field / column name
    Under "Columns" section click on desired column name

  3. Notice the last part of url that says "Field=", the value after that is internal name of fieldCopy all text after "Field=" 
  4. Now decode the value.
    Open , paste the test, and click on "Decode".
    This is the internal name of field.

That's all, hope you found it helpful.

Wednesday, July 9, 2014

SharePoint 2013 - Access denied error message when accessing anonymous permission list using client side object model or javascript

We had a list having anonymous access but after migrating from 2010 to 2013 we started getting error.
The anonymous permission was there but still getting error.

After searching I found a blog and it helped me in solving this.

This is what I did in my case:
1. Go to site collection
2. Site Seettings > Site Permission
3. Click on "Anonymous Access" in ribbon menu
4. Uncheck "Require Use Remote Interfaces permission"

And it again started working...  :)

Thanks for reading this and I hope someone will be benefited.