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
import { uniqBy } from 'lodash'; | |
import { ClientOptions, SubscriptionClient } from 'subscriptions-transport-ws'; | |
export class AWSSubscriptionClient extends SubscriptionClient { | |
constructor( | |
url: string, | |
options?: ClientOptions, | |
webSocketImpl?: any, | |
webSocketProtocols?: string | string[] | |
) { |
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
// ID of record to follow | |
String recordId = '<my record id here>'; | |
// Create list of user ids | |
List<Id> userIdList = new List<Id>(); | |
// add ID of all users to list | |
userIdList.add( '<user id here>' ); | |
List<EntitySubscription> entitySubList = new List<EntitySubscription>(); |
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
<div> | |
%%[ | |
var @Id, @contactRecord, @limitRow, @firstName, @lastName | |
set @Id = RequestParameter('id') | |
set @firstName = RequestParameter('firstName') | |
if RequestParameter("submitted") == "submitted" then |