Configuration parameters
Discover the configuration parameters within Beefree SDK.
Passing Configurations to Beefree SDK
var beeConfig = {
uid: 'CmsUserName', // [mandatory]
container: 'bee-plugin-container', // [mandatory]
autosave: 30, // [optional, default:false]
language: 'en-US', // [optional, default:'en-US']
trackChanges: true, // [optional, default: false]
specialLinks: specialLinks, // [optional, default:[]]
mergeTags: mergeTags, // [optional, default:[]]
mergeContents: mergeContents, // [optional, default:[]]
preventClose: false, // [optional, default:false]
editorFonts : {}, // [optional, default: see description]
contentDialog : {}, // [optional, default: see description]
defaultForm : {}, // [optional, default: {}]
roleHash : "", // [optional, default: ""]
rowDisplayConditions : {}, // [optional, default: {}]
rowsConfiguration: {},
workspace: { // [optional, default: {type : 'default'}]
editSingleRow: false // [optional, default: false]},
},
commenting: false, // [optional, default: false]}
commentingThreadPreview: true, // [optional, default: true]}
commentingNotifications: true, // [optional, default: true]}
disableLinkSanitize: true, // [optional, default: false]}
loadingSpinnerDisableOnSave: false, // [optional, default: false]}
loadingSpinnerDisableOnDialog: true, // [optional, default: false]}
maxRowsDisplayed: 35, // // [optional, set this to any number to define the maximum number of rows that a category should display]}
onSave: function(jsonFile, htmlFile) { /* Implements function for save */ }, // [optional]
onChange: function(jsonFile, response) { /* Implements function for change */ }, // [optional]
onSaveAsTemplate: function(jsonFile) { /* Implements function for save as template (only JSON file) */ }, // [optional]
onAutoSave: function(jsonFile) { /* Implements function for auto save */ }, // [optional]
onSend: function(htmlFile) { /* Implements function to send the message */ }, // [optional]
onLoad: function(jsonFile) { /* Implements function to perform an action once the template is loaded */}, // [optional]
onError: function(errorMessage) { /* Implements function to handle error messages */ }, // [optional]
onWarning: function(alertMessage) { /* Implements function to handle error messages */ }, // [optional]
translations: {
'bee-common-widget-bar': {
content: 'MODULES',
},
// additional translations...
},
// other properties...
};Parameters
Parameter
Description
Default
Language Parameter
Language
4-letter language identifier (e.g. “en-US”, ISO 639-1 format)
Parameters
Parameter
Description
Default
Last updated
Was this helpful?

