Skip to main content
Question

Update custom field via graphql api call

  • November 12, 2025
  • 1 reply
  • 16 views

Hello experts, I have defined a Multipleselect custom field in Interface FactSheet and I would like to know how to set values via GraphqlAPI

 

 

According to documentation it would be enough to point the Key but performing for example an update I’m receiving the error of undefined field.

I tried also to point several paths assuming to address subpath but similar error

 

 

Any idea on how to deal this stuff?

Tnank you very much!

 

1 reply

Thomas Schreiner
Forum|alt.badge.img+3
  • Everlasting Love
  • 384 replies
  • November 12, 2025

Hi ​@Enrico Barsali, the fields Provider_Protocol and Consumer_Protocol are not fact sheet fields but relation fields. You added them to the relation to the consumer (or provider) application, not to the interface. So you need to use the GraphQL method to update relations, not fact sheets.

I don’t know the correct method by heart, but you can simply edit a relation in the browser while having the developer console switched on, so that you can see what LeanIX is doing.