new Render()
- Description:
UI Rendering tool
Methods
alert(params)
- Description:
Alert dialog box
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
backendException(msg)
- Description:
Back-end exception
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Object | Array | Simple text or |
backendMessage(msg, toast, title)
- Description:
Back-end message(s)
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Object | Array | Plain text / encoded message |
toast |
boolean | True to display a toast instead a dialog box |
title |
string | Optional title |
backendMessages(msg)
- Description:
Back-end messages in a single dialog
Parameters:
Name | Type | Description |
---|---|---|
msg |
Object | Array of backend messages per rowId |
confirm(params)
- Description:
Confirm dialog box
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
createObjectDialog(ctn, obj, cbk)
- Description:
Create an object in a dialog
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container |
obj |
string | Simplicite.Ajax.BusinessObject | Object |
cbk |
function | Callback with the created object |
createReference(ctn, obj, ref, index)
- Description:
Create an object in a dialog to populate a reference
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container to populate |
obj |
string | Simplicite.Ajax.BusinessObject | Object |
ref |
string | Simplicite.Ajax.ObjectField | Referenced field or FK itself |
index |
string | Optional row index (edit list) |
datamapCompletion(ctn, obj, field, index, sel, disp)
- Description:
Datamap completion
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | Container |
obj |
Simplicite.Ajax.BusinessObject | Object |
field |
string | Simplicite.Ajax.ObjectField | Referenced field |
index |
string | Optional row index (edit list) |
sel |
function | Optional select item callback(item) |
disp |
function | Optional display item callback(item, ref) |
displayAssociate(ctn, obj, def)
- Description:
Bulk association between objects
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Parent container |
|||||||||||||||
obj |
Simplicite.Ajax.BusinessObject | Object from panel instance |
|||||||||||||||
def |
Object | Associate definition Properties
|
displayBookmarks(ctn, options)
- Description:
Display the bookmarks
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container |
options |
Object |
|
displayCalendar(ctn, obj, agenda, params, cbk)
- Description:
Calendar rendering
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business object |
agenda |
string | Agenda name |
params |
Object | Options |
cbk |
function | Optional callback |
displayColorPicker(ctn, input, dropdown, cbk)
- Description:
Color picker
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
input |
string | jQuery | Element to receive selected color as |
dropdown |
boolean | Displays as dropdown or dialog box |
cbk |
function | Optional callback(color,valid) |
displayCompletion(ctn, obj, field, index, req, cbk, ctx)
- Description:
Field completion on field
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Object or name |
field |
string | Simplicite.Ajax.ObjectField | Field or name |
index |
string | Optional row index (edit list) |
req |
string | User request |
cbk |
function | Callback with search result |
ctx |
number | Optional context CONTEXT_SEARCH or UPDATE |
displayCrosstab(ctn, obj, name, options, cbk)
- Description:
Crosstab
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||
obj |
string | Simplicite.Ajax.BusinessObject | Name or Object |
||||||||||||
name |
string | Crosstab name |
||||||||||||
options |
Object | Options Properties
|
||||||||||||
cbk |
function | Optional callback |
displayEditor(ctn, options, cbk)
- Description:
Code editor
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | Container |
options |
Object | Optional parameters |
cbk |
function | Optional callback |
displayExport(ctn, obj, rowId)
- Description:
Display the export dialog and get exported data
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | Container |
obj |
Simplicite.Ajax.BusinessObject | Object or name |
rowId |
string | Optional row ID to export only one record |
displayFeedback()
- Description:
User feedback
displayForm(ctn, obj, rowId, options, cbk)
- Description:
Build a form with the object item
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Target container |
obj |
string | Simplicite.Ajax.BusinessObject | Object |
rowId |
string | Row ID to get |
options |
Simplicite.UI.Globals.form | Options to override globals |
cbk |
function | Optional callback(obj, params) |
displayGantt(ctn, obj, ts, options, cbk)
- Description:
Gantt diagram based on timesheet data
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Assignment object |
ts |
String | Timesheet name |
options |
Object | Options |
cbk |
function | Optional callback |
displayHelp(ctn, obj)
- Description:
Object help: call the help service and open a dialog
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container |
obj |
Simplicite.Ajax.BusinessObject | Object |
displayHome(ctn, options, cbk)
- Description:
Home page
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
options |
Object | Options |
cbk |
function | Optional callback |
displayImportCSV(ctn)
- Description:
Manage import CSV thru UI
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container |
displayImportXML(ctn)
- Description:
Manage import XML thru UI
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container |
displayIndex(ctn, options, cbk)
- Description:
Index search form
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||||||||
options |
Object | Options Properties
|
||||||||||||||||||
cbk |
function | Optional callback |
displayIndexSearch(ctn, req, options, cbk)
- Description:
Index search result
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
req |
string | User request (see Simplicite.Ajax.indexsearch service) |
options |
Object | Options |
cbk |
function | Optional callback |
displayIndexSearchDocs(ctn, req, list, options)
- Description:
Index search in documents
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container for result |
req |
string | User request |
list |
Array.<string> | Array of objects with documents |
options |
Object | Options |
displayIndexSearchDomain(ctn, domain, filter, all, options)
- Description:
Index search in domain
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container for result |
domain |
string | Domain name |
filter |
string | Optional filter |
all |
boolean | False to limit search to objects updated by the user |
options |
Object | Options |
displayIndexSearchSession(ctn)
- Description:
Session index
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container for result |
displayInlinedForm(ctn, o, params)
- Description:
Display form of inlined link (cardinlity 0,1 or 1,1 with inline rendering)
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
|||||||||||||||
o |
Simplicite.Ajax.BusinessObject | object |
|||||||||||||||
params |
Simplicite.UI.Globals.list | Reference data Properties
|
displayList(ctn, obj, options, cbk)
- Description:
Build a list with the object search
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Target container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business Object |
options |
Simplicite.UI.Globals.list | Options to override Globals |
cbk |
function | Optional callback |
displayLogs(ctn, {string, {string)
- Description:
Show server logs thru web-socket. Useful when UI has no console.
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container to split (default is #work) |
{string |
action |
|
{string |
pos Optional position |
displayMentions(ctn, options)
- Description:
Display the resource MENTIONS
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container (dialog if unset) |
options |
Object | dialog options |
displayMerge(ctn, obj, options, cbk)
- Description:
Merge object
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||
obj |
Simplicite.Ajax.BusinessObject | Object with merge access |
||||||
options |
Object | Options Properties
|
||||||
cbk |
function | Optional callback |
displayModeler(ctn, modelId, options)
- Description:
Load and display the modeler
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
modelId |
string | Model row ID |
options |
Object | Options |
displayModuleDelete(ctn, moduleId)
- Description:
Display the delete module screen
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
moduleId |
string | module row Id |
displayMonitoring(params, cbk)
- Description:
UI Monitoring
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Options Properties
|
|||||||||
cbk |
function | Optional callback |
displayPlaceMap(ctn, params, cbk)
- Description:
Placemap service
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container to append the map |
params |
Object | Static image |
cbk |
function | Optional callback when the map is loaded |
displayPreferences(ctn, obj)
- Description:
Object preferences
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business Object |
displayPrint(ctn, name, obj, rowId, cbk)
- Description:
Display a print/publication
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container (_blank if null) |
name |
string | Print name |
obj |
Simplicite.Ajax.BusinessObject | Object |
rowId |
string | Optional row ID |
cbk |
function | Optional callback |
displayReferenceList(ctn, obj, params)
- Description:
Display referenced object as panel list, inlined form or pillbox
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||
obj |
string | Simplicite.Ajax.BusinessObject | Referenced object or name |
||||||||||||
params |
Simplicite.UI.Globals.list | List options + parent object + link metadata Properties
|
displayReferencePillbox(ctn, o, params)
- Description:
Display references in a pillbox control
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
|||||||||||||||
o |
Simplicite.Ajax.BusinessObject | N,N object |
|||||||||||||||
params |
Simplicite.UI.Globals.list | Reference data Properties
|
displayRow(ctn, elt, obj, rowId, options, cbk)
- Description:
Build a record of list
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Nav container |
elt |
string | jQuery | row container (tr or div) |
obj |
Simplicite.Ajax.BusinessObject | Object |
rowId |
string | Object row Id |
options |
Simplicite.UI.Globals.list | List options to override global row options |
cbk |
function | Optional callback to chain something |
displaySearch(ctn, obj, options, cbk)
- Description:
Search form
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business Object |
options |
Simplicite.UI.Globals.search | Options to override Globals |
cbk |
function | Optional callback |
displaySocial(ctn, options, cbk)
- Description:
Displays social posts
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||||||||||||||||||||
options |
Object | Social options Properties
|
||||||||||||||||||||||||||||||
cbk |
function | Optional callback |
displayStatusMetrics(ctn, obj, params, cbk)
- Description:
Status metrics
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||||||||||||||||||||||||||||||||||||||
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business object |
||||||||||||||||||||||||||||||||||||||||||||||||
params |
Object | Options Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||
cbk |
function | Optional callback |
displaySummary(ctn, obj, rowId, options, cbk)
- Description:
Object summary
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
|||||||||||||||||||||||||||||||||
obj |
string | Simplicite.Ajax.BusinessObject | Object |
|||||||||||||||||||||||||||||||||
rowId |
string | Object row ID |
|||||||||||||||||||||||||||||||||
options |
Object | Optional parameters Properties
|
|||||||||||||||||||||||||||||||||
cbk |
function | Callback to chain |
displaySysInfos(ctn, options)
- Description:
System informations
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
options |
Object | Options |
displayTemplate(ctn, obj, rowId)
- Description:
Template editor
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | ObjectInternal or View |
rowId |
string | Object/view ID |
displayTheme(rowId, options)
- Description:
Theme editor
Parameters:
Name | Type | Description |
---|---|---|
rowId |
String | Theme row Id |
options |
Object | Options |
displayTimesheet(ctn, obj, rowId, ts, options, cbk)
- Description:
Timesheet of object
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Resource object 1 or 2, or panel instance of assign object |
rowId |
String | Optional resource row ID |
ts |
String | Timesheet name |
options |
Object | Options |
cbk |
function | Optional callback |
displayTray(ctn, obj, field, options, cbk)
- Description:
Trays based on a state model
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business object |
field |
string | Optional enum name (default is the status field) |
options |
Object | Optional parameters |
cbk |
function | Optional callback |
displayTreeView(ctn, obj, rowId, name, options, cbk)
- Description:
Display a tree view
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Optional container |
||||||||||||||||||||||||||||||
obj |
Simplicite.Ajax.BusinessObject | Root object |
||||||||||||||||||||||||||||||
rowId |
string | Row ID of the record |
||||||||||||||||||||||||||||||
name |
string | Treeview name |
||||||||||||||||||||||||||||||
options |
Object | Optional parameters Properties
|
||||||||||||||||||||||||||||||
cbk |
function | Optional callback |
displayUpdateForm(ctn, obj, options, cbk)
- Description:
Build a form for bulk update
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Target container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or BusinessObject |
options |
Object | See Globals.form |
cbk |
function | Optional callback |
displayUserFilters(ctn, options)
- Description:
Display the user filters: date range and fields
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Optional container (dialog if null) |
options |
Object | Options |
displayView(ctn, view, options, cbk)
- Description:
Display a view
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container |
||||||||||||||||||||||||
view |
string | Object | View definition or name |
||||||||||||||||||||||||
options |
Object | View options Properties
|
||||||||||||||||||||||||
cbk |
function | Optional callback |
displayWebNews(ctn, options)
- Description:
Display the web news (user needs read access to WebNews)
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Container (in a dialog if undefined) |
|||||||||||||||
options |
Object | Optional parameters Properties
|
displayWorkflow(ctn, wkf, action, options, cbk)
- Description:
Workflow wrapper
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Container |
wkf |
string | Simplicite.Ajax.BusinessProcess | Business process or name |
action |
string | Action |
options |
Object | Optional activity |
cbk |
function | Optional callback |
error(msg)
- Description:
Error dialog box
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Content |
fkCompletion(ctn, obj, field, index, sel, disp)
- Description:
Foreign-key completion
Parameters:
Name | Type | Description |
---|---|---|
ctn |
jQuery | Container |
obj |
Simplicite.Ajax.BusinessObject | Object |
field |
string | Simplicite.Ajax.ObjectField | Referenced field |
index |
string | Optional row index (edit list) |
sel |
function | Optional select item callback(item) |
disp |
function | Optional display item callback(item, ref) |
info(msg)
- Description:
Information dialog box
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Content |
openForm(ctn, obj, rowId)
- Description:
Open object form: default displayForm with nav add
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Target container |
obj |
string | Simplicite.Ajax.BusinessObject | Name or Business Object |
rowId |
string | Referenced row ID |
prompt(params)
- Description:
Prompt dialog box
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
resetDatamap(ctn, obj, field, index, cbk)
- Description:
Reset datamap fields
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container of referenced fields to set |
obj |
Simplicite.Ajax.BusinessObject | Object |
field |
Simplicite.Ajax.ObjectField | Mapped field |
index |
string | Optional row index (edit list) |
cbk |
function | Optional callback to override fields change |
selectDatamap(ctn, obj, field, index, cbk, reset)
- Description:
Object datamap picker: default open a popup to select data
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container of referenced fields to set |
obj |
Simplicite.Ajax.BusinessObject | Object |
field |
Simplicite.Ajax.ObjectField | Mapped field |
index |
string | Optional row index (edit list) |
cbk |
function | Optional callback to override fields change |
reset |
boolean | True to only reset all datamap fields |
selectMetaObject(ctn, obj, field, index)
- Description:
Meta-object picker: default open a popup to select a reference
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container of referenced fields to set |
obj |
string | Simplicite.Ajax.BusinessObject | Object |
field |
string | Simplicite.Ajax.ObjectField | Field of meta-object to select |
index |
string | Optional row index (edit list) |
selectObject(ctn, obj, options, cbk)
- Description:
Object picker: default open a popup to select object(s) (used by pillbox, modeler, associate and merge)
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctn |
string | jQuery | Parent container |
||||||||||||
obj |
string | Simplicite.Ajax.BusinessObject | Object name or business object |
||||||||||||
options |
Object | List additive options Properties
|
||||||||||||
cbk |
function | Callback(obj, id or array of ids) called on selection |
selectReference(ctn, obj, ref, refField, index, cbk, userKeys)
- Description:
Object reference picker: default open a popup to select a reference
Parameters:
Name | Type | Description |
---|---|---|
ctn |
string | jQuery | Parent container of referenced fields to set |
obj |
Simplicite.Ajax.BusinessObject | Object |
ref |
string | Simplicite.Ajax.BusinessObject | Referenced object name or business object (list popup) |
refField |
string | Simplicite.Ajax.ObjectField | Foreign key (or meta object) field to select (name or field) |
index |
string | Optional row index (edit list) |
cbk |
function | Optional callback (will replace all change events on each field) |
userKeys |
boolean | Optional to get foreign user-key |
title(obj, userKey, plural)
- Description:
Object title to display.
Parameters:
Name | Type | Description |
---|---|---|
obj |
Simplicite.Ajax.BusinessObject | Object with metadata (label, plurallabel, userkey) |
userKey |
boolean | True to add the valued user-key |
plural |
boolean | True to use the plural label if exists |
toast(params)
- Description:
Toast dialog box
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
warning(msg)
- Description:
Warning dialog box
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Content |
yesNo(params)
- Description:
Yes/No dialog box
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
yesNoCancel(params)
- Description:
Yes/No/Cancel dialog box
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
string | Object | Message or object with: Properties
|
zipEditor(ctn, doc, params, cbk)
- Description:
ZIP editor
Parameters:
Name | Type | Description |
---|---|---|
ctn |
Object | Parent container |
doc |
Object | Document |
params |
Object | Options |
cbk |
function | Optional callback to get the new ZIP as Base64 |