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

Bring2mind Forums

Custom attribute in sites group, template view
Last Post 05/22/2013 12:08 PM by Peter Donker. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
VladK
New Member
New Member
Posts:2


--
05/16/2013 4:05 PM
In our project we have a sites group with a master site.

I have added Report Date custom attribute to the DMX in Master site, and it got a name of att2.
In my custom template for template view I can reference this attribute and display its value, sort by it, etc.

But when I added the same Report Date attribute to one of the children sites it got a name of att5.

How should I reference this in template. I found only one place where I can change template: ..\dmx\resources\viewTemplates

So if I change the reference to att2, my other DMX won't work. And I want DMX to work properly on every children site of that site group.

How to resolve this problem?

Thanks
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/22/2013 12:06 PM
You can name the key yourself by hand in SQL if you want. It is just auto generated upon creation.

Peter
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/22/2013 12:08 PM
O, and make sure to restart the site if you've made changes directly in SQL so the caches are refreshed.
You are not authorized to post a reply.