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 Microsoft.AspNetCore.Mvc; | |
| using Umbraco.Cms.Core.Services; | |
| using MimeKit; | |
| using Umbraco.Cms.Core.Models; | |
| using Umbraco.Cms.Core.IO; | |
| namespace UmbracoProject.Controllers | |
| { | |
| public class SecureMediaController : Controller | |
| { |
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
| # authored @alirobe for @sopewebtech 2022-06-17 | |
| # pnp-list-copy.ps1 : https://gist.githubusercontent.com/alirobe/4187b0f073dc2eba5207f312a01ddab6/ | |
| # this copies list values from source to target | |
| # before using this script, create a new list 'from existing list' in the same site | |
| # then, plug values in below and run. should work for most field types. any issues let me know. | |
| # todo: add batching, add field types | |
| # licensed under GPL V2 | |
| $Site = "https://notproduction.sharepoint.com/sites/not-sproket-4/" |
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 Microsoft.Extensions.Logging; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| using System.Dynamic; | |
| using System.Net; | |
| using System.Net.Http.Headers; | |
| using System.Runtime.CompilerServices; | |
| using System.Text; | |
| using Umbraco.Cms.Core.Models.PublishedContent; |
OlderNewer