We're attempting to limit the number of fields that are returned by a relationship query and are being displayed in the Attribute Table.
I've looked in _RelationshipTable.js, specifically lines 197-201 and have modified these but the entire schema still is coming through.
var relatedQuery = new RelationshipQuery(); relatedQuery.objectIds = selectedIds; relatedQuery.outFields = ofs.length ? ofs : ["FIELD1", "FIELD2"]; relatedQuery.relationshipId = ship.id; relatedQuery.returnGeometry = false;
In addition, I receive an error in the console when I click on 'show related records' in a popup and fire the query (see attached).
I appreciate any help.