Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Http Filtered Value Set Sample (Javascript)

Hi,

I have a problem with the sample 'Google Movies' value set.

The line of code that does not work is:

var connector = context.getDataConnector("HttpConnector");

The connector object is null and the line
var values = connector.get(params);
doesn't work because it can't call .get() on a null value.

I've copied this straight from the sample on the jazz.net article https://jazz.net/wiki/bin/view/Main/DataSourceValueSetProviders so this is very frustrating.

Any ideas?

Henry

1 vote

Comments

Hi Henry,

I was able to follow the tutorial and do this in RTC 3.0.1.3.

Please see this blog post from Jorge for an additional code example.


Accepted answer

Permanent link
Used a different solution in the end but thank you for your help. I believe it was probably to do with the RTC version I had installed. And thanks Ralph for that blog post, very interesting.
Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link
Are you still having problems? Maybe you missed the dojo.require statement from the example?

Regards,

Jorge.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,926

Question asked: Apr 20 '12, 6:47 a.m.

Question was seen: 5,130 times

Last updated: Dec 04 '12, 4:31 a.m.

Confirmation Cancel Confirm