Skip to main content

Posts

Showing posts from May, 2021

"@microsoft/sp-http" that is not declared in the manifest

 Hi, I was trying to use SPFx PnP Property Pane Controls . Specially  PropertyFieldSitePicker control. When I have given reference & used it in Property configuration pane, It has given an error : Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. TECHNICAL DETAILS [SPLoaderError.loadComponentError]: Failed to load component "b023546a-e83e-48d9-b3d9-eeaa5575b5a2" (MyWebPart). Original error: The entry point for component "b023546a-e83e-48d9-b3d9-eeaa5575b5a2" (MyWebPart) has a dependency on "@microsoft/sp-http" that is not declared in the manifest. INNERERROR: The entry point for component "b023546a-e83e-48d9-b3d9-eeaa5575b5a2" (MyWebPart) has a dependency on "@microsoft/sp-http" that is not declared in the manifest. CALLSTACK: Error at t [as constructor] (https://modern.akamai.odsp.cdn.office.net/files/sp-client/sp-webpart-workbench-assembly_en-us_bb

Get all default task lists from Microsoft To Do with Microsoft Graph APIs

Hi, I was working on to get all tasks from Microsoft To Do lists.  The documentation does not say about it. But I figured out a way to get all task lists from Microsoft To Do. Here is the way : POST /me/todo/lists/Tasks/tasks POST /users/{id|userPrincipalName}/todo/lists/Tasks/tasks GET /me/todo/lists/Tasks/tasks GET /users/{id|userPrincipalName}/todo/lists/Tasks/tasks 😃