Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > how to get an editable text field on a page to show in a repeater View modes: 
User avatar
Member
Member
lwhittemore-emh - 6/17/2013 12:37:28 PM
   
how to get an editable text field on a page to show in a repeater
<%# LimitLength(CMS.GlobalHelper.HTMLHelper.StripTags(GetEditableValue("editabletext1")), 50 , "...") %>


I have in the transformation of my search results but it does not seem to pull anything. am I missing something?

User avatar
Member
Member
kentico_davidb2 - 7/1/2013 5:35:53 AM
   
RE:how to get an editable text field on a page to show in a repeater
Hello,

I have just tested your transformation snippet within a repeater and it works fine for standard repeater with Documents as a source.

For search results, however, it will not work as those results are not "documents".

Should you need to display content of found documents, please use the method described at http://devnet.kentico.com/docs/devguide/index.html?smart_search_transformations.htm i.e.
Eval("content")

Also, please check your Search field mappings as described at http://devnet.kentico.com/docs/devguide/document_type_properties.htm

Dave