oData JavaScript - Fitlering using an option set RRS feed

  • Question

  • Hello,

    I have got 2 custom entities "Classifications" and "Dictionaries".

    A case record can have more than one Classifications.

    A dictionary record has an option set called - Classifications Types

    Goal: From a case level, using oData JavaScript I need to retrieve a dictionary record where Classification Types(dictionary) equals the Classification on the case.

    My problem: Classification Types is a option set and Classification on Case is a lookup, so how do I use a oData Rest filter the dictionary record?



    Thursday, February 18, 2016 4:20 PM

All replies

  • Hi Paul,

    You cant use two different datatypes (option set & Lookup) for comparison which is to be used in filter condition.

    You need to chose some other approach for this.

    Friday, February 19, 2016 8:21 AM