Module

Ei Dar Li Ko Ko asked on September 11, 2015 12:17

I have developed a custom module and want to load up the unigrid through the xml file. But I want to know that inside the <query name="query" columns="*/>, can i use my own sql query like

Recent Answers


Dawid Jachnik answered on September 11, 2015 12:32

Hi, In your "query" you can use whatever you want. This is custom query.

2 votesVote for this answer Mark as a Correct answer

Jeroen Fürst answered on September 11, 2015 15:27

Check out the UniGrid definition for more info on how to use it: https://docs.kentico.com/display/K82/Reference+-+UniGrid+definition

0 votesVote for this answer Mark as a Correct answer

Ei Dar Li Ko Ko answered on September 14, 2015 03:34 (last edited on September 14, 2015 03:35)

But I want to query up the data from the Event Log table with the *< query name="select "> or with < query name="EventLog_eventlog.selectall" > something like that. I saw that could not create any new queries inside the event log module. Any idea on this?

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on September 14, 2015 16:58

You could always create a new page type that is just a container and create your query in there. Then call it using the correct name.

namespace.class.queryname

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.