Skip to main content
Nintex Community Menu Bar
Question

Apostrophes not rendering in Field Editor

  • July 11, 2024
  • 9 replies
  • 0 views
  • Translate

Forum|alt.badge.img+3

I am pulling in the value from a long text area in Salesforce to a basic field editor component on my Skuid page.  The apostrophes are being shown as ' instead of an apostrophe.  I have seen a few threads in the community regarding a fix for custom field renderers but I am not using a custom field render er, I am just using the standard field editor component.  Please help!

Did this topic help you find an answer to your question?

9 replies

Forum|alt.badge.img+9

I thought I might have a solution for you. But, the only way I have been able to replicate your โ€œ'โ€ symptom is with a javascript snippet as a custom field renderer. Not writing a custom renderer, but calling a standard one in the snippet. And, that was going to be my suggestion.

So, my suggestions would be to change that โ€œField Rendererโ€ value to Standard.

Or, display a Template in the field editor, using {{Comments__c}} in the Template.

Translate

Forum|alt.badge.img+3

I dont quite understand.  I am using the Standard setting.  Are you saying I need to change it to custom and then run a snippet?

Translate

Forum|alt.badge.img+9

In that case, try the Template field.

What I was saying is โ€ฆ

I tested a textarea field that contains a single quote. When I display the field in a field editor the same as you are doing, I see the quote, not the '. It is only when I run the value through a javascript snippet that I see ' instead of the quote. That makes for a confusing situation!

The Template field also has the Allow HTML option, which might also make a difference.

Hereโ€™s another thought: Are those Editorial Notes being entered on a skuid page - either the same page or another - or are the field values being captured from somewhere else? Are the Notes being created with copy-and-paste from another application (like Word)? Could the database actually be storing the encoded apostrophe? Maybe skuid rendering is not the problem!

Translate

Forum|alt.badge.img+3

They are coming from my Salesforce instance.

Translate

Forum|alt.badge.img+9

The question is, how do they get into the instance?

Translate

Forum|alt.badge.img+3

They are entered into a Long Text Area field in Salesforce.

Translate

Forum|alt.badge.img+9

How are they entered?
Are they keyed in on a skuid page?
Are they copied in from another document?
Are the records imported from another system?

Translate

Forum|alt.badge.img+3

The are keyed into Salesforce.  Skuid is connected to Salesforce.  The Field Editor is based on a model of the Case object in Salesforce.  Skuid pulls the appropriate record from Salesforce.

Translate

Forum|alt.badge.img+3

 I tried the Template idea and it has the same behavior.  Apostropheโ€™s are displayed as &#39

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings