This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bid:8d5dcebe-ce61-4825-969c-c9e926777516 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://developer.boxever.com/reference/overview_batch | |
# https://developer.boxever.com/reference/importing-the-batch-file | |
# order data model: https://doc.sitecore.com/cdp/en/developers/sitecore-customer-data-platform--data-model-2-1/sitecore-cdp-order-data-model-for-batch-api.html | |
# Script takes a file, client key and api secret.Name your JSON file outputFile.json, and compress into outputFile.json.gz | |
# one JSON record per line, see docs for full details on fomatting | |
import csv | |
import json | |
import uuid | |
import codecs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
allM_Asset(where: { title_eq: "Group selfie with drinks" }) { | |
total | |
results { | |
fileName | |
fileSize | |
isDraft | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript"> | |
// Define the Boxever queue | |
var _boxeverq = _boxeverq || []; | |
// Define the Boxever settings | |
var _boxever_settings = { | |
client_key: '<Replace your Clint_Key>', // Replace with your client key | |
target: 'https://api.boxever.com/v1.2', // Replace with your API target endpoint specific to your data center region |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Caching; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq.Expressions; | |
namespace Core.Foundation.Caching.CustomCaching | |
{ | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.Caching; | |
using System.Threading; | |
using System.Web; | |
namespace Core.Foundation.Caching.CustomCaching | |
{ | |
public static class MemoryCache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Core.Foundation.SitecoreExtensions.Helpers | |
{ | |
/// <summary> | |
/// Class MarketingActivityHelper. | |
/// </summary> | |
public class MarketingActivityHelper | |
{ | |
/// <summary> | |
/// Triggers the goal. | |
/// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Analytics.Data; | |
using Sitecore.Analytics.Data.Items; | |
using Sitecore.Configuration; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using Sitecore.SecurityModel; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Xml.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// *********************************************************************** | |
// Assembly : Core.Foundation.SitecoreExtensions | |
// Author : agehlot | |
// Created : 10-24-2020 | |
// | |
// Last Modified By : agehlot | |
// Last Modified On : 10-24-2020 | |
// *********************************************************************** | |
// <copyright file="HashHelper.cs" company=""> | |
// Copyright © 2019 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Web.Script.Serialization; | |
namespace Core.Foundation.Notification.Services | |
{ | |
[Service(typeof(IPushNotificationService))] |