function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
B.T. FranklinB.T. Franklin 

Deleting FlexiblePages (FlexiPages) via the Metadata API

My company is testing the waters of developing for Salesforce1. We already have a pretty sophisticated deployment framework in place for regular web development on Salesforce, using the Metadata API.

One thing we'd like to be able to do is introduce a FlexiPage as the entry point for our new mobile app. I've been able to deploy a Flexipage along with all our other metadata by putting it in the package.xml and the correct /flexipages/Filename.flexipage file. I've also been able to associate it with a tab in our metadata, so it's ready for display right after deployment from our command-line.

However, where I'm running into trouble is in getting the FlexiPage to delete using the Metadata API. Our typical process involves deleting all of our metadata from a script, then deploying all our latest metadata. It is therefore imperative that we be able to delete FlexiPages in an automated way. Going into the UI and clicking "Delete" manually is not an option.

Is this a supported operation? Should I currently be able to delete a FlexiPage via the Metadata API? If this is not possible, I'd very much like to know that.

Thanks.