New answers tagged

0

We were also facing the same issue while creating SharePoint Framework web parts on our virtual machines(I guess because of proxy). In order to create the web part your machine should have internet access as it loads so many files from internet. Also you need to have the access to GitHub and npm-registry as it loads files from there. And the error cannot ...


0

Well, the best option that I can think of now is to use react-router's history.listen(location => () => locationChangeHandler(location)), works perfectly in React app, although haven't tried with SPFx yet


0

I would try something like: In myWebpart constructor: localStorage.getItem('location') === window.location.href ? "do nothing" : "aha, navigation occurred !" save window.location.href in localStorage as 'location' // every time


1

Try to use SPComponentLoader: import { SPComponentLoader } from '@microsoft/sp-loader'; Now you can load your external script inside render() method (or somewhere else), like this: SPComponentLoader.loadScript('https://code.jquery.com/jquery-2.2.4.min.js', { globalExportsName: 'jQuery' }).then(($: any) => { $(function() { console.log('...


0

Mateusz, I couldn't test the code below, but this is how I would approach it: interface Window { userDetails: IUserDetails; } declare var window: Window; interface IUserDetails { displayName: string; email: string; loginName: string; } Then use the Window object as follows: Window.userDetails = { displayName: this.context....


1

There are no options to modify forms in modern experience other than PowerApps or Plumsail Forms so far. I'm a developer of the second tool and can say that it provides a lot of customization features - you can adjust your form with CSS, develop own controls and fields with JavaScript in a similar way to JSLink. Also, it has several advanced controls e.g. ...


0

Here is the link that should work for you: https://www.c-sharpcorner.com/article/retrieve-sharepoint-list-items-using-sharepoint-framework-development-model/ Regards, Chandani Prajapati


5

Very interesting question.. let us first understand the background of what is all 3 about. MSFlow - To Automate a business process we generally use workflows. Ms flow are alternative to workflows. Before MS flow, Sharepoint designer workflow was used for simple things but for complex things you had to rely on custom workflow(visual studio) or any third ...


Top 50 recent answers are included