question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please restore -definitionfile param to force:org:shape:create

See original GitHub issue

Is your feature request related to a problem? Please describe. Salesforce DX is a feature for managing Salesforce Development using source-driven development techniques. The first v51 release removed an important tool for source-driven development. From the releasenotes :

Removed Parameters force:org:shape:create --definitionfile

The definitionfile parameter has been removed from this command. This parameter is part of the org shape feature which is currently in beta. We removed the parameter based on feedback from users that they preferred storing the org shape in the shape source org rather than in a scratch definition file.

This request is intended to provide additional feedback that other users prefer to store org shape in a scratch definition file. As this parameter was always optional, it should be possible to support both methods.

What are you trying to do When creating a scratch org using Org Share, we need to be able to store that shape information in our source repository along with the rest of the project source.

Describe the solution you’d like Please restore the -definitionfile param to force:org:shape:create.

Describe alternatives you’ve considered There is no alternative.

Additional context The scratch definition file is an important, user-inspectable part of a source-driven project. Storing org shape in the source org is opaque and breaks the source-driven model at the heart of SFDX.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ImJohnMDanielcommented, Feb 25, 2021

I agree as well. This is still a good feature to support. There are definitely valid use cases where this would be helpful

0reactions
mshanemccommented, Nov 17, 2022

I’m going to close this. The signups team removed those properties from the API, so they’re no longer available.

https://developer.salesforce.com/docs/atlas.en-us.238.0.object_reference.meta/object_reference/sforce_api_objects_shaperepresentation.htm (compare to, for example, v50)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and Manage Org Shapes - Salesforce Developers
Create an org shape to mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous...
Read more >
GitLab Runner commands
This is a supplementary command that can be used to run only a single build from a single GitLab instance. It doesn't use...
Read more >
IO tools (text, CSV, HDF5, …) — pandas 1.5.2 documentation
For examples that use the StringIO class, make sure you import it with from io import StringIO for Python 3. CSV & text...
Read more >
UNICORN 5.0 User Reference Manual
How to make changes in the Chromatogram Layout dialog ... Afterwards you can use the backup file to restore the system definitions in...
Read more >
Create fully configured SFDX scratch orgs from existing ...
You'll then have the option to upload a json definition file for your scratch org, or to manually configure its parameters via the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found