Forum Discussion

dchou's avatar
7 years ago

Read and write custom field

We have added custom fields on application level and message level by contacting Lithium support team.   I don't able to find a way to access it using and API. Is there any specific API  call to...
  • VikasB's avatar
    VikasB
    7 years ago

    dchou

    We created custom fields for users profile at backend only so we do not have any option to update it using GUI and we used the API call to update those fields like below

    <#assign update_json= restadmin("/users/id/${user.id}/profiles/name/field_1/set?value="+updated_json?url) />

    But in your case, custom fields are not for user's profile. So can you confirm what are those fields for? I assumed fields are created on the post page.