Skip to content

Commit

Permalink
Added warning for shaperepresentation scope
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienTaillon committed Jun 19, 2024
1 parent 91d6fea commit c2f60ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/texei/org/shape/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ export default class Extract extends SfCommand<OrgShapeExtractResult> {
}

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];
Expand Down

0 comments on commit c2f60ed

Please sign in to comment.