Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Is there any way to set a stored procedure parameters name as input variables and not as fixed strings?
I'd like to pass @item().param_name as variable as follows:
I've seen a possible solution, that is passing through Dynamic Content of source settings the full json string with parameters configuration as follows:
@json(string({"Params":{"ParameterName1":{"value":"ParameterName1Value","type":"String"}}}))@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}')))
Which is the json struct format that Dynamic Content needs?
Solved! Go to Solution.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params
Hi @amaaiia ,
Glad to know that you were able to get to a reoslution. Please continue using Fabric Community on your further queries.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.