Recent searches
No recent searches

Ken
Joined Feb 12, 2025
·
Last activity Feb 12, 2025
Following
0
Followers
0
Total activity
1
Votes
0
Subscriptions
0
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Ken
Ken created a post,
I'm buidling a server-side custom app, using the ZAFClient. I am able to fetch data off the main page with JS such as “client.get('ticket.requester.email')”. This is working fine.
However, I want to update a custom attribute in the main page, but it is not working. I have tried:
client.set('ticket.customField:custom_field_29842705376151', 'Yes')
and also
const data = {
ticket: { 29842705376151: value }};
client.request({url: url, type: 'PUT', data: data})
(I've also tried turning the key into a string, e.g. ‘29842705376151’)
In both cases the call succeeds, the response object contains no errors, but the data on the main page is not updated.
What am I doing wrong?
Posted Feb 12, 2025 · Ken
2
Followers
2
Votes
1
Comment