Hi,
I am using custom template parameter file ('template-parameters-definition.json file') in the root folder of git branch to expose the required artifact properties which are missing in default template (TemplateParametersForWorkspace.json). I was able to expose the required properties needed, but only seeing issue with the triggers.
Let me explain my query in detail:
This is the code I'm using in template-parameters-definition.json file for trigger section (Microsoft.synapse/workspaces/Triggers)
"Microsoft.Synapse/workspaces/triggers": {
"properties": {
"pipelines": [
{
"pipelineReference": {
"referenceName": "=",
"type": "="
},
"parameters": {
"*":"="
}
}
],
"typeProperties": {
"scope": "="
}
}
}
After publishing this code, Iam seeing the incorrect/invalid parameter in TemplateParametersForWorkspace.Json file as below.
"TriggerName_properties_0_parameters_Parameter":
It should look like below which was reflecting correctly with the default template.
"TriggerName_properties_PipelineName_parameters_Parameter":
Not sure, if it's because the there is an array object pipelines.
I'm using this for event trigger, please let me know if the json code in custom template parameter file have to be modified or provide me the json sample needs to be used for Event trigger to get the proper parameter in templateparamaterForWorkspace file?
@AnnuKumari-MSFT @Bhargava-MSFT
Please assist on this?