Skip to content

Commit c20dbd6

Browse files
authored
Update grid-columns.md
1 parent 23ea462 commit c20dbd6

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/pages/admin-ui-sdk/extension-points/product/grid-columns.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ product: {
3636

3737
### Sample runtime action to retrieve data
3838

39-
This sample `get-products` runtime action is referenced in the mesh configuration file. It defines the path to the runtime action to retrieve the data of custom columns.
39+
The mesh configuration fule references the `get-products` sample runtime action. It defines the path to the runtime action to retrieve the data of custom columns.
4040

41-
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.
41+
It is important to add `ids={args.ids}` to the query and handle this filtering in the runtime action. As a result, the Admin UI SDK loads only the data necessary to display in the grid columns of the Adobe Commerce instance.
4242

4343
```javascript
4444
export async function main(props) {
@@ -149,9 +149,9 @@ This sample `schema.json` file is referenced in the mesh configuration file. It
149149
}
150150
```
151151

152-
### Create or Update your mesh
152+
### Create or update your mesh
153153

154-
Make sure to create or update your mesh, and to keep the mesh id provided.
154+
Use one of the following commands to create or update your mesh. Be sure to store the mesh ID provided.
155155

156156
```bash
157157
aio api-mesh:create mesh.json
@@ -163,17 +163,13 @@ aio api-mesh:update mesh.json
163163

164164
### Products data matching
165165

166-
#### Id matching
166+
The Admin UI SDK expects the product SKU in Adobe Commerce to correctly match the product to the data and to fill the correct cell.
167167

168-
The Admin UI SDK expects the product sku in Adobe Commerce to correctly match the product to the data and fill the correct cell.
168+
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.
169169

170-
#### Default value
170+
In case of error, check the Adobe Commerce logs.
171171

172-
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.
173-
174-
In case of error, more info can be found in the Adobe Commerce logs.
175-
176-
##### Example of default value
172+
The following example provides a default value.
177173

178174
```javascript
179175
"*": {

0 commit comments

Comments
 (0)