Support Questions
Find answers, ask questions, and share your expertise

conformRegex is not working in custom CSD.

conformRegex is not working in custom CSD.

New Contributor

Hi,

I am writing a custom service in which I need to take a string parameter. CDH version 6.2. The parameter should accept the spaces as well. I am using the field "conformRegex" for the same. Below is the snippet I am using in service.sdl which accepts all the strings(".*"). But it doesn't seem to be working.

 

"parameters": [
{
"name": "QGM_TOKEN_URL",
"label": "URL for the tdqg-node.json file",
"configName": "qgm.token.string",
"description": "QGM Token URL",
"configurableInWizard": true,
"required": "true",
"type": "string",
"conformRegex": ".*"
}
]

 

Can anyone help how to achieve this?