Child pages
  • Server Side Scripting

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Starting with Servoy 8.3.1 inside the server side scripting file of a component/service you can call specific api using object "servoyApi". Currently, there is are only one two api supported: hideForm(formName) and copyObject(object). This hideForm api  is used to mark a form as not visible anymore immediately because cannot wait for client to mark it as hidden(for example in removeTab of a tabpanel). 

Code Block
languagejs
titleLogging in component/service server side scripting file
servoyApi.hideForm('myform')

copyObject is used to create a new javascript object from existing one. This is a shortcut for creating the object from scratch and copying all properties.