ReadonlyActiveReadonlyActiveReadonlyActiveReadonlyIsReadonlyPanelUse ActiveArtifact$.
Use ActiveArtifactId$.
Use ActiveVersionNumber$.
Use IsPanelOpen$.
Use PanelMode$.
The metadata provider this service uses. When unset, falls back to Metadata.Provider. Setting it propagates to the dependent artifact-permission service.
OptionalversionId: stringUse AddToCollection.
Adds an artifact version to a collection
The artifact ID (for permission checking)
The collection ID
The current user context
OptionalversionId: stringOptional specific version ID. If not provided, uses latest version
Use CanEditArtifact.
Check if current user can edit an artifact
The artifact ID
The current user context
True if user has edit permission
Use CanReadArtifact.
Check if current user can read an artifact
The artifact ID
The current user context
True if user has read permission
Use CanShareArtifact.
Check if current user can share an artifact
The artifact ID
The current user context
True if user has share permission
Use ClearCache.
Clears all cached artifacts
Use CloseArtifact.
Closes the artifact panel
Use CreateArtifact.
Creates a new artifact
Artifact data
The current user context
The created artifact
Deletes an artifact
The artifact ID
The current user context
True if successful
Use LoadArtifact.
Loads a single artifact by ID
The artifact ID
The current user context
The artifact entity or null
Loads artifacts for a collection
The collection ID
The current user context
Array of artifacts
Loads artifact VERSIONS for a collection (all versions, not deduplicated by artifact ID) This method returns each version as a separate item with its parent artifact metadata
The collection ID
The current user context
Array of objects containing version and parent artifact info
Opens an artifact in the panel
The artifact ID
OptionalversionNumber: numberOptional specific version number
Opens an artifact by version ID
The artifact version ID
Removes an artifact from cache
The artifact ID
Use RemoveFromCollection.
Removes all versions of an artifact from a collection
The artifact ID
The collection ID
The current user context
Sets the panel mode
The mode ('view' or 'edit')
Use TogglePanel.
Toggles the panel open/closed state
Use UpdateArtifact.
Updates an artifact
The artifact ID
The fields to update
The current user context
True if successful
State management for artifacts and the artifact panel Handles artifact CRUD operations and caching with permission enforcement