Home Self-Service Portal - Community

can't record value of extended class

We have extended the class Trouble Ticket Analyst Comment field type string or bool and we want record in this extended field value but we can't because  our front-end can't record value in this field.
localhost/ServiceRequest/Save
 {      
        "EnteredBy": this._userService.user.Name,
        "Title": "Analyst Comment",
        "IsPrivate": false,
        "EnteredDate": nowTime,
        "LastModified": nowTime,
        "Description": data,
         "isNewApp": true, // this data didn't record
        "DescriptionDisplay": data,
        "Image": "/Content/Images/Icons/ActionLogIcons/comment.png",
        "ActionType": "AnalystComment",
        "BillableTime": {
          "BasedId": null,
          "DisplayName": null
        },
        "LastUpdatedDisplay": null
      }; 
 

Answers

  • Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Hi Roman,

    Can you explain a little more about how you did this? I've never tried but i would have thought this would be handled by the Portal.

    Geoff
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Hi Roman,

    Can you explain a little more about how you did this? I've never tried but i would have thought this would be handled by the Portal.

    Geoff
    I have two ServiceRequest when create first SR and analyst create comment SCSM must send notification with link on this SR, but when create second SR and analyst create comment SCSM must sent notification whith other link. I need to split notification. I extend class Trouble Ticket Analyst Comment what would additional criteria for split but I can't record extended field from front-end, maybe there is another solution to this problem?
  • Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Roman,

    Its this bit I'm still confused by. What steps are you trying for this?

    I can't record extended field from front-end

    Geoff
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Roman,

    Its this bit I'm still confused by. What steps are you trying for this?

    I can't record extended field from front-end

    Geoff
    We can save object localhost/ServiceRequest/Save but  extension field "isNewApp": true, // this data didn't record

    localhost/ServiceRequest/Save
     {      
            "EnteredBy": this._userService.user.Name,
            "Title": "Analyst Comment",
            "IsPrivate": false,
            "EnteredDate": nowTime,
            "LastModified": nowTime,
            "Description": data,
             "isNewApp": true, // this data didn't record   -----------------------------------------------------
            "DescriptionDisplay": data,
            "Image": "/Content/Images/Icons/ActionLogIcons/comment.png",
            "ActionType": "AnalystComment",
            "BillableTime": {
              "BasedId": null,
              "DisplayName": null
            },
            "LastUpdatedDisplay": null
          }; 
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Roman,

    Its this bit I'm still confused by. What steps are you trying for this?

    I can't record extended field from front-end

    Geoff
    https://community.cireson.com/discussion/4675/notification-trouble-ticket-analyst-comment/p1?new=1
    I'm trying to solve the problem in another way, could you see?
Sign In or Register to comment.