Set LastModifiedSource to Portal when saving IR
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
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