Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
App Builder fails to generate code

I have created an app layout in App Builder but when I click the "Generate App" button I get a red box with a message saying "code generation failed".

I have tried this with one of the sample apps and the code generates as expected so I need to know what I have done wrong in creating my own app.

I have tried using Chrome on both Windows and Mac.

No Data
  • 80
    Verified Answer
    Offline posted

    Hi Ross,

    Thanks for your report. We have detected an issue with "Filters" button that has an invalid "Toggle" interaction.
    We're not sure about the steps that led to that state, I suppose that was an attempt to create a dropdown.
    To fix it you can remove the Toggle action in all instances of that button. To narrow down the problem you can "Preview" each view with codegen panel open to check which of them fail to generate.