You are viewing limited content. For full access, please sign in.

Question

Question

How do we add specific template fields to the results in Weblink 8 using the version 7 control?

asked on June 20, 2014

We are on version 8 put using the version 7 weblink control to display the results on our customized search.  

 
 <weblink:SearchResultsBrowser runat="server" ID="SearchResults" AdditionalProperties="COLUMN_TYPE_CREATEDATE, COLUMN_TYPE_LASTDATE, COLUMN_TYPE_NUMPAGES, COLUMN_TYPE_TAGS" SortableColumns="COLUMN_TYPE_LASTDATE, COLUMN_TYPE_CREATEDATE" Visible="false" ThumbnailCount="5" />
 
Using the code below we were able to add the standard columns in the results.  How do we add specific template fields to the results?
        Dim ColumnList As New ArrayList()
        ColumnList.Add(Column_Type.COLUMN_TYPE_CREATOR_NAME)
        ColumnList.Add(Column_Type.COLUMN_TYPE_CREATEDATE)
        ColumnList.Add(Field_Type.FIELD_TYPE_STRING)
 
 
        SearchResults.Columns = ColumnList

 

0 0

Replies

replied on June 25, 2014 Show version history

Edit:

 

Nevermind  :)

0 0
replied on June 26, 2014

Hey Amanda,

 

I haven't personally worked with WebLink 7's column layout, but it seems like the bottom of this post will point you in the right direction.

 

Let me know if Krislin's solution works for you. If not, please post an updated code snippet and I'll have one of our WebLink developers take a look.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.