In my previous post I described how it is possible to host static HTML pages on SharePoint Online by allowing Custom Scripts. After doing so, I wanted to access MS Graph in order to tap into the ever growing data it holds. I had a hard time finding a solution that would allow accessing MS […]
Author: admin
Host static HTML page on SharePoint Online
Coming from SharePoint On Premise I have been used to use SharePoint as a host for simple HTML and JS pages. Usually I created a Document Library or Custom List, then browsed to the created folder via webdav and uploaded the files. On SharePoint Online however, I had a hard time getting this to work. […]
Upgrading NPM on Windows
I recently had to update the NPM version on my laptop to a never version (because I wanted to use NPX – for avoiding globally installing and updating create-react-app). I started by downloading the latest LTS version of Node (which at the time of writing includes NPM version 5.6.0). Ran the installer and found Node to […]
SharePoint Online Management Shell – Current site is not a tenant administration site
I run into this error from time to time. it occurs when connecting via Connect-SPOService and entering the URL for the actual site instead of the one for the SharePoint Online Administration Center. Solution: Append “-admin” to the first part of the URL as in the following example. URL for the site: https://example.sharepoint.com URL for the […]
Do I still need to support Internet Explorer?
I have been wanting to get some practical experience with CSS Grid for some time, and therefore decided to use it for my blog layout. After going through the videos by Wes Bos at cssgrid.io, I felt ready and spent a days time setting up the layout for my blog – completely ignoring any tests […]
Completing my Path at OpenClassrooms
I have for the last year been studying the Front-end Developer Path at OpenClassrooms. 2 days ago I got the last project approved and yesterday it was submitted to be judged by an academic jury. I’m now waiting for the jury’s feedback (which I should receive by June) and thought that now would be a […]
Use Array some() instead of forEach() if a break out is needed
When iterating an array with a need to break out at some point, I have always used the good old for loop instead of some other Array iteration variant. This is mainly due to the fact that .forEach() does not have a break out option – forcing the entire array to be iterated. But… while […]
Visual Studio – Single click open files in preview
I find it annoying that Visual Studio on file selection (single click) open the file in preview. This can be changed in the Options at Tools > Options > Environment > Tabs and Windows > Preview Tab
Git – Pushing existing files to a new empty repository
After having created an empty github repository, run the following commands in the directory which content you wish to push. git init git add –all git commit -m “Initial Commit” git remote add origin https://url-to-repository.git git push -u origin master
Google Maps and React Rendering gotcha
While working on Project #7 in the openclassrooms Front-end developer path I hit a bug that I had a really hard time solving and my mentor, Mike Preble, made me promise to share the experience – so here we go. The Project requires that Google Maps is used in combination with React. In order to […]