It's all about the answers!

Ask a question

Http Filtered Value Set Sample (Javascript)


Henry Armburg Jennings (13076) | asked Apr 20 '12, 6:47 a.m.
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

Comments
Alicia McPherson commented Jun 05 '12, 4:39 p.m.

Hi Henry,

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


Ralph Schoon commented Nov 30 '12, 7:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

Accepted answer


permanent link
Henry Armburg Jennings (13076) | answered Dec 04 '12, 4:31 a.m.
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

One other answer



permanent link
Jorge Diaz (8664234) | answered Dec 03 '12, 6:35 a.m.
JAZZ DEVELOPER
Are you still having problems? Maybe you missed the dojo.require statement from the example?

Regards,

Jorge.

Your answer


Register or to post your answer.