Hi There,
As per one of the requirement, I need to upload one file on share point directory from my Custom PCF control which is a part of Power pages.
Current implementation: I already have one Unbound Custom API which uploads file on SharePoint and it is working as expected when I use it from PCF which is a part of CRM.
Issue:
WhenI use same code on Power pages, It is not working.
Solution I tried:
1. I tried to to call Custom API with JS Fetch method with providing required payload and permission in site settings but I am gettgin following error.
400 Bad request
2. I tried to create a Bound Custom API with opportunity table but then getting following error.
{
"code": "90040100",
"message": "Attribute {0} cannot be found for table {1}."
}