Get "CreatedBy" and "ModifiedBy" Values From SharePoint 2010 List Using ECMAScript

In this article you will see how to get the "CreatedBy" and "ModifiedBy" values from SharePoint 2010 list using ECMAScript.

Introduction

In this article you will see how to get the "CreatedBy" and "ModifiedBy" values from SharePoint 2010 list using ECMAScript. I have a custom list named "CustomList" which has the following columns:


Steps Involved

1. Navigate to the SharePoint site (I have a site page created in my site where I am going to add the content editor web part). 2. Go to Site Actions, click on Edit Page.






3. Click on the Insert tab in the ribbon interface and then click on Web Part Button.






4. Select Media and Content in the Categories section and then click on Content Editor.










5. Click on Add. 6. The Content Editor web part will be added to the site page. 7. Click on the down arrow and then click on Edit Web Part.