Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more


Sep 2, 2009
  3975
(0 votes)

Odd behavoiur in the Longstring property

An oddity I just found is that the LongString property renders differently with the <episerver:property tag when the user is logged in or not. The evidence that made me react was some embedded &nbsp; in the text. these were encoded and thus invisible when the user was logged in.

I havn’t looked into the reasons for this but the solution for situations where it´s just a string to print is to use the xhtml-property with disabled editor controls.

This problem was tricky to notice because it´s common to require login for staging servers.

Sep 02, 2009

Comments

Sep 21, 2010 10:32 AM

Hi!

This is probably related to the EPiServer "Permisson for functions"-feature that can give any user or group all tools in the editor.

This changes the behaivor of Long String and XHtml string is rendered when you uncheck all editor tools for a property (when you want a clean text box and not rich text).

I have reported this as a defect a some time ago but I think it slipped...

/Fredrik

Sep 21, 2010 10:32 AM

Hjalmar, check your profile: Anual = annual, developper = developer ;-)
/ Mr Picky

Sep 21, 2010 10:32 AM

Seems I was a bit too quick creating the profile.... Thanks for the heads up.

Please login to comment.
Latest blogs
COGNITIVE_SERVICE_TRANSLATE_ERROR

COGNITIVE_SERVICE_TRANSLATE_ERROR

Tomas Hensrud Gulla | Mar 19, 2025 |

Secure Your CMS: A Guide to the OptiAccess Restrictor Add-on

The OptiAccess Restrictor add-on enhances CMS security by preventing unauthorized access, allowing IP whitelisting.

Francisco Quintanilla | Mar 18, 2025 |

Optimizely CMS Developer Tools for macOS

Running Optimizely CMS on macOS presents unique challenges, as the platform was traditionally primarily designed for Windows environments. However,...

Tomek Juranek | Mar 15, 2025

Removing a Segment from the URL in Optimizely CMS 12 using Partial Routing

Problem Statement In Optimizely CMS 12, dynamically generated pages inherit URL segments from their container pages. However, in certain cases, som...

Adnan Zameer | Mar 14, 2025 |

Optimizely Configured Commerce and Spire CMS - Figuring out Handlers

I recently entered the world of Optimizely Configured Commerce and Spire CMS. Intriguing, interesting and challenging at the same time, especially...

Ritu Madan | Mar 12, 2025

Another console app for calling the Optimizely CMS REST API

Introducing a Spectre.Console.Cli app for exploring an Optimizely SaaS CMS instance and to source code control definitions.

Johan Kronberg | Mar 11, 2025 |