简体   繁体   English

如何将输入参数传递给 Liquid (Json) 映射,此 map 将用于 Azure LogicApp

[英]How to pass input parameters to Liquid (Json) mapping ,this map will be used in Azure LogicApp

Generally in XSLT mapping we can pass input parameter like (eg; <xsl:param name="input:templateID "/>), Similarly is there any way that we can pass parameters for?通常在 XSLT 映射中我们可以传递输入参数,例如(例如 <xsl:param name="input:templateID "/>),同样有什么方法可以传递参数吗? .Liquid (Json) mapping? .Liquid (Json) 映射? Please let me know if there is any such...请问有没有这样的...

You can try adding/including the required parameter value into the source JSON using the Compose Action and then you can access that along with other parameters.您可以尝试使用 Compose Action 将所需的参数值添加/包含到源 JSON 中,然后您可以访问它以及其他参数。 Here are couple of reference of liquid template for JSON transform:以下是 JSON 变换的液体模板的几个参考:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-liquid-transform https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-liquid-transform

https://rokhri.com/logic-app-using-liquid-template-to-transform-json/ https://rokhri.com/logic-app-using-liquid-template-to-transform-json/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM