Jan 24 2022 11:15 PM
Hi All,
I'm currently working on a SPFx List View Command Set extension using React. This is OnPrem (SP 2019) so using SPFx 1.4.1.
Have created a Service class for my common queries to SharePoint.
In one of the call I want to pass WebPartContext from ListViewCommandSet.ts file. When accessed from this.context I'm getting List scope which is fine but now how can I access WebPartContext either in ListViewCommandSet.ts file so I can pass it to Service or access it in Service TS file?
Any help would be appreciated.
Thanks,
Sanjay