tracker issue : CF-3711003

select a category, or use search below
(searches all categories and all time range)
Title:

serializeQueryByColumns needs to be available as an Ajax argument

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Steve Blades / Steve Blades (Steve Blades)

Created: 02/20/2014

Components: Language, Serialization

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: PublicBeta /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win8 Server 64-bit

Vote Count: 2

Splendor includes new JSON serialization option to serializeQueryByColumns. Currently this is only available within the SerializeJSON() method.

We need an argument that we can pass in an Ajax request to get the same serialization. Currently you can pass an argument of returnFormat: "json" in any request, and when calling a remote method with a native datatype returntype it will automatically handle the json serialization. We need another argument (or extension of the current queryFormat argument) that will allow for the serializeQueryByColumns functionality. This should change the serialization of any query in the return, regardless of if the base value returned is a query, or if a query is nested inside of some other datatype return (struct, array...)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3711003

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: CutterBl
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

This would be helpful... I need 25 chars....
Vote by External U.
13434 | February 20, 2014 09:44:08 AM GMT
Big plus one here - this is required imo.
Comment by External U.
13430 | February 20, 2014 09:44:24 AM GMT
This is helpful. I need 25 chars. I like beer.
Vote by External U.
13435 | February 20, 2014 09:44:40 AM GMT
Currently one can define the app default setting... Adding support for request level property is definitely be a nice addition, but can't be taken now.. Will do it in later release..
Comment by Awdhesh K.
13431 | February 22, 2014 02:11:48 AM GMT
@Awdhesh: You are right, and honestly, I don't see folks wanting to do both, but it is inconsistent. Please be sure the docs make it clear that you cannot use this new format via url param and must specify an app setting.
Comment by External U.
13432 | February 22, 2014 07:10:00 AM GMT
Ok, I just added this.serialization.serializationqueryas = "struct"; and it still isn't working.
Comment by External U.
13433 | February 23, 2014 10:31:32 AM GMT