How to avoid duplicates in custom modules

How to avoid duplicates in custom modules

I am using the Zoho CRM API in a VB.NET program and have been successfully inserting records into modules, using the duplicate check feature such that records are either inserted or updated as appropriate.  The records to be inserted/updated are in the form of a daily csv file  - some new records, some existing records, but none of them have Zoho IDs.

 

The challenge I now have is with custom modules – I understand that duplicate checking is not available in custom modules.  So my plan is this:

 

·         Search for record already existing in Zoho

·         If it does, update it

·         If it doesn’t, insert it

Alternatively I could delete all records in the custom module, then re-insert all the records from the csv file.


The problem I have is, as I understand it, I need the unique ID of a record to update or delete it, yet I can find no way to obtain the record ID as part of the search response.  Also, there appears to be limitations on how frequently and how many times per day searchRecords can be called.

 

Any help you can give on the above scenario would be greatly appreciated.


Regards,


Andy

      Zoho Developer Community









                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl 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





                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now