Skip to content

Commit

Permalink
Update src/plugins/saved_objects_management/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Romero <rmerqg@amazon.com>
  • Loading branch information
ashwin-pc and joshuarrrr committed Aug 4, 2022
1 parent 402b8c2 commit 5429e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/saved_objects_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For 3., this plugin can also be used to provide a route/page for editing, such a

1. Create a new `SavedObjectsType` or add the `management` property to an existing one. (See [`SavedObjectsTypeManagementDefinition`](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/e1380f14deb98cc7cce55c3b82c2d501826a78c3/src/core/server/saved_objects/types.ts#L247-L285) for explanation of its properties)
2. Register saved object type via `core.savedObjects.registerType(...)` as part of plugin server setup method
3. Implement a way to save the object via `savedObjectsClient.create(...)`
3. Implement a way to save the object (e.g. via `savedObjectsClient.create(...)` or a `savedObjectLoader`)
4. After these steps, you should be able to save objects and view/search for them in Saved Objects management (`/app/management/opensearch-dashboards/objects`)

## Enabling edit links from saved objects management
Expand Down

0 comments on commit 5429e8e

Please sign in to comment.