This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Dec 13, 2011, 4:00 PM
31 Posts
topic has been resolvedResolved

Catch value from Rch Text filed

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags: Rich Text
  • Replies: 2
Have a setup document and there is a rich text field. Uses a startpage and want to retrieve the value from the rich text field in the setup document and display the formatted on the homepage. Is it possible?
Will a use Computes field or what...?
 
Regards
Fredrik
Dec 14, 2011, 8:49 AM
261 Posts
Re: Catch value from Rch Text filed
How about adding a panel with a datasource pointing to the settings document. You can then add a readonly field bound to the RT field of the settings document.
 
Something like this:
 
    <xp:panel readonly="true">
        <xp:this.data>
            <xp:dominoDocument var="docSettings" action="openDocument" ignoreRequestParams="false">
                <xp:this.documentId><![CDATA[#{javascript:"unid_of_your_settings_document"}]]></xp:this.documentId>
            </xp:dominoDocument>
        </xp:this.data>
        
        <xp:inputRichText id="inputRichText1" value="#{docSettings.your_rt_field}"></xp:inputRichText>
    </xp:panel>
Dec 15, 2011, 10:12 AM
31 Posts
Re: Catch value from Rch Text filed
Thanks, you saved my day. So simple when you see what you needed to do.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal