Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object:field type MasterDetail can not specify parent object to attach field to. #92

Open
vOtto opened this issue Mar 14, 2021 · 0 comments

Comments

@vOtto
Copy link

vOtto commented Mar 14, 2021

Hi, I'm trying to programmatically create a relationship field
sfdx shane:object:field -o assets__c --api clientassets__c -n 'clientassets' -t MasterDetail --relname=clientassets -l 255
but I have to manually specify parent object name.
API name of the parent object ex: Account, Something__c: client__c
Child relationship label? [clientassets]:
Looking at your param list, I can not find any params which relate to parent object and relation label. can you please let me know how can I achieve adding relation field without manual interaction e.i specify parent object name and relation label in command ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant