Parameters Supported Clients Sample Supported Clients Sample Parameters Supported Clients Sample Parameters Supported Clients Sample Parameters Supported Clients Sample Parameters Supported Clients Sample Parameters Supported Clients Sample
Mar 19, 2023 05:12
Supported Clients
SmartClient
WebClient
NGClient
MobileClient
Methods Summary
void
openForm(form)
Opens the form FormEditor in the developer.
void
save()
Saves all changes made through the solution model into the workspace.
void
save(override)
Saves all changes made through the solution model into the workspace.
void
save(obj)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
void
save(obj, override)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
void
save(obj, solutionName)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
void
updateInMemDataSource(dataSource, dataset, types)
Updates the given in memory datasource and saves it into the developers workspace.
Methods Details
openForm(form)
Opens the form FormEditor in the developer.
Object
form
The form name or JSForm object to open in an editor.
save()
Saves all changes made through the solution model into the workspace.
Please note that this method only saves the new in memory datasources,
if you would like to override the existing ones use servoyDeveloper.save(true).
save(override)
Saves all changes made through the solution model into the workspace.
Boolean
override
Override existing in memory tables.
save(obj)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
This must be a solution created or altered form/in memory datasource.
Object
obj
The formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.
save(obj, override)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
This must be a solution created or altered form/in memory datasource.
Object
obj
The formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.
Boolean
override
Override an existing in memory table.
save(obj, solutionName)
Saves just the given form, valuelist, relation or in memory datasource into the developers workspace.
This must be a solution created form/in memory datasource.
NOTE: The current method can only be used for new objects.
For existing objects, please use the save method with the override flag set to true.
It is not needed to specify the solution, because the object to be updated will be saved in the right solution.
Object
obj
The formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.
String
solutionName
The destination solution, a module of the active solution.
updateInMemDataSource(dataSource, dataset, types)
Updates the given in memory datasource and saves it into the developers workspace.
Object
dataSource
datasource name or JSDataSource object to save.
Object
dataset
the dataset with the update columns
Object
types
array of the update columns types