Fabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. 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