when converting parameters to variables, connections are broken at dev time

巧了我就是萌 提交于 2019-12-02 19:59:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!