You need to sign in to do that
Don't have an account?
Zack Walton
Salesforce DX extension package
I am trying to push a managed extension package to a scratch org but am running into some issues. The issues seem to be stemed around some custom objects that are owned by the package that is being extended. I have added the "extension" fields and can see that the objects are being added to the extension package but it is still erroring. I have attatched the errors below.
force-app/main/default/objects/inscor__Allocation__c.object-meta.xml Must specify a non-empty label for the CustomObject N/A Field Employee__r does not exist. Check spelling. (88:13) N/A referenceTo value of 'inscor__Company_Location__c' does not resolve to a valid sObject type (66:13) N/A referenceTo value of 'inscor__Part_Master__c' does not resolve to a valid sObject type (138:13) force-app/main/default/objects/inscor__Employee__c.object-meta.xml Must specify a non-empty label for the CustomObject N/A referenceTo value of 'inscor__Employee__c' does not resolve to a valid sObject type (66:13) N/A referenceTo value of 'inscor__Employee__c' does not resolve to a valid sObject type (66:13) N/A referenceTo value of 'inscor__Inventory_Line__c' does not resolve to a valid sObject type (66:13) N/A referenceTo value of 'inscor__Employee__c' does not resolve to a valid sObject type (66:13) force-app/main/default/layouts/Work_Order__c-Work Order Layout.layout-meta.xml In field: field - no CustomField named Work_Order__c.Company_Location__c found (18:26) force-app/main/default/layouts/Labor_Entry__c-Labor Entry Layout.layout-meta.xml In field: field - no CustomField named Labor_Entry__c.Employee__c found (20:26) force-app/main/default/layouts/Tool_Assignment__c-Tool Assignment Layout.layout-meta.xml In field: field - no CustomField named Tool_Assignment__c.Employee__c found (28:26) force-app/main/default/layouts/Work_Order_Task__c-Work Order Task Layout.layout-meta.xml In field: field - no CustomField named Work_Order_Task__c.Assigned_To__c found (55:26) force-app/main/default/applications/AvSight_Work_Order.app-meta.xml In field: tab - no CustomTab named Administration found
Thank you!
All Answers
Thank you!
sfdx force:package:install -i 04t6A0000004eytQAA
The id here is no the id in the app exchange but the id which you get in the install for admins, install for all page after you try to install the package manually in a example org!
Hope you understand this!
Thank you!
Hi Zack, if you were trying to use metadata to achieve this make sure you use the correct version! if both these solutions didnt resolve please let me know the managed package in the app exchange that you are trying to install using salesforce DX, i will try, and let you know.
thank you!