NGROK is a very useful developer tool for working with cloud based services, as it allows testing workflows where those services have to call back to your machine. With NGROK, you can create a temporary public address to hit an endpoint on your machine, so say, a workflow in Pipedream.com could hit a GraphQL endpoint to make content updates.
Explorations
into Sitecore and .Net
Sunday, September 3, 2023
Sunday, March 5, 2023
Command line BACPACs to Docker SQL Server instances
Wednesday, January 4, 2023
Using Postman to Authenticate to GraphQL
Sunday, September 19, 2021
Web Deploy Parameters, a first look
WebDeploy is a foundational technology for SIF, as well as Azure deployments and even Docker (where content packages need to be converted into web deploy packages to build images). I recently did some digging into the basics of WebDeploy, including how to configure parameters in projects. This short walkthrough shows how to create a web deployment package form a project, how to publish it to an IIS site, and how to add and set a custom parameter. We'll use this to set the "My Application" text in the MVC scaffold project in Visual Studio.
Saturday, February 27, 2021
Using Docker Playground to Run Solr
Recently, I wanted to run through some Solr documentation, and I wanted a clean Solr instance with demo contents. I was able to do this pretty cleanly on the Play with Docker site (requires a free Docker account).
Here are the steps:
Go to Play with Docker: https://labs.play-with-docker.com/
Click Add New Instance.
Saturday, August 29, 2020
Healthchecks and Sitecore containers
I just figured something out, and thought I'd share it. I just tried spinning up Sitecore 10 on Docker, using the XM1 configuration, and I saw I was getting this error:
ERROR: for traefik Container "5530f939e540" is unhealthy.
Friday, May 15, 2020
Using Bucket Search to find empty field values
So far, I've cleared the Related Products field on 5 of the 20 Product Detail Page items. Let's see this in the bucket query:
Okay, let's restrict to my bucketed type, to avoid the Shared Content and the Bucket folders (like "2019"). Type "tem" and tab out the autocomplete to "template"
A weird bit of UI glitchiness is you will just see "Template" (at least it's capitalized now), until you type a colon (:), then you get a little selector field with autocomplete. Select your template type:
And we get 20 results as expected.
Okay, now let's add the filter by field value. Type a "c" and tab out to "custom", then type a colon to get the field selector:
Click it again to make it a NOT condition, and now we have only those items with that field empty, and now we get 5.
And you can see in your Search log what is going to Solr. OR, AND and NOT syntax bits called out below:
That was a lot of screen shots for a pretty simple feature, but I've always found the autocomplete a little perplexing, especially the bit about having to type a colon to make the field selector logic appear, and needed to click the condition into AND mode.
Happy Sitecoring!