Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

ROQL help - get custom field on a custom object (1 Comment)

$
0
0

Topic by Sumeeth Ambati

Content

Could you please give an idea on how to retrieve a custom field on a custom object using ROQL.

I need to get "BookLong" field from "MyBook" custom object in BookInfo package.

I keep on getting the following error:

Selected column is not an object: BookLong\n

Also, Since I'm only getting a single field as opposed to entire object how do i use it in code

The following code in c# has worked for retrieving custom object

RNObject[] rnObjects = queryObjects[0].RNObjectsResult;

What should I use for just a single field.

Thanks

Sumeeth

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles