Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > How can I add a query to the QueryRepeater webpart? View modes: 
User avatar
Member
Member
evdn-centiq - 10/9/2009 4:28:07 AM
   
How can I add a query to the QueryRepeater webpart?
Hi there,

how can I add a custom query to the QueryRepeater webpart?
I have created a custom database and also a custom Query and custom transformation.
I have add the QueryRepeater to my website and I also found out how to select the custom transformation.
So that's working fine, I have just one problem, I can't find out where I can add the custom query to the QueryRepeater webpart.
I read in your nowledge base the article "Displaying custom data" but after that it was still not clear to me.

Here is the last prhase of the article:

"Finally you can add the web part with custom query to your page. Select the custom query defined above, use the transformation specified earlier and display the content. The result could be the following:"

How can I select the custom query?

Hope you can help me with this..

Thanks in advance.

Edwin

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/9/2009 5:10:12 AM
   
RE:How can I add a query to the QueryRepeater webpart?
Hi Edwin,

You may insert the query in:

Site manager -> Development -> Document types -> edit e.g Root -> Queries -> New query

and then insert to Query name property of web part:

CMS.Root.<query name>


Best regards,
Helena Grulichova

User avatar
Member
Member
evdn-centiq - 10/9/2009 10:53:45 AM
   
RE:How can I add a query to the QueryRepeater webpart?
Where can I find the Query name property of web part?

That´s the part I don´t understand.

Thanks

Edwin

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/12/2009 4:05:21 AM
   
RE:How can I add a query to the QueryRepeater webpart?
Hi Edwin,

you may find it in the web part Properties on Design tab of appropriate document. Query repeater's documentation is here: http://devnet.kentico.com/docs/webparts/Kentico_CMS_WebParts.htm#_1da4ef61-4b45-4a6d-a88b-7d4ba3bb9411

Best regards,
Helena Grulichova