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
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 |