Home Analyst Portal

How to make an incident a parent from code ?

Stephane_BouillonStephane_Bouillon Customer Advanced IT Monkey ✭✭✭

Hi,

I created an incident and in code I set the IsParent property to True, however when I try to link another incident to the created one as a child, the newly created parent does not appear in the list. Do I need to do something more than setting the IsParent property ?

Stephane

Answers

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

    @Stephane_Bouillon - I'm not sure what's happening? If I do the following in the portal:

    pageForm.viewModel.set('IsParent', true)

    It makes the incident a parent and makes it available for linking to from other incidents. Are you sure it's getting set as a parent? If you check pageForm.viewModel.IsParent after saving the incident is that true?

Sign In or Register to comment.