IRPCClientScript.SetScriptApplicationServerEnable
Vault API / standard write session
Enables or disables an application in the vault.
| Service | Client scripts and UI extension applications MFiles.IRPCClientScript |
|---|---|
| gRPC method | /MFiles.IRPCClientScript/SetScriptApplicationServerEnable |
| HTTP (mf-http-grpc) | POST /grpc/v1/set-script-application-server-enable |
| Request | SetScriptApplicationServerEnableRequest |
| Response | SetScriptApplicationServerEnableResponse |
| Book and level | Vault API, standard |
| Kind | write |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires the vault right
change_metadata_structure. - An application whose master application is disabled cannot be enabled.
- Disabling also disables the applications that have this application as their master.
Request: SetScriptApplicationServerEnableRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
script_application | string | The GUID of the application. |
enabled | bool | True to enable, false to disable. |
Response: SetScriptApplicationServerEnableResponse
No fields.