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

Passing data between two instances

$
0
0

Topic by Jaya Krishna Sumanth Ch

Content

Hi All,

I am trying to pass data (custom object) from one instance to another instance. Below is the list of tasks done till now.

1. Taking email as input, querying the email and fetching ID of that contact.

2. With this ID and another field querying the custom object and passing it.

3. Fetching all the values of that custom object.

4. For fields having string or integer as data type, I am able to pass data between the two instances.

5. For fields having Menu as data type, I am getting an error as cannot cast one instance type to another instance type.

I have attached a code block for reference,

ServiceReference2 is one instance.

genericFields[3].DataValue.Items[0] is the value I want to pass from ServiceReference1 instance.

Is there any way around to avoid this error or is it not possible to cast data from one instance to another.

Please help me out.

Thanks & Regards

Sumanth

Code Block

Image


Viewing all articles
Browse latest Browse all 2504

Trending Articles