Skip to content

Instantly share code, notes, and snippets.

View hjaltedaniel's full-sized avatar

Hjalte Daniel Retz Johansson hjaltedaniel

View GitHub Profile
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Umbraco.Engage.Infrastructure.Analytics.Goals;
namespace UmbracoProject;
[ApiController]
[Route("api/goals")]
public class CustomGoalController(
IGoalService goalService,
{
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "DiscoveryAnswers",
"type": "object",
"properties": {
"who_is_the_prospect": {
"type": "string",
"description": "Company name and what they do"
},
"what_problem_are_they_trying_to_solve": {
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Great Demo Situation Slide",
"type": "object",
"properties": {
"customer_name": {
"type": "string",
"description": "The name of the customer or organization"
},
"job_title_industry": {
@hjaltedaniel
hjaltedaniel / languages.txt
Last active October 24, 2023 07:55
Languages on Umbraco Cloud
Afar
Afar (Djibouti)
Afar (Eritrea)
Afar (Ethiopia)
Afrikaans
Afrikaans (Namibia)
Afrikaans (South Africa)
Aghem
Aghem (Cameroon)
Akan
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Events;
using Umbraco.Core.Services;
using Umbraco.Core.Services.Implement;
using System.Net.Http;
using Umbraco.Core.Logging;
using System;
using Umbraco.Core.IO;