JsAPI Filter Array - Between Filter

Stephen Van Rooyen shared this problem 6 years ago
Resolved

In reading the Wiki page on JsAPI and passing filter values, it states the following:

b1d7d77504efa6f18acc77af3f15d7f0

When passing an array of integers into a Between filter, as stated above, I'm getting a JS error:

b018c032c0a7d564e2a0d90c8699a00a

Replies (2)

photo
1

Hi Stephen,

Thanks for reaching out with this issue. I've replicated this behavior and can confirm that a between filter is not accepting an array of integers, as documented.

I've raised this as a Defect in our internal ticketing system, and logged a request to review this documentation.

In the meantime, it's possible to work around this issue by issuing an array of strings instead. Since this work around is fairly easy, I've adjusted the priority of the task accordingly. This may also be the result of outdated documentation as opposed to a Defect, so I'll keep you updated here.

Thanks,

Ryan

photo
1

Hello Stephen,

I wanted to come back to this issue and let you know that we have decided not to address the behavior in the legacy JS API. Please consider the JS API v3 moving forward. Significant improvements have been made in this new version, with details available on the Yellowfin Wiki - JavaScript API v3. If you have any questions please reach out.

Have a great day!

Ryan

Replies have been locked on this page!