- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Discussions
- Announcements
- General Development
- Schema Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Mobile
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- REST API Integration
- Streaming API
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Site.com
- Jobs Board - Administrators
- Jobs Board - Developers
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Re: Using the New "Rich Text Area" Data Type in Vi...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 12:32 PM
We're trying to use the new "Rich Text Area" Data Type in our VisualForce pages, but getting the following error:
"Error: Invalid field Main_Content__c for SObject CloudConversion__Portal_Content__c"
This is supported yet? Is there a special trick to get it to work?
Thanks,
Jon
<apex:outputText escape="false" value="{!content.Main_Content__c}"/>
Solved! Go to Solution.
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 12:35 PM
What about:
<apex:outputField value="{!content.Main_Content__c}"/>
Is the instance on Spring 10?
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 12:43 PM
Nope, get the same error. Yes, this is Spring '10 with the new Rich Text Area field.
Thanks,
Jon
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 12:46 PM
Only other thing I can think if is that this field, "Main_Content__c" doesn't exist on this object "CloudConversion__Portal_Content__c" as this is what the messages is saying.
If your positive it exists and spelling is correct you may need to reach out to salesforce support.
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 01:46 PM - last edited on 02-12-2010 01:52 PM
"<apex:outputfield"
Hmm, odd - the tag above works for me with a Rich Text field using a simple page with a standard controller for a custom object. Works on both an internal VF page and an external Sites page...
However, if I try and change the API version of the page to 17.0, I get the same error - so check that the API version page is also set to 18.0
http://twitter.com/britishboyindc
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 02:09 PM
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 02:19 PM
http://twitter.com/britishboyindc
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 02:29 PM
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 02:31 PM
http://twitter.com/britishboyindc
Re: Using the New "Rich Text Area" Data Type in VisualForc e?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-12-2010 03:00 PM
Ok, thanks for all your help! I figured out a workaround, but I believe this is a bug.
Apparently, the <apex:composition> and <apex:define> don't play nice with the new Rich Text fields.
So, we've just changed the <apex:insert> to instead be a component.
Thanks,
Jon

