问题
How do I get up my connections to show up in the designer ?
In my logicapp.json
file I am setting the connection names to be functions of parameters like so:
"variables": {
"servicebus_1_Connection_Name": "[concat('servicebus-',parameters('logicAppName'))]",
"azureblob_1_Connection_Name": "[concat('blob-',parameters('logicAppName'))]"
},
However the designer doesn't like this:
When deploying, the connections show up no problem:
回答1:
Try using parameters
instead of variables
for this. Variables need to be instantiated while parameters only need to be declared, bear in mind that you will need to declare the parameter in both the logic app template and in the arm deployment template in the logicapp.json
file and also in the logicapp.parameters.json
file.
回答2:
Click anywhere on the logic app, then press F4 to get the properties of the logic app:
Change the resource group to the appropriate one that has your connections!
After going through the above 2 requirements, your connections will be displaying correctly.
来源:https://stackoverflow.com/questions/56693978/when-converting-parameters-to-variables-connections-are-broken-at-dev-time