Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Cannot display content from widgets in smart search result View modes: 
User avatar
Member
Member
desi24-abv - 4/19/2013 6:35:10 AM
   
Cannot display content from widgets in smart search result
User image

Any content(text) that is in widgets is not displayed in the search result in kentico 5,5. Am I missing something or this is not supported?

User avatar
Member
Member
desi24-abv - 4/19/2013 6:36:35 AM
   
RE:Cannot display content from widgets in smart search result
http://postimg.org/image/6io7hlu7b/

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 4/19/2013 7:22:08 AM
   
RE:Cannot display content from widgets in smart search result
Hello,

Which widgets are not showing up for you? Only contents of editable text and editable image web parts / widgets are indexed by default.

Regards,
Josef Dvorak

User avatar
Member
Member
desi24-abv - 4/19/2013 8:05:36 AM
   
RE:Cannot display content from widgets in smart search result
I am using custom webpart/widget. Is it possible ti index my custom parts?

Regards, Desi

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 4/19/2013 8:34:33 AM
   
RE:Cannot display content from widgets in smart search result
Hello,

Unfortunately the ability to index the entire sites, not just specific web parts and forms was not was introduced till Kentico CMS 6, where you can make use of Document crawler index type, which indexes the web parts as they would appear to the visitor. You will need to either update your site or custom develop such behaviour.

Regards,
Josef Dvorak


User avatar
Member
Member
@davey_lad - 5/16/2013 9:38:55 AM
   
RE:Cannot display content from widgets in smart search result
Hi Josef,

I just came across this post and it's very relevant to my current problem.

I have a document type which doesn't have any "Form" fields for content. Instead it has a few webparts for editable content i.e. editable text and editable image.

I have a smart search index configured as a "document crawler" and it searches the text fine (entered via the editable text webparts). However, the image in the results preview tab is broken. How do I display the image which has been set via the editable image webpart ? I have set the search fields on the doc type as follows :

Content Field: DocumentContent
Image Field: DocumentContent

Is there something special I need to have in the transformation to extract the image ?

any help appreciated

cheers

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 5/17/2013 4:17:52 AM
   
RE:Cannot display content from widgets in smart search result
Hello,

As described in this forum post, Kentico CMS needs a field with file selected as image field. It does not parse images in text fields for search results. However you can create a custom transformation function to detect the image you want to use.

Regards,
Josef Dvorak