commit
b40e79365e
|
@ -23,18 +23,16 @@ To change the profile or to use your own API follow the below path
|
|||
![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg)
|
||||
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-green.svg)
|
||||
|
||||
|
||||
## Used SharePoint Framework Version
|
||||
|
||||
![SPFx 1.16.1](https://img.shields.io/badge/SPFx-1.16.1-green.svg)
|
||||
|
||||
## Applies to
|
||||
|
||||
- [PnPjs V3](https://pnp.github.io/pnpjs/)
|
||||
- [SharePoint Framework](https://aka.ms/spfx)
|
||||
- [Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
|
||||
* [SharePoint Framework](https://learn.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||||
* [Microsoft 365 tenant](https://learn.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
||||
|
||||
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)
|
||||
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/m365devprogram)
|
||||
|
||||
## Contributors
|
||||
|
||||
|
@ -45,6 +43,8 @@ To change the profile or to use your own API follow the below path
|
|||
| Version | Date | Comments |
|
||||
| ------- | ---------------- | --------------- |
|
||||
| 1.0 | March 07, 2023 | Initial release |
|
||||
| 1.1 | May 16, 2023 | Minor update |
|
||||
|
||||
|
||||
## Minimal path to awesome
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ export const getSP = (context?: WebPartContext): SPFI => {
|
|||
|
||||
).using(spSPFx(context)).using().using(PnPLogging(LogLevel.Warning));
|
||||
// );
|
||||
// context.aadHttpClientFactory= new AdalClient("c87e47c6-5554-41a0-86b6-d92a11dfc8b9","fb6f17d5-3625-4013-8cd0-13d6ed4ba991","https://isbsharepointtest.sharepoint.com/sites/Test-Syntex-Document-Processor");
|
||||
// _SpHttpClient =context.spHttpClient;
|
||||
|
||||
}
|
||||
|
@ -36,11 +35,7 @@ export const getSP = (context?: WebPartContext): SPFI => {
|
|||
|
||||
export const getGraph = (context?: WebPartContext): GraphFI => {
|
||||
|
||||
// _sp = spfi().using(SPFx(context)).using(PnPLogging(LogLevel.Warning));
|
||||
|
||||
// _sp = spfi().using(SPFx(context)).using(PnPLogging(LogLevel.Warning));
|
||||
// _sp = spfi().using(SPFx(context)).using(PnPLogging(LogLevel.Warning));
|
||||
// _sp = spfi().using(SPFx(context)).using(PnPLogging(LogLevel.Warning));
|
||||
|
||||
if (context !== null) {
|
||||
_graph = graphfi().using(graphSPFx(context)).using(DefaultHeaders());
|
||||
}
|
||||
|
@ -61,4 +56,4 @@ export const getAdalClient =(context?: WebPartContext):any=>{
|
|||
|
||||
}
|
||||
return _adalClient;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue