Collaborative Document Editing Custom Variables

There are a number of system variables that must be set prior to using Collaborative Document Editing. These variables will be described in detail in this section These system variables are also dependent, so the order in which they are placed in the custom variables file is important. The correct order of the variable declarations is given below:

bp.Vars.DocumentServer = "onlyoffice.bplogix.net";
bp.Vars.DocumentServerScheme = "http";
bp.Vars.DocServiceAPI = string.Format("{0}://{1}/web-apps/apps/api/documents/api.js", Vars.DocumentServerScheme , bp.Vars.DocumentServer);
bp.Vars.DocServicePreloader = string.Format("{0}://{1}/web-apps/apps/api/documents/cache-scripts.html",
    bp.Vars.DocumentServerScheme , Vars.DocumentServer);
bp.Vars.DocServiceConverter = string.Format("{0}://{1}/ConvertService.ashx",
    bp.Vars.DocumentServerScheme, Vars.DocumentServer);

The individual variables are listed below.