Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > changing CMS.Root Queries . any issues doing this???? View modes: 
User avatar
Member
Member
eagleag - 7/25/2010 2:43:29 AM
   
changing CMS.Root Queries . any issues doing this????
Hi,
In oreder to get a custom search I built to work, I needed to change these three querus in CMS.ROOT:

1. searchdocuments
2. searchtree
3. searchattachments

to this code:
SELECT ##COLUMNS## FROM View_Building_Joined WHERE (##WHERE##)   ORDER BY ##ORDERBY##


This way had no problem passing WHERE condition from SQL Search results.
When I didn't change these queries the search dint work.



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/28/2010 4:15:44 AM
   
RE:changing CMS.Root Queries . any issues doing this????
Hi,

These are system queries which are e.g. used in the CMS Desk search and so on. But if everything is working fine so far, it seems that you have modified them correctly :-)

Best regards,
Juraj Ondrus

User avatar
Member
Member
eagleag - 7/28/2010 5:09:48 AM
   
RE:changing CMS.Root Queries . any issues doing this????
THANKS :)