Home Analyst Portal

Custom MA Form for special extended MA class.

Brian_WinterBrian_Winter Customer Advanced IT Monkey ✭✭✭

I have build an extended MA - Manual Activity - Build, which adds several fields needed to build a workstation.

Problem #1: When I put these fields in the JSON form, they are visible on all MAs. Even if I limit it to the Workstation support group, they still see the additional fields.

Problem #2: Even if Problem #1 is acceptable, on actual Build MAs need these fields to be Required, while all the others would be optional.

What would be the strategy to build this out?

Maybe some 'hide the fields' JavaScript?

A special form for the special class (this seems nigh impossible)?


  • Options
    Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    @Brian_Winter - You're right that a custom form probably won't be possible. Custom js to hide, unhide, require, and unrequire will probably be the way to go. To register a custom task, you'll need to specify the full classname:

    app.custom.formTasks.add("System.WorkItem.Activity.ManualActivity", null, (formObj, viewModel) => {

    //do some stuff here


Sign In or Register to comment.