ZohoDevelopers / embeddedApp-js-sdk

Js SDK for Zoho Embeded app
Apache License 2.0
48 stars 27 forks source link

SDK stuck on `v2` API, need to use `v2.1` for new Metadata APIs #20

Closed tjh-bluroot closed 3 months ago

tjh-bluroot commented 1 year ago

I do not see any way to have the SDK in the widget make use of the new v2.1 API. When inspecting the browser console while running a widget, and using the META APIs, I can see that the v2 APIs are being called.

Is there a way to make requests through this SDK using the newer API versions (v2.1, or even v3)?

LouisStanley commented 1 year ago

Use the below, for some reason this older release I found has some V2.1 APIs in it.

https://live.zwidgets.com/js-sdk/1.0.6/ZohoEmbededAppSDK.min.js http://help.zwidgets.com/help/v1.0.6/ZOHO.CRM.API.html

tjh-bluroot commented 1 year ago

I have noticed that some methods on the SDK do use the v2.1 endpoints. In fact, I use the 1.0.6 version of the SDK already. However, I am specifically interested in using the v2.1+ endpoints for the Metadata APIs.

aadhil-kh commented 1 year ago

@tjh-bluroot You may consume v2.1+ endpoints with Zoho CRM Connections https://help.zwidgets.com/help/v1.2/ZOHO.CRM.CONNECTION.html#.invoke