Questions tagged [canvaslifecyclehandler]

Filter by
Sorted by
Tagged with
0
votes
0answers
49 views

How can we update Canvas App Url from Lightning component or Apex class

My usecase example: Configured Canvas App Url: https://example.com/path1 1)I want to change canvas app url at runtime to https://example.com/path1/library 2)I want to add some record parameter(eg:...
0
votes
1answer
513 views

Canvas App requesting a Signed Request for self authorize users

I have implemented Canvas App integration and facing an issue when i set the Permitted Users = All users may self-authorize. The issue that i am facing is once the canvas app receives the request ...
2
votes
0answers
196 views

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 ...
2
votes
1answer
185 views

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 ...
3
votes
1answer
102 views

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 ...
2
votes
1answer
248 views

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 ...