Child pages
  • servoyDeveloper

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidOpens the form FormEditor in the developer.voidSaves all changes made through the solution model into the workspace.voidSaves all changes made through the solution model into the workspace.voidSaves just the given form, valuelist, relation or in memory datasource into the developers workspace.voidSaves just the given form, valuelist, relation or in memory datasource into the developers workspace.voidSaves just the given form, valuelist, relation or in memory datasource into the developers workspace.voidUpdates the given in memory datasource and saves it into the developers workspace.

functionservoy sDetail2100%height:30px2Methods DetailsopenFormname

openForm(form)

dessIndent
Opens the form FormEditor in the developer.
prs

Parameters

sIndentformThe form name or JSForm object to open in an editor.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowsavename

save()

dessIndent
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).
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
savename

save(override)

dessIndent
Saves all changes made through the solution model into the workspace.
prs

Parameters

sIndentoverrideOverride existing in memory tables.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
savename

save(obj)

dessIndent
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.
prs

Parameters

sIndentobjThe formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
savename

save(obj, override)

dessIndent
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.
prs

Parameters

sIndentobjThe formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.overrideOverride an existing in memory table.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
savename

save(obj, solutionName)

dessIndent
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.
prs

Parameters

sIndentobjThe formname, JSForm, JSValueList, JSRelation, datasource name or JSDataSource object to save.solutionNameThe destination solution, a module of the active solution.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
updateInMemDataSourcename

updateInMemDataSource(dataSource, dataset, types)

dessIndent
Updates the given in memory datasource and saves it into the developers workspace.
prs

Parameters

sIndentdataSourcedatasource name or JSDataSource object to save.datasetthe dataset with the update columnstypesarray of the update columns types
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow