Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update read-only field via API?

Alibek Zhubanyshev
Contributor
January 23, 2025

I have to update custom field via API which is configured as read-only via screens. 

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2025
Alibek Zhubanyshev
Contributor
January 23, 2025 edited

standard description/summary, custom date field and custom text field

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2025

Hi @Alibek Zhubanyshev 

As you mention to @Nikola Perisic is correct, but if you want to edit it via the API.

It needs to be on the screen

Alibek Zhubanyshev
Contributor
January 24, 2025

Yes, it needs to be on Edit screen, hence it is not read-only anymore.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2025

Hi @Alibek Zhubanyshev 

You could use custom fields of the type Read-Only.

This field will always be read-only, but you can still update this field via the API.

Alibek Zhubanyshev
Contributor
January 24, 2025

yes, but it is only for text field, what about date type field?

0 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 23, 2025

Hi @Alibek Zhubanyshev 

You can try using the PUT method and the /rest/api/3/field/{fieldId} endpoint.

Alibek Zhubanyshev
Contributor
January 23, 2025

PUT method doesn't work if the field is not in edit screen

Suggest an answer

Log in or Sign up to answer