03-29-2011 11:28 AM
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