{"id":770,"date":"2020-05-16T05:18:14","date_gmt":"2020-05-16T05:18:14","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/?post_type=lsvr_kba&#038;p=770"},"modified":"2020-05-16T05:37:51","modified_gmt":"2020-05-16T05:37:51","slug":"zoho-api-name-notation-change","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/knowledge-base\/zoho-api-name-notation-change\/","title":{"rendered":"Zoho API Name Notation Change"},"content":{"rendered":"\n<p>Dear Customer,<\/p>\n\n\n\n<p>Zoho Team is in the process of moving from <strong>Dot <\/strong>(.) notation in API Names to the <strong>Double Underscore<\/strong> ( _ _ ) notation for all components created in Zoho Extensions.<\/p>\n\n\n\n<p>Usage of <strong>Dot notation<\/strong> will be deprecated by May 20th 2020,&nbsp;<\/p>\n\n\n\n<p>Zoho Team will migrate all the orgs and extensions by 20th May to compatible versions. All the Orgs having SMS-Magic Interact version 11 or later, will be migrated by Zoho to SMS-Magic Interact version 22.<\/p>\n\n\n\n<p>SMS Magic has released version 22 on <a href=\"https:\/\/marketplace.zoho.com\/crm\/sms-magic#overview\" target=\"_blank\" rel=\"noreferrer noopener\">Zoho Marketplace<\/a>, You can update it by yourself manually from <a href=\"https:\/\/marketplace.zoho.com\/crm\/sms-magic#overview\" target=\"_blank\" rel=\"noreferrer noopener\">Marketplace<\/a> to version 22.<\/p>\n\n\n\n<p><strong>How it will impact SMS Magic Customers<\/strong> -:<\/p>\n\n\n\n<p>All the API Name references will be updated to the new notation throughout our extension (Custom Function, Widget Code, External API&#8217;s ),<\/p>\n\n\n\n<p>If you <strong>do not have <\/strong>any custom function\/Widget Code or External API\u2019s implemented, then you just need to upgrade the extension.<\/p>\n\n\n\n<p>In ZOHO CRM, go to Setup &gt; Developer Space &gt; APIs. If the API dashboard displays a banner that your application uses the v1.0 APIs and you have any custom function\/Widget Code or External API\u2019s implemented, you need to make sure that old notations are replaced with new notations as mentioned in below example-:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Old Notation: smsmagic4.ExternalId , smsmagic4.SMS_History\nNew Notation: <em>smsmagic4__ExternalId , smsmagic4__SMS_History<\/em><\/strong><\/pre>\n\n\n\n<p>For more information, please refer to <a href=\"https:\/\/help.zoho.com\/portal\/en\/community\/topic\/migration-of-zoho-crm-apis-and-functions-to-v2-0\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/help.zoho.com\/portal\/en\/community\/topic\/migration-of-zoho-crm-apis-and-functions-to-v2-0<\/a> .<\/p>\n\n\n\n<p>Attaching sample code snippets to highlight the changes required in custom functions and widgets below.<\/p>\n\n\n\n<p><strong>Custom Functions :\u00a0<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Old Notation:<\/strong>\nnewRecordInfo = Map();\nnewRecordInfo.put(\"Name\",\"Property One\");\nnewRecordInfo.put(\"<strong>sample.Apartment_Name<\/strong>\",property.get(\"<strong>sample.Apartment_Name<\/strong>\"));\nresponse = zoho.crm.create(\"<strong>sample.Properties<\/strong>\",newRecordInfo);\ninfo response;<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>New Notation:<\/strong>\nnewRecordInfo = Map();\nnewRecordInfo.put(\"Name\",\"Property One\");\nnewRecordInfo.put(\"<strong>sample__Apartment_Name<\/strong>\", property.get(\"<strong>sample__Apartment_Name<\/strong>\"));\nresponse = zoho.crm.create(\"<strong>sample__Properties<\/strong>\", newRecordInfo);\ninfo response;<\/pre>\n\n\n\n<p><strong>Widgets :\u00a0<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Old Notation:<\/strong>\nZOHO.CRM.CONFIG.getOrgVariable(\"<strong>sample.oauthtoken<\/strong>\")\n.then(function(data){\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0console.log(data);\n});\nvar recordData = {\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"<strong>sample.Apartment_Name<\/strong>\": \"Skyline\",\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Name\": \"Property One\"\n}\nZOHO.CRM.API.insertRecord({Entity:\"<strong>sample.Properties<\/strong>\", APIData:recordData})\n.then(function(data){\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0console.log(data);\n});<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>New Notation:<\/strong>\nZOHO.CRM.CONFIG.getOrgVariable(\"<strong>sample__oauthtoken<\/strong>\")\n.then(function(data){\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0console.log(data);\n});\nvar recordData = {\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"<strong>sample__Apartment_Name<\/strong>\": \"Skyline\",\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Name\": \"Property One\"\n}\nZOHO.CRM.API.insertRecord({Entity:\"<strong>sample__Properties<\/strong>\",APIData:recordData}).then(function(data){\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0console.log(data);\n});<\/pre>\n\n\n\n<p><strong>How to upgrade to New Extension Version<\/strong> -:&nbsp;<\/p>\n\n\n\n<p>Extension will be automatically updated by Zoho team on 20th May or You can update it by yourself manually from <a href=\"https:\/\/marketplace.zoho.com\/crm\/sms-magic#overview\" target=\"_blank\" rel=\"noreferrer noopener\">Marketplace<\/a> to version 22.0.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Got to ZOHO Marketplace, Open SMS-Magic Extension Listing.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"560\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-1-1024x560.png\" alt=\"\" class=\"wp-image-783\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-1-1024x560.png 1024w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-1-300x164.png 300w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-1-768x420.png 768w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-1.png 1424w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Click on Install to start the upgrade process -:&nbsp;<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"723\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-2-1024x723.png\" alt=\"\" class=\"wp-image-784\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-2-1024x723.png 1024w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-2-300x212.png 300w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-2-768x542.png 768w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-2.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Once you click on Install, it will give you details about the upgrade (current version of SMS Magic Extension along with a new extension it is going to update to).<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-3-1024x726.png\" alt=\"\" class=\"wp-image-785\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-3-1024x726.png 1024w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-3-300x213.png 300w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-3-768x544.png 768w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-3.png 1057w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>You need to select \u201cI have agreed to the Terms of Service\u201d and \u201cI authorize SMS Magic Interact to access and process my data required.\u201d checkboxes so that you continue with the upgrade.<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>Choose Users\/ Profiles to which it should be accessible and confirm&nbsp;<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"312\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-4.png\" alt=\"\" class=\"wp-image-786\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-4.png 512w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-4-300x183.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>After Successful upgrade, the below screen will appear. It means the upgrade process of SMS magic Extension which is compatible with new API 2.0 of ZOHO is done.&nbsp;<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-5-1024x640.png\" alt=\"\" class=\"wp-image-787\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-5-1024x640.png 1024w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-5-300x188.png 300w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-5-768x480.png 768w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/05\/zoho-update-image-5.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>You should be able to use SMS Magic Package hassle free. For assistance or queries, please contact <a rel=\"noreferrer noopener\" href=\"mailto:care@screen-magic.com\" target=\"_blank\">care@screen-magic.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dear Customer, Zoho Team is in the process of moving from Dot (.) notation in API Names to the Double Underscore ( _ _ ) notation for all components created in Zoho Extensions. Usage of Dot notation will be deprecated by May 20th 2020,&nbsp; Zoho Team will migrate all the orgs and extensions by 20th [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[24],"lsvr_kba_tag":[],"class_list":["post-770","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-important-announcements"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":10,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/770\/revisions"}],"predecessor-version":[{"id":789,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/770\/revisions\/789"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba_cat?post=770"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba_tag?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}