Home Analyst Portal

One custom task for all WI

Vladimir_BudyakVladimir_Budyak Customer IT Monkey ✭
edited December 2016 in Analyst Portal

I need to create a custom task that allows to print WI data (SR/IR/CR/PR).

How can I make one script block for all WI?

Example for IR:

<p>$(document).ready(function () {<br>app.custom.formTasks.add(<i><b>'Incident'</b></i>, localization.Print, function (formObj, viewModel) {</p><p><b>...</b></p><p>});</p>

Best Answer

Answers

  • Vladimir_BudyakVladimir_Budyak Customer IT Monkey ✭

    Hi Geoff,

    But the Cireson own tasks are working on ALL WI (e.g. print or sendEmail)

  • Vladimir_BudyakVladimir_Budyak Customer IT Monkey ✭

    I did it!

    I have created own version of "Cireson Task" (not "Custom Task").

    "Own task" is necessary to register in the file "taskBuilder.js" and add to the list of tasks in the file "wiMain.js"

    Thanks!

Sign In or Register to comment.