Web edit form with the list form, it opens in the case where it is necessary:
- Create a new object.
- Create a new object based on existing one.
- To edit an existing object.
- Open an existing object for viewing.
Options open
The form can be opened:
- In the current browser window.
- In another browser window:
- the window can be in the form of adjacent tabs;
- or modal.
setup open edit form
Accordingly, to configure open web editor:
- To decide whether you want to open the web editor in the current browser window or in a new
- If the new, whether it’s a new tab or modal window
Accordingly, after answering these questions you should set 2 settings:
- WebObjectListView1.Operations.OpenEditorInNewWindow = true/false;
- WebObjectListView1.Operations.OpenEditorInModalWindow = true/false;
- WebObjectListView1.Operations.EditInRow = true; - edit by clicking in the row.
Note: If you set
OpenEditorInNewWindow == false
the second setting makes no sense.open the form editing and Read-only mode
When you open one user, the object is locked. In this time other users can open it read-only.
If the object to web editor which tries to log the user blocked, then it will be the message “The object is locked by another user. Want to open it read-only?” and the response options “Yes” and “No”.
Accordingly, if you select “Yes” the user opens this form in read only.
If the user selects “No”, then it will return to the list form.
Visual return will look different for different variants of open web editor:
- If the web-editing form was opened in the same browser window, there will be a redirection (redirect) on the list form.
- If the web-editing form was opened in the adjacent tab, the tab closes and switches to the tab with the list.
- If the web-editing form was opened in a modal window, it will close the modal window.
Note: If the user is not authorized, then when you open them, it will not be unlocked.