Hi,
I am trying to deploy Affiliation object Page layout to another org using metadata api via below command but it doesn't work.
sfdx force:source:retrieve -m "Layout:customObject__npe5__Affiliation__c-Affiliation Layout"
I am receving this error:
$ sfdx force:source:retrieve -m "Layout:customObject__npe5__Affiliation__c-npe5__Affiliation Layout"
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
Please let me know if you know how to fix it.
1 件の回答
Hi @Asma Abbas ,
After a lot of try, Finaly i SOLVE the problem on windows (over MinTTY). The solution is change installation path:
- Uninstal current Installation of Salseforce
- Instal agane the sfdx-x64.exe but select another install directory, in my case i create another one called C:\SalsesforceTool
- Do all the other thinks normally