For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 1 0 3

"The string 'DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'Composite'' is not a valid enumeration type constant."}

Hi,


I just moved to the new version of the sdk refinitiv with the new url.

using a batch file of composite, keep getting this following error

"The string 'DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'Composite'' is not a valid enumeration type constant."}

when reaching this code part -

var availableFields = ExtractionsContext.GetValidContentFieldTypes(ReportTemplateTypes.Composite);

the RESTAPIExampleApplication will work just fine after making the relevant changes.


Any ideas?

Yaniv

dss-rest-apidatascope-selectdss
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
38.1k 71 35 53

@YD

I have tested it with the DSS REST API Toolkit 15.0 and it works fine.

The code is:

var availableFields = extractionsContext.GetValidContentFieldTypes(ReportTemplateTypes.Composite);

DebugPrintAndWaitForEnter("Content Fields: " + availableFields.Count());

The output is:

Content Fields: 3104

Please verify the version of the DSS .NET SDK and .NET framework used by the application.



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
5 1 0 3

Hi,

After reviewing again all project files, apparently some were still referenced to the old components,

After fixing it issue was resolved.

thank you!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea