Open tharunkumarholiga opened 7 years ago
You don't need to edit _def.xml by yourself. Once you put your scipt into webcommander/powershell/any_sub_folder/, just click "generate command definition" on home page. It will parse your powershell script and add a new command section into _def.xml automatically.
Everything worked fine. But apart from the inbuilt Scripts none of the others scripts are displaying the results. even though the code is 4488. do i need to any changes. or can I export the result.
The result depends on script output. If keyword "Fail -" shows in output, it's compared to known errors to get a specific error code. If no "Fail -" is found in output, it's considered as a success, hence given code 4488. Please refer to builtin scripts about how to use output functions, such as writeCustomizedMsg and writeStdErr.
The above is the one which I added in _def.xml file in powershell folder. I see the Icon and when I click it it doesnt take me to next page to provide input. I also changed the permission on the file still I see the same Issue.
Do i need to do anything else.