2021-09-23 03:46 AM
Cannot figure what is the error. Please assist. Thanks, Lisa
display of the postbody:
postbody: {"Content":{"LevelId": 1472,"FieldContents": {"108193": { "Type": 1,"Value": "RatingBU", "FieldId": 108193}}}}
postbody2: "{\"Content\":{\"LevelId\": 1472,\"FieldContents\": {\"108193\": { \"Type\": 1,\"Value\": \"RatingBU\", \"FieldId\": 108193}}}}"
2021-09-23 04:13 PM
2021-09-23 09:04 AM
@eyambao, what's the exact error message you're getting?
Advisory Consultant - Archer, an RSA Business
2021-09-23 01:57 PM
I was able to figure it out, I need to put the text value in single quotes 'RatingBU' and then just past the postbody without converting it into JSON string.
postbody: {"Content":{"LevelId": 1472,"FieldContents": {"108193": { "Type": 1,"Value": 'RatingBU', "FieldId": 108193}}}}
Is there a way to bypass required fields?
2021-09-23 04:11 PM
is there a method or function to get the content id of the record i'm viewing/editing in javascript?
2021-09-23 04:13 PM
Yes, getRecordId()
Advisory Consultant - Archer, an RSA Business
2021-09-23 04:25 PM
Thank you. It worked.
2021-09-24 02:40 PM
Do you have any sample javascript code for statistical report search?
2021-11-16 02:18 PM - edited 2021-11-16 02:49 PM
2021-11-17 09:10 AM
@eyambao, I'm not familiar with $TM and it's not something from Archer that I know of. I couldn't even find a function call traceFieldChange(). At least in the current version of Archer.
Advisory Consultant - Archer, an RSA Business