Skip to main content

Questions tagged [canvaslifecyclehandler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

How 2GP ConnectedApp metadata combines with Connected App in released 1GP

We have a 2GP with an Aura Component that contains a Canvas App. We followed the documentation from Salesforce and created a Connected App in a namespace packaging org and created a released 1GP ...
nstuyvesant's user avatar
1 vote
1 answer

Canvas app in 2gp managed package

I have connected app on my scratch org which is rendering canvas app in aura component. On my connected (canvas app) im using CanvasLifecycleHandler class implementation on connected app settings. I'm ...
woj_jas's user avatar
  • 121
2 votes
0 answers

Is it possible to access the current record id in the LifecycleHandler of a Canvas app that is embedded in a page layout?

I am attempting to get the context of the record being viewed, within a CanvasLifecycleHandler class so that I can perform some work and enrich the parameters collection in the Canvas Signed Request ...
Mark Pond's user avatar
  • 23k
2 votes
1 answer

Adding custom variable for callback url in packaged Connected App (Canvas)

how can we add additional parameters to callback so that we can determine the SF org which is calling the our server. We were to do this for Canvas url via Adding Custom Setting (List) and adding ...
Ashish Gaonker's user avatar
3 votes
1 answer

How do I see exceptions being thrown by a class that implements Canvas.CanvasLifecycleHandler.onRender()

I've got a class that implements the onRender(Canvas.RenderContext renderContext) method of Canvas.CanvasLifecycleHandler. It has a corresponding test class that uses the Canvas.Test methods to set ...
Daniel Ballinger's user avatar
2 votes
1 answer

How do I Assert in a CanvasLifecycleHandler test class

I have a CanvasLifecycleHandler thst rewrites the url with a timeStamp. Is it possible to assert in the test class that the url has been changed? If so, how? CanvasLifecycleHandler public ...
M. Camp's user avatar
  • 45