This file contains 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; | |
using Sitecore.Diagnostics; | |
using Sitecore.Jobs; | |
using Sitecore.Security.Accounts; | |
using Sitecore.WFFM.Abstractions.Analytics; | |
using Sitecore.WFFM.Abstractions.Data; | |
using Sitecore.WFFM.Abstractions.Dependencies; | |
using Sitecore.WFFM.Services.Pipelines; | |
using Sitecore.WFFM.Speak.ViewModel; | |
using System; |
This file contains 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.Data; | |
using Sitecore.Diagnostics; | |
using Sitecore.WFFM.Abstractions.Actions; | |
using Sitecore.WFFM.Abstractions.Analytics; | |
using Sitecore.WFFM.Abstractions.Dependencies; | |
using Sitecore.WFFM.Actions.Base; | |
using Sitecore.WFFM.Analytics.Providers; | |
using System; | |
using System.Collections.Generic; | |
using System.Web; |
This file contains 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.Diagnostics; | |
using Sitecore.WFFM.Abstractions.Analytics; | |
using Sitecore.WFFM.Abstractions.Shared; | |
using Sitecore.WFFM.Analytics.Providers; | |
using System; | |
using System.Collections.Generic; | |
using System.Web; | |
namespace Website.WFFM.Providers | |
{ |
This file contains 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
<%@ Page Language="c#" Debug="true" Async="true" %> | |
<%@ Import Namespace="System" %> | |
<%@ Import Namespace="System.Collections.Generic" %> | |
<%@ Import Namespace="System.Web" %> | |
<%@ Import Namespace="System.Net" %> | |
<%@ Import Namespace="System.Configuration" %> | |
<%@ Import Namespace="System.IO" %> | |
<%@ Import Namespace="Sitecore.Data.Items" %> | |
<%@ Import Namespace="Sitecore.Links" %> |
This file contains 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
public class XMLElementValueAccessorConverter : ValueAccessorConverter | |
{ | |
//the id from the value accessor template you created named XML Element Value Accessor. | |
private static readonly Guid TemplateId = Guid.Parse("{9B88A6C5-C38E-4A41-9798-17AC92F3BD20}"); | |
public XMLElementValueAccessorConverter(IItemModelRepository repository) : base(repository) | |
{ | |
this.SupportedTemplateIds.Add(TemplateId); | |
} |
This file contains 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
public class XMLElementValueReader : IValueReader | |
{ | |
public readonly string ElementName; | |
public XMLElementValueReader(string elementName) | |
{ | |
this.ElementName = elementName; | |
} | |
public CanReadResult CanRead(object source, DataAccessContext context) |
This file contains 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
public class XMLElementValueAccessorItemModel | |
{ | |
public const string ElementName = "ElementName"; | |
} |
This file contains 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
[RequiredEndpointPlugins(typeof(XMLSystemSettings))] | |
public class ReadXMLDataStepProcessor : BaseReadDataStepProcessor | |
{ | |
public ReadXMLDataStepProcessor() | |
{ | |
} | |
protected override void ReadData( | |
Endpoint endpoint, | |
PipelineStep pipelineStep, |
This file contains 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
public class ReadXMLDataStepConverter : BasePipelineStepConverter<ItemModel> | |
{ | |
// the id from the pipeline step template you created named Read XML Data Pipeline Step. | |
private static readonly Guid TemplateId = Guid.Parse("{00191A02-F1B4-406C-B3CB-60568CCDD6D3}"); | |
public ReadXMLDataStepConverter(IItemModelRepository repository) : base(repository) | |
{ | |
this.SupportedTemplateIds.Add(TemplateId); | |
} | |
protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep) | |
{ |
This file contains 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
public class ReadXMLDataStepItemModel : ItemModel | |
{ | |
public const string EndpointFrom = "EndpointFrom"; | |
} |
NewerOlder