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!

Comments

Popular posts from this blog

Power Apps June 2023 Updates (Canvas App Focused)

Effortlessly Import JSON Data into SharePoint with Power Automate Flow: A Step-by-Step Guide

Unleash the Power of Power Apps: Retrieve Over 2000 Records from a SharePoint List Effortlessly Without Delegates