ComponentOne Studio Web API Edition
GetUniqueValues(String,String,EngineRequest) Method

The data source key specifies the data.
The key of the field which unique values you want to get.
The engine request.
Gets the unique values of a field.
Syntax
'Declaration
 
<HttpPostAttribute()>
<RouteAttribute("{dataSourceKey}/fields/{fieldname}/uniquevalues")>
Public Overridable Function GetUniqueValues( _
   ByVal dataSourceKey As String, _
   ByVal fieldname As String, _
   ByVal er As EngineRequest _
) As IHttpActionResult
[HttpPost()]
[Route("{dataSourceKey}/fields/{fieldname}/uniquevalues")]
public virtual IHttpActionResult GetUniqueValues( 
   string dataSourceKey,
   string fieldname,
   EngineRequest er
)

Parameters

dataSourceKey
The data source key specifies the data.
fieldname
The key of the field which unique values you want to get.
er
The engine request.

Return Value

The unique value list.
Remarks
Now only the DataEngine data and the in-memory data support this action. The cube data doesn't support it.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataEngineController Class
DataEngineController Members

 

 


Copyright © GrapeCity, inc. All rights reserved.