Monthly Archives: October 2021

Error If you are using still version 11.1 of SPFx you may fall in this error when running This is because you don’t have the right versions of Gulp and Yeomen Uninstall Install Try again

I usually use PnP JS to make my calls in a SPFx Webpart, this is a great framework, you can expand lookup fields simple and clean. The problem is you cannot use Project Fields in order to query 2 levels, let’s start with an example: In this case you are expanding Title from Workshop and Id from Participant, what about if Workshop have a relation with a City List? in this case you have to use projected fields to query a List from another List Projected Fields From Microsoft, an example I’m exploring a framework CamlJS from Andrei Markeev in order to smooth the user experience in TypeScript in a ReactJs WebPart. This framework was originally developed for JavaScript, so I ended up with some problems. First the result of the Caml Query add a perfix to the Object as you can see here $N_1 is the View and $o_1…

Read more

Wo doesn’t fall in Gulp erros, especially with: You may fall in this issue, no? Your web part will not appear in the toolbox. Please make sure “gulp serve” is running in a web part project. Please refresh the page once “gulp serve” is running. There is some workarounds to this like: Or in some especifique cases you have to delete the <homedir>/.gcb-serve-data folder but I´m going to give a live example. First of all I use PnP SPFx Yeoman generator, it’s pretty cool! Quoting This Yeoman generator provides improved governance for SharePoint Framework projects. It extends the out of the box Yeoman generator from Microsoft (@microsoft/generator-sharepoint) with recommended patterns and additional capabilities.For an optimized development workflow, it extends the capabilities for ReactJS, and Knockout projects and support for additional frameworks, such as HandlebarsJS, VueJS, Aurelia and Angular Elements. It also includes includes advanced code analysis and testing tools, which…

Read more

Today I’ll talk about some issues to add SRV valid records to my Office 365 custom domain. Microsoft say to add Service Name as _sip and Protocol as _tls Problem is Plesk automatically put the underscore ( _ ), and if you choose Relative weight for records with the same priority  to (0) Zero the SVR’s will be validated in your domain. Happy configuration 😉