You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/admin-ui-sdk/extension-points/customer/grid-columns.md
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,9 @@ It leverages API Mesh [JSON Schemas handler](https://developer.adobe.com/graphql
77
77
78
78
### Sample runtime action to retrieve data
79
79
80
-
This sample `get-customers` runtime action is referenced in the mesh configuration file. It defines the path to the runtime action to retrieve the data of custom columns.
80
+
The `get-customers`sample runtime action is referenced in the mesh configuration file. It defines the path to the runtime action that retrieves the data of custom columns.
81
81
82
-
It is important to add the `ids={args.ids}` as part of the query and handle this filtering in the runtime action. This will allow Admin UI SDK to load only necessary data needed to display in the grid columns in the Admin Panel of the Adobe Commerce instance.
82
+
It is important to add the `ids={args.ids}` as part of the query and handle this filtering in the runtime action. This allows Admin UI SDK to load only the necessary data needed to display in the grid columns in the Admin.
83
83
84
84
```javascript
85
85
exportasyncfunctionmain(props) {
@@ -125,7 +125,7 @@ export async function main(props) {
125
125
126
126
### Sample schema file
127
127
128
-
This sample`schema.json` fileis referenced in the mesh configuration file. It defines the response of the external `customerGridColumns` query that fetches column data.
128
+
The `schema.json`sample file, which is also referenced in the mesh configuration file, defines the response of the external `customerGridColumns` query that fetches column data.
129
129
130
130
```json
131
131
{
@@ -155,9 +155,9 @@ This sample `schema.json` file is referenced in the mesh configuration file. It
155
155
}
156
156
```
157
157
158
-
### Create or Update your mesh
158
+
### Create or update your mesh
159
159
160
-
Make sure to create or update your mesh, and to keep the mesh id provided.
160
+
Use one of the following commands to create or update your mesh. Be sure to store the mesh ID provided.
The Admin UI SDK expects the customer ID in Adobe Commerce to correctly match the customer to the data and fill the correct cell.
173
173
174
-
The Admin UI SDK expects the customer id in Adobe Commerce to correctly match the customer to the data and fill the correct cell.
174
+
A default value can be provided to be added to unmatched IDs, or in case data doesn't match, the expected type of the column. If a value is not provided, the cell is left empty.
175
175
176
-
#### Default value
176
+
In case of error, check the Adobe Commerce logs.
177
177
178
-
A default value can be provided to be added to unmatched ids, or in case data doesn't match the expected type of the column. If not provided, the cell is left empty.
179
-
180
-
In case of error, more info can be found in the Adobe Commerce logs.
0 commit comments