Migration from boolean to string value using mutations in Sanity

by Karl Solgård

Sanity [https://www.sanity.io/] has a great way to migrate data. I found myself converting a boolean property to a string in a sanity document. My boolean property acts as a feature toggle that I now want to extend to beta users. I'll do my examples as…

Slik gjør du personvernvennlig webanalyse

by Martin Smestad Hansen

Den siste tiden har det igjen blitt tatt opp til vurdering hvorvidt Google Analytics er innenfor EUs personvernregelverk. Uten å ta stilling til hverken debatten eller det juridiske, så finnes det måter du kan sikre deg en løsning som ikke er, eller kan være, i strid med reglene: 1. Ikke…

Automatiser opptak av dine Teams-møter

by Henning Sjørbotten

Hele verden møtes nå først og fremst på Teams. Det er også ofte slik at man har faste Teams-møter som det burde gjøres opptak av, men ofte glemmer man å sette i gang opptaket før langt ut i møtet. Fortvil ikke - dette kan automatiseres!…

Slik unngår du dager med back-to-back møter

by Kenneth Sætereng

Ved en liten endring i oppsettet i Outlook vil dette være enkelt å oppnå.…

Change timezone for a Linux-based Azure WebApp

by Tomas Hensrud Gulla

The time zone for a Windows-based Azure WebApp can be set using the WEBSITE_TIME_ZONE app setting. If you try the same with a Linux-based WebApp you may find yourself in trouble. Read how to do it!…

Sanity and GROQ-powered webhooks are great, but there is a bug...

by Tomas Hensrud Gulla

Sanity recently launched their GROQ-powered webhooks, and they are really powerful! But there is a bug…

Sanity and Slack integration with GROQ-powered webhooks

by Tomas Hensrud Gulla

The newly released GROQ-powered webhooks for Sanity unlock some interesting new possibilities. Use the query language GROQ to define which documents should trigger a webhook and what its payload should be. See how to post messages directly to Slack!…

Contentful: How to avoid messing up your production content using environments

by Bjarte Aune Olsen

I have a web application with a separate test and production environment. I'm changing the content model, and I want to try out this new feature in my test environment without messing up the content in production.…

Easier bulk deletion of Sanity documents, using Sanity CLI

by Tomas Hensrud Gulla

Yesterday I wrote a kind of intricate blog post on how to bulk delete Sanity documents using Sanity CLI, Notepad++ and regex [https://blog.novacare.no/bulk-deletion-of-sanity-documents-using-sanity-cli/]. My closing phrase of the blog post was. > Do you know an easier way? Luckily for me, Knut Melvær [https://twitter.com/…

Bulk deletion of Sanity documents using Sanity CLI, Notepad++ and regex

by Tomas Hensrud Gulla

Using Sanity Studio, you can delete documents one by one. What if you want to delete hundreds of documents, or you have removed the schema definition so that your documents are no longer visible in Sanity Studio?…