Button that passes CRM Record to Creator Form

Button that passes CRM Record to Creator Form

Hi I want to create a button that takes a CRM record and imports into a Creator App.

If I understand this correctly, I need to write a deluge function that:
1. Collects the record
2. Creates a Map and Map fields from CRM to Creator
3. Send that over to Creator see below:

1. Collects the record
ClientLeadCollection = zoho.crm.getRecordById("Leads", LeadId);
First_Name = ifnull(ClientLeadCollection.get("First_Name"),"");
Last_Name = ifnull(ClientLeadCollection.get("Last_Name"),"");

etc...

2. Creates a Map and Map fields from CRM to Creator

myMap = Map();
myMap.put("Client_First_Name",First_Name);
myMap.put("Client_Last_Name",Last_Name);

etc...

3. Send that over to Creator see below:

CreateRecord = zoho.creator.createRecord("my_admin","myCreatorAppName","FormName",myMap,Map(),"zoho_creator");

Does that format look right?
    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 コンテンツ




                              ご検討中の方