Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Custom attributes not visible in templated view
Last Post 05/25/2015 3:51 PM by Tecnologia. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tecnologia
New Member
New Member
Posts:7


--
02/12/2015 11:52 AM
Hello!

I have in the database this attribute:

Addon = Core
AttributeId = 2
ControlToLoad = NULL
IsPrivate = 0
Key = att2
PortalId = 0
Required = 1
ResourceFile = NULL
Values = NULL
ValueType = String
ViewOrder = 0
CollectionId = 4699
ShowInUI = 1
AttributeName = Producto


I use the token [entryattribute:att2] on the Entry.html, but I only get null strings on searchresults


exec dbo.DMX_GetEntryAttributesByEntry returns attributes correctly

I would appreciate any ideas, Thank you.
Tecnologia
New Member
New Member
Posts:7


--
02/23/2015 4:29 PM
FileDownloadList view works OK

Searchresults view doesn't

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/23/2015 6:44 PM
So your are using a templated UI for the search results?

Peter
Tecnologia
New Member
New Member
Posts:7


--
02/24/2015 9:31 AM
Yes. For users who only need to search and download files, we need to do a search page that shows a list with all the details of each file.

In the page have two modules of DMX:

1) User Interface = Search.ascx

(2) User Interface = Template View.ascx
Template View Settings = SearchResults [System]

It works perfectly, but doesn't display the custom attributes.

In others Template Views works ok. But don't filter based on the first DMX module.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/21/2015 10:39 AM
Indeed this is not supported. For performance reasons the search results do not retrieve the attributes as well. As DMX will be redesigned this might well be possible in the future. Just not in this version.

Peter
Tecnologia
New Member
New Member
Posts:7


--
05/25/2015 3:51 PM
Thanks Peter!
You are not authorized to post a reply.