Online documentation - WebsydianExpress v3.0 |
WebUpdatePageForProcess
Inheriting from this abstract function gives you a page suitable for updating records in the database.
The page contains an update event.
You must replace the views UIBasic.Update and UIBasic.Detail with the views used to update and fetch records for the entity you want to be able to update the records for - like this:
Source Object | Verb | Target Object |
---|---|---|
MyUpdatePage | is a FNC | WSYAPI/WebUpdatePageForProcess |
MyUpdatePage | replaces VW
...by VW |
UIBasic.Fetch
MyEntity.Fetch |
MyUpdatePage
|
replaces VW
...by VW |
UIBasic.Update
MyEntity.Update |
The update event will validate the record according to the rules defined in the Plex model.
The WebUpdatePageForProcess is part of the maintenance suite you get by letting an entity inherit from WebEditDialogForProcess.
If you do not want to let the update event perform the standard validation, set the option ValidationEnabled to no for the event - like this:
Source Object | Verb | Target Object |
---|---|---|
MyUpdatePage | is a FNC | WSYAPI/WebUpdatePageForProcess |
MyUpdatePage.Update | option NME
...value SYS |
ValidationEnabled
No |