IT Monkey:   Click Here to Help Me Build the Agenda for Upcoming Cireson Webinars!

Set LastModifiedSource to Portal when saving IR

David_DarlingDavid_Darling IT Monkey ✭Customer IT Monkey ✭

We require the LastModifiedSource property of the Incident class to be set to Portal everytime an Incident record is saved via the Cireson Analyst Console.


We've accomplished this by modifying C:\inetpub\CiresonPortal\Scripts\forms\wiMain.js to include the following code in the "save" function:


if (pageForm.type === 'Incident') {
  pageForm.viewModel.LastModifiedSource.set("Id", "6ef191ce-3124-2974-94fb-020c677f4017");
        }


Our question is this -- obviously it's not desirable to make these kinds of changes in the OOTB code -- is it possible to include this behavior somehow in custom.js?


Thanks!



Answers

  • Tony_CollettTony_Collett Super IT Monkey ✭✭✭✭✭ Cireson Support Super IT Monkey ✭✭✭✭✭
    edited September 2016
    It sounds to me like the LastModifiedSource should already be set to the portal if the work item was last modified on the Portal.
    I just tested it and it was not updating to the portal list item
    I'll have a chat to developers to see if this is supposed to be populated
Sign In or Register to comment.