tag:blogger.com,1999:blog-6140199022860280334.post8383425561665454396..comments2024-03-29T06:37:56.706+00:00Comments on Bob Buzzard Blog: SFDX and the Metadata API Part 3 - Destructive ChangesBob Buzzardhttp://www.blogger.com/profile/07815472992351343395noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6140199022860280334.post-7082483210898216732020-11-19T08:56:23.068+00:002020-11-19T08:56:23.068+00:00Hi both - I've just updated everything to API ...Hi both - I've just updated everything to API 50 and it's working as expected. What problems are you seeing?Bob Buzzardhttps://www.blogger.com/profile/07815472992351343395noreply@blogger.comtag:blogger.com,1999:blog-6140199022860280334.post-8708353810713846162020-11-10T22:15:37.001+00:002020-11-10T22:15:37.001+00:00Hi Mark.. I'm facing the same issue. Please le...Hi Mark.. I'm facing the same issue. Please let me know if you have found a solution or had a chance to get in touch with Salesforce?Anonymoushttps://www.blogger.com/profile/09606882451230553361noreply@blogger.comtag:blogger.com,1999:blog-6140199022860280334.post-7705700469808019372020-10-01T11:00:33.988+01:002020-10-01T11:00:33.988+01:00Doesnt work anymore from API 49+Doesnt work anymore from API 49+Markhttps://www.blogger.com/profile/01134448510711310164noreply@blogger.comtag:blogger.com,1999:blog-6140199022860280334.post-90272310740011732192019-03-11T15:03:31.525+00:002019-03-11T15:03:31.525+00:00Is it necessary to create the empty package.xml? O...Is it necessary to create the empty package.xml? Or can you just deploy your regular package.xml, and include the -d option to destroy components specified in the separate destructiveChanges.xml file? This is how we do it in our classic metadata API projects. We remove the no longer needed component(s) from package.xml, and then add it to destructiveChanges.xml and commit that to our source code repo. Then other developers just update their local copy from the repo and do an "ant deploy", which first deploys the components from package.xml (sans the components you're deleting), and then does the destructive change to delete the unused components. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6140199022860280334.post-49615935181842599042019-02-15T21:57:21.466+00:002019-02-15T21:57:21.466+00:00this is cool - thank you.this is cool - thank you.Anonymousnoreply@blogger.com