Skip to content

Instantly share code, notes, and snippets.

View SapphicFire's full-sized avatar

Astrid Sapphire SapphicFire

View GitHub Profile
var AdhocCollaborationGenerationUtil = Class.create();
AdhocCollaborationGenerationUtil.prototype = {
initialize: function() {
this.SIDEBAR_CHANNEL = gs.getProperty('sn_oe_sfs.sidebar_msg_channel','ea0cb816732110104a905ee515f6a7b5');
this.RECORD_CARD_JSON = JSON.parse(gs.getProperty('sn_oe_sfs.sidebar_record_obj'));
},
/**
* Creates a Sidebar conversation for a given task record, optionally adding users and groups
* @param {GlideRecord} task - Record provided for association. Should be a task/interaction or extended, but theoretically supports further