Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
New Member
Posts: 5
Registered: ‎03-29-2011

How to create named queries?

I have to implement a custom tab on account that will replace the account's out of the box contacts tab. I'm implementing this new tab using ExtJs doing an async call to the backend - this is a customer requirement, the reasons behind it are long to explain.

 

So, i could write a custom ASHX handler to return the contacts in a JSON string for ExtJS consumption. But, i came across named queries (http://sites.google.com/site/genesprojects/code/namesqueryclientside). Since i've been doing some coding against slxdata.ashx, it seems like a cool way of solving my requirements avoiding coding the custom ashx handler. So far so good. But the problem is, i can't find any kind of documentation regarding how to create a named query. I've been fiddling into application architect, but can't figure out where that is.

 

Any ideas / suggestions?

 

Let's say i'd like to do something like:

 

select contactid, firstname, lastname from contact where accountid = current accountid

 

Thanks!