Multiple queries in Sanity with one request

by Magnus Sigvartsen

Format your groq query to get multiple queries in one request to Sanity.io.…

Personvernvennlig bildeopplasting

by Tomas Hensrud Gulla

Den siste tiden har det vært mye fokus på personvern. Google Analytics er muligens ulovlig, cookies bør ikke brukes uten samtykke, og ting som GDPR og Schrems II har nærmest blitt en del av dagligtalen. Man bør generelt være varsom i sin omgang med personopplysninger!…

Group Sanity fields in tabs

by Tomas Hensrud Gulla

Not too long ago Sanity launched what they call field groups. Field groups are exactly what it sounds like, the option to group a bunch of fields.…

How to set/change port number for a project using IIS Express in Visual Studio

by Henning Sjørbotten

For running projects locally through Visual Studio and IIS Express, your URL will be something like http://localhost:9257/. As a developer, you probably often have many different projects on your machine, and using the same port number on the projects could cause problems. So if this is the case,…

Use NVM to handle different Node versions

by Jørgen Ringstad

If you're like me, and switch a lot between different projects, you've most likely run across problems with Node.js versions when building the frontend. That's a problem we can solve rather easily with NVM. But first things first, what is NVM? NVM [https:…

Filtering an array for specific types with GROQ

by Magnus Sigvartsen

In Sanity, you can have arrays that contain different objects. But what if we want to filter out the specific types inside the array when we run a query? A problem I came across was how to map the different Sanity objects to .NET objects based on their type. Disclaimer:…

Get your Optimizely Content Cloud developer certification for free!

by Tomas Hensrud Gulla

The Optimizely Content Cloud (previously Episerver CMS) developer certification is only valid for two years, and the renewal costs €260 (2780 NOK). Peanuts, maybe - but you could get it for free! Currently Optimizely certified If you are currently certified, you could apply for the Optimizely Subject Matter Expert (SME)…

Format fields with more columns in Sanity with fieldsets

by Magnus Sigvartsen

When creating new fields in Sanity, they take up the full width of the editor interface. But if we have a lot of fields that require a short length, we get a lot of unused space. It can also get a bit annoying for an editor to have to scroll…

Optimizely Content Delivery API - getting started smoothly!

by Tomas Hensrud Gulla

The Optimizely Content Delivery API [https://world.optimizely.com/documentation/developer-guides/content-delivery-api/] adds headless capabilities to your traditional Optimizely Content Cloud CMS, making it a hybrid CMS. The best of both worlds, you might say. The documentation [https://world.optimizely.com/documentation/developer-guides/content-delivery-api/] is quite good, so I just…

VUE UI - A graphical interface to control your Frontend application.

by Torger Angeltveit

Vue UI makes it effortless to set up a Vue frontend project with webpack. It should take no longer than 5 minutes to set up a frontend build system with your preferred settings. Let's go through the necessary steps in order to set up a new Vue project…