Support for Flexipage

Issue #1182 resolved
Paul Romer created an issue

I notice there isn't a way to create Flexipage lightning files easily. Is this something that is on the roadmap. I can't even seem to be able to pull down lightning pages I've created through the app builder. It would be nice to be able to work with the metadata directly.

Comments (6)

  1. Paul Romer reporter

    Well, I take back part of it. I managed to sync so I could pull down the ones I created with app builder. Is there anyway to create them within Illuminated Cloud to push up to the org?

  2. Scott Wells repo owner

    Paul, glad you found the retrieval aspect. I work with Flexipages as well and use IC to move them back and forth.

    There's not a first-class way to create a Flexipage right now like there is with Apex/Visualforce/Lightning/Static Resource. However, if you right-click on the flexipages directory, click File>New>File, and type in the full name of the new file, e.g., MyNewFlexipage.flexipage, and paste the following into the body of the new file:

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

    IC will provide full code completion for further editing the file. Another easy way to do this is to start with one of your existing Flexipages and copy it. Just click on the existing file, press F5, and then type in the name of the new file.

    Let me know if that doesn't help.

  3. Log in to comment