Posts

Showing posts from September, 2021

Get list item entity type full name of a SharePoint list using REST API

Image
Get list item entity type full name of a SharePoint list using REST API : Follow the below steps to get ListItemEntityTypeFullName which must required for adding/updating items/records to the server or the SharePoint list. 1) First user/developer need logged in to the SharePoint site and then copy any of below URL/API. 2) Replace the _spPageContextInfo.webAbsoluteURL or siteurl (absolute URL) with the URL of you site for example. siteurl = https://testcompany.sharepoint.com/sites/testsite1 3) and replace SharePoint ListName = Payments or you original list name 4) Finally hit or place the complete URL/API API = https://testcompany.sharepoint.com/sites/testsite1/_api/Web/Lists/getbytitle('Students')/ListItemEntityTypeFullName into the browser search bar/box and click on enter button from keyboard then you will able to see output as shown in Output below   _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('ListName')/items?select=EntityTypeFullName OR s...

Send mail using SharePoint REST API in jQuery/JavaScript:

Image
Send mail using SharePoint REST API in jQuery/JavaScript: We can able to send email to the SharePoint user using below REST API on SharePoint Online. We can able to send email to valid SharePoint user of same organization.      window.getErrorMessage = function (err, listText) {       var errorMessage = 'An error occurred. Please try again.';       console.log(err);       if (err.responseJSON != undefined && err.responseJSON.error != undefined && err.responseJSON.error.message != undefined) {         errorMessage = err.responseJSON.error.message.value;       } else {         if (err.readyState == 0) {           errorMessage = 'Your browser is not connected with target Server (or Check your internet connection).';         } else {           errorMessage = errorMessage;     ...