How to fix SP.Data.ListItem in Power Automate or Rest api
This post is about a common bug in power automate or Rest Api "SP.Data.Test2ListItem".
To get the correct ListItemEntityTypeFullName or Term type of your SharePoint list then you can use the below JS function.
Code: function getTermTypeofSPList(listName) { console.log(_spPageContextInfo.siteAbsoluteUrl + "/_api/web/lists/getbytitle ('"+listName+"')?$select=ListItemEntityTypeFullName") }
getTermTypeofSPList('Your list name')
Steps to use It:
- Open your SharePoint site.
- Open developer tool by pressing F12.
- Navigate to the Console tab.
- Paste the above code.
NOTE: Use your list name before calling the function as shown in the above script.
Watch Video: https://youtu.be/BzU11NBY0Xc
Thank you!
Watch Video: https://youtu.be/BzU11NBY0Xc
Thank you!
Comments
Post a Comment