Skip to content

Instantly share code, notes, and snippets.

@gillissm
Last active February 10, 2016 21:19
Show Gist options
  • Save gillissm/129ec65813f09ebd183b to your computer and use it in GitHub Desktop.
Save gillissm/129ec65813f09ebd183b to your computer and use it in GitHub Desktop.
Custom Web Forms for Marketers Action Setup
//Step 1:Using Statements
using Sitecore.Analytics;
using Sitecore.Analytics.Model.Entities;
using Sitecore.Diagnostics;
using Sitecore.Forms.Core.Rules;
using System.Linq;
//Step 2: Basic Code Structure
namespace TheCodeAttic.SharedSource.WFFM.PopulateFieldAction
{
public class GetContactFacetValue<T> : ReadValue<T> where T : ConditionalRuleContext
{
protected override object GetValue()
{
string retValue = string.Empty;
return (object)retValue;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment