Skip to content

This project implement a SPFx Function Based Components WebPart using VisioOnline JS API. It gives you some guidelines to play with Visio Online (Visio for the web) inside a SharePoint Page.

Notifications You must be signed in to change notification settings

MichelLaplane/VisioOnlineReactFunction-webpart

Repository files navigation

visio-online-react-function-webpart

This project implement a SPFx Function based WebPart using VisioOnline JS API. It gives you some guidelines to play with Visio Online (Visio for the web) inside a SharePoint Page.

What is of interest is the Function Based React component used in this WebPart, thanks to the new features available in React 16.8 version : Hooks. It allows you to use state and other React features without writing a class.

You can use it directly for creating a sharePoint Package that you can install on your M365 tenant.

You can also run it in Visual studio Code in debug mode using the Online Workbench of your M365 tenant.

Summary

Used SharePoint Framework Version

version

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

Any special pre-requisites?

Solution

Solution Author(s)
folder name Author details (name, company, twitter alias with link)
VisioOnlineReactFunction-webpart Michel Laplane (MVP Microsoft Visio) - ShareVisual @MichelLaplane

Version history

Version Date Comments
0.5.0.0 November 21, 2020 Initial
0.6.1.0 November 21, 2020 Added keyboard hook

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

Include any additional steps as needed.

Features

This project implement a SPFx Function based WebPart using VisioOnline JS API.

Notice that better pictures and documentation will increase the sample usage and the value you are providing for others. Thanks for your submissions advance.

Share your web part with others through Microsoft 365 Patterns and Practices program to get visibility and exposure. More details on the community, open-source projects and other activities from http://aka.ms/m365pnp.

References

About

This project implement a SPFx Function Based Components WebPart using VisioOnline JS API. It gives you some guidelines to play with Visio Online (Visio for the web) inside a SharePoint Page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published