Posts

Showing posts with the label SharePoint Framework

Deploy SPFx production solution files in specific folder with in container on Azure CDN

Hi, When we creates SPFx solution and deploying the build files on Azure CDN, it deployes all the files in a container which you mentioned in "deploy-azure-storage.json" file. This is bit messi to see. Because you can deploy multiple solution on the same container. But what if you want to manage solutions by Solutions or By versions. Here is the way. I will show you how to deploy SPFx production deployment files in a specific folder in the Container on Azure CDN. First you have to deploy some gulp task packages in dev-dependencies npm install gulp-util gulp-deploy-azure-cdn --save-dev Now you need to make following changes in the "gulpfile.js" file : const deployCdn = require('gulp-deploy-azure-cdn'); const gutil = require('gulp-util'); gulp.task('deploy-azure-storage-folder', function () {   return gulp.src('temp/deploy/**/*', {}).pipe(deployCdn({       containerName: '<<Your Container Name>>', // Cont...

SharePoint Framework with the extension

Image
I tried to create SharePoint Framework with the extension provided by SharePoint PnP. It is very easy to create a SharePoint Framework Web Part in Visual Studio. Developer need to first fulfill the Pr-requisites Set up your Office 365 tenant Set up your development environment Install the extension in Visual Studio: Download the .vsix file from the repo Releases page or from the Visual Studio Extension Gallery Ensure Visual Studio is closed Double-click on the downloaded .vsix file Follow the installation prompts Restart Visual Studio when the installer has completed After installation of these pre-requisites , You will be ready to create new Web Part with SharePoint Framework. Here is simple steps to create a small web part: Open Visual Studio 2015 / 2017 & Create new project. Here you need to go to the SharePoint templates category and then select SPFx Web Part Project. You must provide sol...