How to Create a Custom Task for one Custom Class
Hi,
how can i create a custom task for a custom ConfigItem Class?
regards,
Jan
Best Answer
-
Shane_White Cireson Support Super IT Monkey ✭✭✭✭✭
Hi Jan,
Try this!
app.custom.formTasks.add('<CustomClassName>',"Hello World", function(formObj, viewModel){
alert('Hello World!')
});
Example I used:
app.custom.formTasks.add('Microsoft.Windows.Computer',"Hello World", function(formObj, viewModel){
alert('Hello World!')
});
Thanks,
Shane.
6
Answers
Hi Jan,
Try this!
app.custom.formTasks.add('<CustomClassName>',"Hello World", function(formObj, viewModel){
alert('Hello World!')
});
Example I used:
app.custom.formTasks.add('Microsoft.Windows.Computer',"Hello World", function(formObj, viewModel){
alert('Hello World!')
});
Thanks,
Shane.