I built a custom Lightning component that shows up in the community builder, but when I drag it on to the page and preview it, I only see a loading bar.

In the js console, I am seeing that CanvasRendering.js is throwing a 404 when it tries to load instance.force.com/s/canvas/proxy.js, but I did find that proxy.js exists at instance.force.com/canvas/proxy.js. I'm assuming this is why my component is not loading, but I'm not sure how to fix it.

Any help would be greatly appreciated.

I'm on Winter '17 release. Here is my aura component code (it works as expected with an iframe):

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,forceCommunity:availableForAllPageTypes" access="global" >
    <force:canvasApp developerName="canvasapp"/>
    <!--<iframe src="https://canvasapp.herokuapp.com/" style="width: 100%; height: 600px;" frameborder="0"></iframe>-->

Your Answer

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

Browse other questions tagged or ask your own question.