In Contentful, the easiest way to change your content model is through the web app on app.contentful.com. This is pretty straightforward if you are doing basic changes like adding a new text field.
However, if you are planning more complex changes, migration scripts are probably the best way…
Format your groq query to get multiple queries in one request to Sanity.io.…
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!…
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.…
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,…
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 (Node…
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:…
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)…
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…
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…