diff --git a/src/utils/createArtifactPreviewContent.js b/src/utils/createArtifactPreviewContent.js index a3b394433..da9dcbcb8 100644 --- a/src/utils/createArtifactPreviewContent.js +++ b/src/utils/createArtifactPreviewContent.js @@ -75,7 +75,7 @@ export const createArtifactPreviewContent = (res, fileFormat, path, artifactName if (path && artifactName) { artifact.data = { - content: `Preview is not available for this artifact type. Go to ${path} to retrieve the data, or use mlrun api/sdk project.get_artifact(‘${artifactName}’).show()` + content: `Preview is not available for this artifact type. Go to ${path} to retrieve the data, or use mlrun api/sdk project.get_artifact('${artifactName}').to_dataitem().get()` } } }