... | ... | @@ -234,12 +234,15 @@ In order to do that, specify `formCode` attribute for the command. The attribut |
|
|
```
|
|
|
|
|
|
Note that you are responsible how for calling a window.
|
|
|
|
|
|
The `formCode` function has 4 arguments:
|
|
|
* `entity` - name of entity
|
|
|
* `instanceID` - ID of object to show a form to
|
|
|
* `onFormCodeRun` - just ignore it, it supposed to be a callback showing a form, but it just does not work
|
|
|
* `ubCommand` - the command object
|
|
|
|
|
|
It is also possible to just provide form code instead of the function.
|
|
|
|
|
|
In order to show a form, use the following code snippet as an example:
|
|
|
```javascript
|
|
|
$App.doCommand({
|
... | ... | |