Issue with developing CRM widget

Issue with developing CRM widget

Hi all,

I'm experiencing an issue with Zoho CRM widget development for our customer. The following occuers:

Every account in CRM has multiple underlying modules with data. For a dashboard I want to load this data with a search query on de JS SDK.

Example of the code:

  1. ZOHO.CRM.API.searchRecord({Entity: modules[i], Type: "criteria", Query: "((Dossier:in:" + caseIds.join('%5C%2C') + "))"}).then(function(data){
    ///
    ///
    ///

    console.log(data);

    ///
    /// Mark as loaded
    ///
    module_statusses[modules[i]] = 'loaded';
    });
Criteria will be: 

  1. ((Dossier:in:640049000000550726%5C%2C640049000000566012%5C%2C640049000000560035%5C%2C640049000000603044))
An I also tried: 
  1. ((Dossier:in:640049000000550726%2C640049000000566012%2C640049000000560035%2C640049000000603044))
Both request return :

  1. {
  2.     "status": 204,
  3.     "statusText": "nocontent",
  4.     "$responseHeaders": {
  5.         "x-ratelimit-remaining": null,
  6.         "x-ratelimit-limit": null,
  7.         "x-ratelimit-reset": null
  8.     }
  9. }

This while the query must return some objects. I think I'm doing something wrong on the query. Can someone help me out with the right query? 

Thank you.
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方