• Johnee Villanueva
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am trying to create a flexipage which has visualforce page inside it. Deploying the flexipage with workbench is throwing an error Invalid component [flexipage:visualforcePage]: missing required property [pageName]. I have already have added the pageName property.My visualforce page and the package.xml is at API version 32.

Here is the Flexipage code.

<?xml version="1.0" encoding="UTF-8"?> 
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata"> 
  <flexiPageRegions>
  <componentInstances>
     <componentInstanceProperties> 
     <name>entityName</name> 
     <value>VFForm</value>
     </componentInstanceProperties>  
     <componentName pageName ='VFPageAPIName' label = 'VFPageAPILabel'>flexipage:visualforcePage</componentName>
     </componentInstances>
     <name>main</name>
     </flexiPageRegions>
     <masterLabel>Feedback Flexipage</masterLabel>
     <type>AppPage</type> 
</FlexiPage>

And here is the package.xml 

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>FeedbackFlexi</members>
    <name>FlexiPage</name>
  </types>
  <version>32.0</version>
</Package>

Will appreciate any help