I have to manually export/import our Canvas app from the dev environment to the prod environment. I have to change the calls to point from our dev Custom Connector to our production Custom Connector before importing to prod. When I unpack the .msapp file and do a cntrl+f in the project for where our dev custom connector is referenced, I'm seeing 56 results in 12 files:
There are obvious places where I can do a simple replace with the name of the custom connector. Are there places I might overlook and not replace? Do I need to recreate this CMTAPI.xml file for our prod Custom Connector? (CMTAPI is our dev Custom Connector). Are there any known scripts that will do all of this for me? Thanks.
Hi @aec2018 ,
Maybe a slightly different angle to the issue, but environment variables may be the way to go here:
https://learn.microsoft.com/en-us/connectors/custom-connectors/environment-variables
@BCBuizer, thanks for the info. I was introduced to environment variables recently but there are a few reasons why I don't think they'll work for our situation. We're not creating our custom connector in a solution because from my understanding, solution custom connectors can only give permissions to individual users and not Azure Active Directory Security Groups, which is a requirement for us. Also, I thought from what I read, environment variables only work with Sharepoint data sources? Our custom connector points to our custom API. I'll look more into it, though, and see if I overlooked how these could work for us. Thank you.
User | Count |
---|---|
253 | |
125 | |
106 | |
50 | |
49 |