i'm having troubles creating a FlexiPage from the API.

Here is my code:

<?xml version="1.0" encoding="UTF-8"?>

<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">

<description>Fastcall Dashboard Test</description>














Because the API Version is 38.0 I need to use the pageTemplate instead of using the template attribute.

So, what should I need to put in the <pageTemplate> attribute.

I tried creating a Lightning component (HomePageSingleColumnTemplate) for the template and add it to the flexiPage but didn't work.

Any thought about what's going on?


You need to use an existing template fqn, e.g. flexipage:defaultAppHomeTemplate for one of the default templates.

See this doc for how to create your own custom template: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_template_component.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.