Home Analyst Portal

Custom Task with enum picker

Valerie_SirouxValerie_Siroux Customer IT Monkey ✭
Hi

I'm trying to create a Custom Task with an enum pickeR. For example to set the Service Request area.
I followed the example on the Support Portal with the resolution category. 
In my custom task I can select an Area properly, but it doesn't save the value I select.

Am I missing some step?

Code attached.

Thanks !!

Best Answer

Answers

  • Roland_KindRoland_Kind Partner Advanced IT Monkey ✭✭✭

    Hi,

    maybe the following link will help you, too:

    https://community.cireson.com/discussion/comment/4354#Comment_4354

    (refer to the last posting)

    regards

    Roland


  • Valerie_SirouxValerie_Siroux Customer IT Monkey ✭
    Thanks Roland

    But it's not really helping me. I'm not able to get the selected value from my custom task and use this to update the field. 

    I followed this example: https://support.cireson.com/KnowledgeBase/View/1195#/
    Only instaed of using Incident Resolution Category; I'm using Service Request Area.

    I'm able to select the correct Area. But it's not updated when I clik OK on my custom task
  • Konstantin_Slavin-BoKonstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭
    edited November 2017
    @Roland_Kind @Valerie_Siroux
    You are not saving the value back to the form. You can use something like viewModel.set("FIELDHERE", {ID: ID_FROM_PICKER, Name: NAME_FROM_PICKER});

    Edit: I meant Valerie not Roland, sorry.
  • Valerie_SirouxValerie_Siroux Customer IT Monkey ✭
    Perfect - Thanks !!
Sign In or Register to comment.