Skip to content
Developerhome

Custom property

  Less than to read

An additional field called _customField exists on every node defined as customizable.

_customField is a JSON structure that stores the name of every custom column and its corresponding value.

The following table displays how two custom properties, rating and marketingDate, were added to the item node:

{ 
  xtremMasterData{ 
    item{ 
      query (filter: "{_customData: { _ne: null}}"){ 
        edges { 
          node { 
            id 
            _customData 
          } 
        } 
      } 
    } 
  } 
}
{ 
  "data": { 
    "xtremMasterData": { 
      "item": { 
        "query": { 
          "edges": [ 
            { 
              "node": { 
                "id": "PIE_BLUEBERRY", 
                "_customData": "{\"rating\":25,\"marketingDate\":\"2023-08-17\"}" 
              } 
            } 
          ] 
        } 
      } 
    } 
  }, 
  "extensions": { 
    "diagnoses": [] 
  } 
}