• Varun Manchikalapudi 5
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi
I have a problem with canvas app on lightning component. Sometimes my canvas app is blank.

Here is an example of my lightning component :

<aura:component implements="force:appHostable" >
    <aura:handler name="init" action="{!c.doInit}" value="{!this}" />
    <force:canvasApp developerName="MyCanvas" applicationName="MyCanvas"  canvasId="Canvas" aura:id="Cars" border="yes" width="100%" height="600"  scrolling="yes"  namespacePrefix=""/>
</aura:component>

Scenario when not working:

If I open my canvas app from Salesforce Lightning Experience app luncher at first

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

My canvas app is being fully loaded to iframe and i can work with it.

If now i  open again my canvas app again using Salesforce Lightning Experience app luncher

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

At this time my canvas app is blank and in iframe i see only blank tags <title></title><body></body>.
I've checked that I'm connected to my external app and return data by canvas app request.

If now I refresh the page with canvas app I see my external up again.

Can somebody help me, please?

Thanks.

I have the requirement to disable most users (all users within a custom Profile) from being able to update their own profile - we will be importing that data from another, master source.  Is this possible?

  • June 27, 2012
  • Like
  • 0