11 Replies Latest reply on Jun 27, 2016 10:12 PM by Rob Roberts

    Problem Rho::RhoContact.find

    Fernando Coelho da Silva

      Rho :: RhoContact.find () is not working in Rhodes 5.0.2 version, or am I doing something wrong, will someone help me?

       

      if System::get_property('platform') == 'APPLE'

            contact = {

                "first_name" => @params['first_name'],

                "mobile_number" =>  "(" + @params['mobile_number_ddd'] + ") " + @params['mobile_number'],

                "person_note" => @params['addressDescription'] + " " + @params['addressNumber'] + " " + @params['neighborhood'] + " " + @params['cityName'] + " " + @params['cityUF']

            }

          else

            contact = {

                "first_name" => @params['first_name'],

                "mobile_number" =>  "(" + @params['mobile_number_ddd'] + ") " + @params['mobile_number']

            }

          end

       

          @contact2 = Rho::RhoContact.find(contact)