...
Code Block |
---|
language | c# |
---|
linenumbers | true |
---|
|
using FuseIT.Sitecore.SalesforceConnector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FuseIT_Demo
{
public class SitecoreSalesforceSessionSingleton : SalesforceSessionSingleton
{
private SitecoreSalesforceSessionSingleton()
: base(null, "S4SConnString")
{
}
///
/// Get the singleton instance of the Salesforce Session.
///
public static SalesforceSession SessionInstance
{
get
{
SitecoreSalesforceSessionSingleton singleton = new SitecoreSalesforceSessionSingleton();
return singleton.Instance;
}
set
{
// This is only required if you want code outside the singleton to be able to construct the session
SitecoreSalesforceSessionSingleton singleton = new SitecoreSalesforceSessionSingleton();
singleton.SetNewInstance(value);
}
}
}
} |
Next Step
Identify And Push Visitor Save ActionCongratulations, you have finished installing this option.
Steps
Child pages (Children Display) |
---|
all | true |
---|
depth | 2 |
---|
page | S4S Web Forms for Marketers (Optional) |
---|
|