function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aurélien LavalAurélien Laval 

Modify detail page layout from a Canvas App in a Visualforce page

Hello,

 

Is possible to modify the detail page layout of an object from a Canvas App?

 

Example, I have a canvas app in a visualforce page and I wish modify the style of a object's field in Salesforce with jQuery code from the canvas app like that :

$("#name").css( "color", "red" );

 

 

Thanks

jhurstjhurst

This may be possible, but it is not currently a supported function from Canvas.

 

Instead, you could build a VF page displaying the fields as you wish, and you would have full control over the CSS.

 

Hope this helps

Jay