From c2f60ed20da4d1496ff8a3d7176a3fd300567146 Mon Sep 17 00:00:00 2001 From: Fabien Taillon Date: Wed, 19 Jun 2024 12:14:42 +0200 Subject: [PATCH] Added warning for shaperepresentation scope --- src/commands/texei/org/shape/extract.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/texei/org/shape/extract.ts b/src/commands/texei/org/shape/extract.ts index 8dd18a4..769dd71 100644 --- a/src/commands/texei/org/shape/extract.ts +++ b/src/commands/texei/org/shape/extract.ts @@ -129,6 +129,9 @@ export default class Extract extends SfCommand { } if (flags.scope === 'shaperepresentation') { + this.warn( + 'ShapeRepresentation Edition, Features and Settings fields are not longer available, this scope is no longer working.' + ); const shapeQuery = "Select Edition, Features, Settings from ShapeRepresentation where Status = 'Active'"; try { const shapeRepresentation = (await conn.query(shapeQuery)).records[0];