Analyst Portal not retaining/saving custom list values
Proccess before adding new custom fields:
1. Extended the Incident Class
2. Added new Custom Properties and changed to List
3. Sealed MP and imported into SCSM.
Incident.JS customizations
I have added the EnumID to the Incident JS utilizing the same format as the classification but no luck
Is there's anything missing?
Here's part of the code:
{ DataType: "Enum", PropertyDisplayName: "Symptom", PropertyName: "Symptom",Required: true, EnumId:'06d806f0-9c0f-7cf7-4caa-8ca043793a0a' },
Here's the screens:
Selected and after saving goes blank again
Any help will be more than appreciated. I have created an incident with Cireson but no responses yet.
Best Answers
-
Joe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭@David_Acevedo
Must have a different property name, try run this and look at the full output for the property and value:
Get-SCSMObject -Class (get-scsmclass system.workitem.incident$) -Filter "id -eq IR1422" | select *
5 -
David_Acevedo Customer IT Monkey ✭@Joe_Burrows
Thank you very much sir, this helped me solve the issue.
Figure that I had a typo in my enumerations ID and property names. Updated with the correct name and now it's working like a champ.
0
Answers
Those are the correct steps to follow.
In most cases if the list value doesn't save to the property its when the property name on the custom form is incorrect.
Can you confirm that the property name in your extension is "Symptom"?
Does it show on the extension tab in the SCSM console and save OK?
Get-SCSMObject -Class (get-scsmclass system.workitem.incident$) -Filter "id -eq IR68271" | select Symptom
However, the portal history shows the modified values and on the SCSM console, the value is assigned.
Not why is this happening, I have other custom values on the Change Request side and it's working like a champ but incident no luck
Must have a different property name, try run this and look at the full output for the property and value:
Get-SCSMObject -Class (get-scsmclass system.workitem.incident$) -Filter "id -eq IR1422" | select *
Thank you very much sir, this helped me solve the issue.
Figure that I had a typo in my enumerations ID and property names. Updated with the correct name and now it's working like a champ.