UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

23 lines 1.28 kB
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps'; import { IFpsSpHttpServiceMIN } from '../../../components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN'; /** * 2025-01-03: Migrated from fps-library-v2/lib/pnpjs/Logging, postSourceItemAPI * combination of v2: saveAssistD * * This function is for automatically creating a item in our Teams' request list in SharePoint. * Initially it's fired upon completing rail functions to auto-document support incidents. * * So it's only going to execute in certain tenanats. * If you see this and want to re-purpose it, update the function to suit your needs and adjust the window.location.origin check * * Best practice is just to update your site and list Url in strings: * Or just create the site: SharePointAssist * And create the list: Assists * And add the columns listed below in the save item "requestListSite": "/sites/SharePointAssist", "requestListList": "Assists", * */ export declare function saveAssist(fpsSpService: IFpsSpHttpServiceMIN, SiteLink: string, saveTitle: string, TargetList: string, itemInfo2: string[], RichTextJSON1: any): Promise<void>; export declare const AssistSourceProps: ISourceProps; //# sourceMappingURL=saveAssist.d.ts.map