@@ -352,7 +352,7 @@ function App() {
352352
353353 // Define metadata source
354354 // Example: enterprise_123456789.metadatatemplate
355- const metadataSource = ` metadata . enterprise_$ {EID }.$ {templateName}` ;
355+ const metadataSource = ` enterprise_${EID }.$ {templateName}` ;
356356
357357 const metadataQuery = {
358358 from: metadataSource,
@@ -368,22 +368,22 @@ function App() {
368368
369369 // Define which other metadata fields you'd like to display
370370 fields: [
371- ` ${metadataSource}.name ` ,
372- ` ${metadataSource}.last_contacted_at ` ,
373- ` ${metadataSource}.industry ` ,
374- ` ${metadataSource}.role ` ,
371+ ` metadata . $ {metadataSource}.name ` ,
372+ ` metadata . $ {metadataSource}.last_contacted_at ` ,
373+ ` metadata . $ {metadataSource}.industry ` ,
374+ ` metadata . $ {metadataSource}.role ` ,
375375 ],
376376 };
377377
378378 // The metadata fields/columns to view - must be valid field names from the metadata template
379379 const fieldsToShow = [
380380 // Determine if the user can edit the metadata directly from Content Explorer component
381- { key: ` ${metadataSource}.name ` , canEdit: false },
381+ { key: ` metadata . $ {metadataSource}.name ` , canEdit: false },
382382
383383 // Determine label alias on metadata column with displayName prop
384- { key: ` ${metadataSource}.industry ` , canEdit: false, displayName: "alias" },
385- { key: ` ${metadataSource}.last_contacted_at ` , canEdit: true },
386- { key: ` ${metadataSource}.role ` , canEdit: true },
384+ { key: ` metadata . $ {metadataSource}.industry ` , canEdit: false, displayName: "alias" },
385+ { key: ` metadata . $ {metadataSource}.last_contacted_at ` , canEdit: true },
386+ { key: ` metadata . $ {metadataSource}.role ` , canEdit: true },
387387 ];
388388
389389 // defaultView - a required prop to paint the metadata view.
0 commit comments