Skip to content
Developerhome
Sage Distribution and Manufacturing Operations

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 the two rating and marketingDate custom properties were added to the item node. Some of the fields displayed are not mandatory and others have been omitted.

{ 
  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": [] 
  } 
}