---
schema_version: "1"
id: 43e6268d7689a9baf7f849668aa6da16392137bc0f78923c3abebaa995ca9463
title: Visualforce Considerations
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/canvas-framework/guides/platform-connect/using/canvas-app-vf-considerations.md
canonical_url: https://developer.salesforce.com/docs/platform/canvas-framework/guide/canvas-app-vf-considerations.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d274b2f078c93fb61df6c5856ac3f8b7421718b045f8c0babd51d6419c67192a
products:
  - Canvas Developer Guide
  - Platform Developer Content
---

# Visualforce Considerations

Keep the following considerations in mind when using the `<apex:canvasApp>` component:

-   The `<apex:canvasApp>` component is available only in organizations that have Canvas enabled and in Visualforce pages at version 27.0 or higher.
-   If you include a canvas app on an object detail layout, you must provide the height of the canvas app in the page layout as well as in the `<apex:canvasApp>` component.
-   Location—If the canvas app is in a Visualforce page, then the `Environment.displayLocation` field contains the value `Visualforce`.

**See Also**  


-   [Canvas Apps and Visualforce Pages](https://developer.salesforce.com/docs/platform/canvas-framework/guide/canvas-framework-using-vf-intro.md)
-   [apex:canvasApp Component](https://developer.salesforce.com/docs/platform/canvas-framework/guide/canvas-app-vf-component-ref.md)

