Accessing MSFT Graph modules

We want to import specific Graph modules into our code:

import { graph } from "@pnp/graph";

import "@pnp/graph/teams";

import "@pnp/graph/users";

Does Plumsail SharePoint Online Forms already incorporate these or do we need to do something to access them.

Our Use Case is that we import a Teams Transcript, run it through ChatGPT, generate a Meeting Summary and the follow-up action items and then populate & assign the action items into a SharePoint list - all by have the user click a single button.

1 Like

Dear @vhancock,
Unfortunately, we don't include all the modules in Forms. So if you need other modules/packages, you can create a separate JS-project, import all the required modules, build it and include as external JS file into the form.

Also, graph client is extensible - it allows using any endpoint without extra modules; here is an example: https://community.plumsail.com/t/get-taxonomy-field-value-label/10083/5

Hope this helps! Let me know if I can help with this further.

PS. Once you have a preview for this functionality, please, send it to my email as we’ve discussed before. We’d love to publish this to our success stories, we just need something visual to go with the story :blush:

Thank you Nikita. Not sure if there is a feature request list at Plumsail, but if there is, can I suggest that we put this into the List?

I know we load pnp.sp into the SPFx solution. Could we load pnp.graph as well?

1 Like

Dear @vhancock,
Sorry for the long wait! We do have Graph API included, check this out - Retrieve user profile information — Plumsail SharePoint Forms Documentation

We’d be happy to help further, especially if we can highlight this case for future users, just message us at support@plumsail.com or me directly at n.kurguzov@plumsail.com