While developing SharePoint solution code we require GUID of List and Columns Id.We can easily get this using below format
Custom List:
Note that this list has 2 columns
1.Title
2.Target
To view GUID for this list Navigate to list settings.
Once we Navigate to List settings we are able to see below URL. Copy Full URL from browser
https://onsps.sharepoint.com/_layouts/15/listedit.aspx?List=%7B2CB2E87A-04CD-445A-9201-4F41FD8EF9A1%7D
Replace the following characters as follows:
%7B to {
%2D to –
%7D to }
Once you replace above encoded character then list GUID will available which is {2CB2E87A-04CD-445A-9201-4F41FD8EF9A1}
To View all Columns and files inside this list change or append URL as below
https://onsps.sharepoint.com/_vti_bin/owssvr.dll?Cmd=ExportList&List=2CB2E87A-04CD-445A-9201-4F41FD8EF9A1
When we type above url it will open or download xml file which file has all information regarding list and its columns with GUID.
Here SourceID indicates GUID for List and ID indicates Column ID.