• Henrik E.
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,

currently working on a PoC compiling a pdf from a custom object record. Using a button to redirect to a vf page, rendering the record data as PDF. Still in the very beginingn just checking whether fields render appropriately on the vF page, however am facing an issue rendering a rich text field.

Code and error below:
<apex:page StandardController="DokumentenTemplate__c" showHeader="false" renderas="pdf">
This is a standard field on the object: <br/>
{!DokumentenTemplate__c.Name}
<br/>
<br/>
This is a simple custom text field: <br/>
<apex:outputText value="{!DokumentenTemplate__c.Signatur__c}" escape="false"/>  
<br/>
<br/> 
This is where the richt text area should be displayed: <br/>
<apex:outputText value="{!DokumentenTemplate__c.Fusszeile__c}" escape="false"/> 
</apex:page>

The error I'm getting is the following:
Error: Invalid field Fusszeile__c for SObject DokumentenTemplate__c

API Name of the Object: DokumentenTemplate__c
Name of the field: Fusszeile__c

Queried, but couldn't find a similar post on this. Any recommendation on how to display this would be appreciated.

Thanks,
Henrik