Ok, I have a simple CRM extension installed in a test portal. I can’t tell you how excited I am about this feature… we’ve been begging for a way to expose some ERP data to HS CRM and this is far better that I was hoping for.
Now I have questions!!
- what’s the oath flow look like to revoke an app from a portal? I tried using the delete method here, passing the code returned from authorization… that returned a 204 like the docs said it should, but didn’t actually remove the app. It seems like there should also be a way to revoke the app without that code… developer should be able to pull it from any portal?
2)We do use HS CRM, but my real focus here is for our customer’s HS portals. Our customer base all uses an industry specific ERP. It’s almost always hosted in-house by our customers. I have developed web services to exposes the items we need for CRM from their ERP systems. Each of our customers is a different domain… so I have acme.com/api/… and othercustomer.com/api… etc.
When I create an app, with CRM Extensions, I specify the dataFetchUrl that will be used to query data by ALL instances of the app… since each instance of the app needs to look to a different domain, that’s problematic.
I see 3 options:
- Hopefully, there’s a way to change the dataFetchUrl on a per-instance basis to point that instance at the right domain?
2)a pass-through service on my servers that inspects the request from HS and then queries the appropriate client-side api and then passes the response back… seems a bit kludgy, but workable.
3)spin up a new app (not just a new instance of the same app) for each of our customers. all of the apps would be identical except for the dataFetchUri and baseUrl props. I’m not sure if there’s a hard limit on the number of apps I can have from a single dev portal? I see how I can do all of that via api’s except for actually creating an app… once it’s created I can add the CRM ext. using the app ID. Is there an api endpoint to create the app itself? This also seems kludgy, but the trouble is all up front as opposed to on each query.
Any suggestions? or some option I’m missing?