Posts

Copilot & SharePoint .::. Automatische Antwort auf E-Mail anfragen

Bild
In vielen Unternehmen werden Fragen zu verschiedenen Themen per E-Mail oft an sog. Info-E-Mail Adressen versendet. Die Anfragen und die Antwort gleichen sich oftmals. D. h. hier bietet sich ein erhebliches Potenzial, um diese langwierigen Auswertungen und Beantwortungen zu automatisieren. An dieser Stelle eignet sich der Einsatz eines autonomen und automatischen Copilot Agenten, um automatisch die Anfragen zu beantworten. Auch können die empfangenen Anfragen automatisch über den Agenten in einer SharePoint Liste gespeichert werden, um alle Anfragen später leichter einsehen und verwalten zu können. Um das Zusammenspiel zu verdeutlichen, zeigt das untere Video die Umsetzung des folgenden Geschäftsprozesses: Benutzer sendet Anfrage zu Kursangeboten E-Mail wird automatisch verarbeitet und ausgewertet Anhand von Kursinformationen wird eine Antwort generiert Die Antwort mit möglichen Kursen wird an den Benutzer versendet Die Details zu der Anfrage werden in einer SharePoint Liste ges...

SPFx-Framework v1.22 - Rush Stack, Heft & Webpack-based toolchain - First try

Bild
The new SPFx-Framework v1.22 , which is currently available as BETA 5, introduces a new toolchain based on Heft. Older versions of the SPFx framework use a Gulp & Webpack-based toolchain. However, this Gulp & Webpack-based toolchain has several significant issues. Furthermore, the change to Heft aligned Microsoft's internal development practices with those of external developers, due to the fact that Microsoft already uses Heft as the toolchain for SPFX. The new refreshed toolchain contains the following tools: Rush Stack, Heft & Webpack.  In short, these tools are responsible for performing specific tasks : Rush Stack: At its core is Rush, a scalable monorepo build orchestrator that ensures deterministic package installations and builds projects in the correct order as quickly as possible. Heft: Heft is a config-driven toolchain that invokes other popular tools like TypeScript, ESLint, Jest, Webpack, and API Extractor to build web applications, Node.js services, ...

SharePoint: Übersicht über die erneuerte Benutzeroberfläche in Dokumentenbibliotheken

Bild
Die SharePoint Dokumentenbibliotheken habe eine Überarbeitung der Benutzeroberfläche erhalten, die übersichtlicher, schneller und benutzerfreundlicher ist. Diese Aktualisierungen bauen auf der vertrauten OneDrive-Benutzeroberfläche auf und unterstreichen die einzigartigen Vorteile der Dokumenten-bibliotheken in SharePoint. Diese Verbesserungen werden in Dokumentenbibliotheken eingeführt, die in SharePoint-Websites geöffnet werden. Dokumentenbibliotheken, die in Teams (im Register „Kanaldateien“) oder in der OneDrive-App geöffnet werden, sind vorerst nicht betroffen. Und falls mit stark angepassten SharePoint-Websites gearbeitet wird, die eigenen per SPFx-, Spalten- oder Anpassungen per JSON-Formatierung funktionieren weiterhin wie gewohnt und sind mit der neuen UI kompatibel. Das untere Video stellt die wesentlichen Änderungen kurz vor. Alle weiteren Informationen dazu siehe:  UX Updates, AI Actions and Forms in Document Libraries

SharePoint: Neue KI Funktion in Bibliotheken (Roadmap ID: 488297)

Bild
Für Nutzer mit einer Microsoft 365 Copilot Premium-Lizenz stehen neue KI-Aktionen in SharePoint Dokumentenbibliotheken zur Verfügung. Dabei handelt es sich um intelligente, Copilot-basierte Befehle, mit denen schnell Einblicke in eigene Dateien gewonnen werden können, ohne diese öffnen zu müssen. Zu diesen Funktionen gehören: Zusammenfassen – Erstellt eine prägnante Zusammenfassung des Dokumentinhalts. Ideal, um sich schnell einen Überblick über lange Berichte oder Angebote zu verschaffen, ohne sie komplett lesen zu müssen. Fragen stellen – Ermöglicht es eine Frage in natürlicher zu dem Dokumenteninhlat zu stellen. Zum Beispiel können folgende Fragen gestellt werden: „Welche wichtigen Daten enthält dieses Dokument?“ oder „Wer ist die Zielgruppe?“. Copilot liefert Ihnen die relevanten Informationen aus dem Text. Vergleichen – Es können zwei Dateien automatisch durch die KI verglichen werden. Unterschiede und Änderungen werden hervorgehoben, sodass ein manueller Vergleich zukü...

😱 Retired API: SP.Utilities.Utility.SendEmail - move to Microsoft Graph API

Yesterday I received a call from a (now a new 😊) customer, and he complained about a custom app (WebPart) solution. He told me that the app normally sends an email automatically after a user uses a specific function in the app. But at the moment the email is missing from the app. The customer explained to me that the IT members have checked the email settings already and the email account is working fine. I asked for the source code, and I started to debug the solution. Then I found out that the app is still using the old retired SP.Utilities.Utility.SendEmail function to send emails. I updated the email sending method within the app and implemented a Microsoft Graph-based method. For everyone who needs to send an email within an SPFx app, see the code below. static async sendEMail(receiver: string, subject: string, bodyText: string, webPartCtx: WebPartContext): Promise<void> { const sendMailMessage = { message: { subject: subject, body: { ...

Fluent UI v9 React Controls with transparent popups (background)

Bild
In a recent project, I encountered a strange issue with the Fluent UI v9 React Controls. The background from some control popups was transparent instead of filled. As an example, see the below image. The popup's background is transparent, as you can see. Fluent UI 9 popup with transparent background To solve this problem I found two possible solutions. Either you set the control property inlinePopup to "true," or you wrap your whole component in a IdPrefixProvider provided by the @fluentui/react-components package. The following code example demonstrates the using of the IdPrefixProvider. const element: React.ReactElement<IComponentPropsProps> = React.createElement( YourComponentClass, { your component properties } ); const fluentElement: React.ReactElement<ComponentProps> = React.createElement( FluentProvider, { theme: this._appMode === AppMode.Teams || this._appMode === AppMode.TeamsLocal ? this._is...

AutoComplete ComboBox with remote data (Fluent UI v9 React Components)

Bild
In a recent project I had the challenge to find a way to load data for a Fluent React UI v9 ComboBox dynamically. But due to the data amount I could not load all data at once. I had to wait after the user entered some text in the ComboBox. I had to use the the entered text as filter value for the REST call - like ?$filter=contains(...) To solve this I hooked into the "onChange" CombBox event. When the user is entering text, I use the text and call a REST endpoint to fetch the data. The following code snippets shows the main implementation: return ( <div className={styles.root}> <label id={comboId}>Account</label> <Combobox onOptionSelect={onOptionSelect} aria-labelledby={comboId} placeholder="Select a user" onChange={async (ev) => { // You can change the check of length and start later - e. g. after 3 chars if (ev.target.value.length > 0) { setQuery(ev.targe...