[SalesForce] Deploy/retrieve lightning community page variations with metadata API

I could not find an answer to this question in the documentation or by looking here.

I have built a page variation in my lightning community, and then exported it. I am fine including that in a managed/unmanaged package but I was wondering if it was also possible to deploy or retrieve that object via the metadata API?
There is a type called FlexiPage but I believe those are for Lightning Experience page layouts.

That way I could check it in a version control repository or have it part of a development deployment cycle where I could deploy the code to test it instead of installing a new managed package every time?

I could not find it either in the Unsupported Metadata types section of the documentation.

Similar question here with no answer: Lightning Community Builder – Page Metadata

Thanks

Best Answer

Please follow these steps to download "Lightning Bold Pages" in Eclipse:

  • Add "FlexiPage" type in your package.xml, just like you for downloading any other metadata types.
  • Set the version of the your package.xml file to 40.0.
  • Create a new folder named "flexipages" under "src" folder in project.
  • Right click on "flexipages" -> Force.com -> Refresh from Server