IRPCIndexingDataSource.GetObjectTypesWithPropertyDefs
Server integration API / specialized internal: not for applications write session
Gets object types with associated property defs.
| Service | Indexing data source MFiles.IRPCIndexingDataSource |
|---|---|
| gRPC method | /MFiles.IRPCIndexingDataSource/GetObjectTypesWithPropertyDefs |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-object-types-with-property-defs |
| Request | GetObjectTypesWithPropertyDefsRequest |
| Response | GetObjectTypesWithPropertyDefsResponse |
| Book and level | Server integration API, specialized |
| 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
For M-Files components only. Search indexers call it to learn which properties to index per object type. Applications should use GetObjectTypes and GetPropertyDefs.
- Requires the system administrator server role (server right
log_in_to_any_vault).
Request: GetObjectTypesWithPropertyDefsRequest
No fields.
Response: GetObjectTypesWithPropertyDefsResponse
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 |
|---|---|---|
items[] | repeated ObjectTypeWithPropertyDefs | Items. |
items[].object_type | int32 | Object type ID. |
items[].property_defs[] | repeated int32 | The IDs of those propertydefs that are based on the object type. |
Related methods
- IRPCObjectTypes.GetObjectTypes -- Gets all object types (real object types only, not plain value lists), with their icons.
- IRPCPropertyDefs.GetPropertyDefs -- Gets all property definitions that the user is allowed to see.