-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #876 from bcgov/Feature-EHIS-225
EHIS-225
- Loading branch information
Showing
7 changed files
with
236 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
166 changes: 166 additions & 0 deletions
166
...ionshipGraphDefinitions/EHIS_Water_Connections_Graph.relationshipGraphDefinition-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<RelationshipGraphDefinition xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<isActive>true</isActive> | ||
<isTemplate>false</isTemplate> | ||
<masterLabel>EHIS Water Connections Graph</masterLabel> | ||
<relationshipGraphDefVersions> | ||
<graphDefinition>{ | ||
"graph" : { | ||
"rootNode" : { | ||
"id" : "7cbce2d9-38e0-41ef-8c79-5c3f2d8bba4e", | ||
"object" : { | ||
"entity" : "Account" | ||
}, | ||
"configurationType" : "Custom", | ||
"nodeUiConfig" : { | ||
"label" : "Account", | ||
"fieldsToDisplay" : [ ], | ||
"showFieldLabels" : true, | ||
"actions" : { } | ||
}, | ||
"childRelationships" : [ { | ||
"ManyToMany" : { | ||
"targetObjectNode" : { | ||
"sortFields" : [ { | ||
"field" : { | ||
"field" : "LastModifiedDate", | ||
"whichEntity" : "TARGET" | ||
}, | ||
"order" : "DESC" | ||
} ], | ||
"id" : "9bd26a62-1dbe-471d-a1d9-8a27a781cd59", | ||
"object" : { | ||
"entity" : "Account" | ||
}, | ||
"configurationType" : "Primary", | ||
"nodeUiConfig" : { | ||
"label" : "Upstream Connections", | ||
"recordActionsLabel" : "", | ||
"fieldsToDisplay" : [ { | ||
"field" : "Name", | ||
"whichEntity" : "TARGET", | ||
"labelOverride" : "Water Source Name" | ||
}, { | ||
"field" : "Use_Description__c", | ||
"whichEntity" : "JUNCTION", | ||
"labelOverride" : "Use Description" | ||
}, { | ||
"field" : "Water_License_Number__c", | ||
"whichEntity" : "JUNCTION", | ||
"labelOverride" : "Water License Number" | ||
} ], | ||
"showFieldLabels" : true, | ||
"actions" : { | ||
"containerActions" : [ ], | ||
"recordActions" : [ ], | ||
"junctionRecordActions" : [ ] | ||
}, | ||
"junctionActionsLabel" : "" | ||
}, | ||
"childRelationships" : [ ] | ||
}, | ||
"relationshipUiConfig" : { }, | ||
"filter" : { | ||
"filterCriteria" : [ { | ||
"field" : { | ||
"field" : "Party_Role_Relationship_Name__c", | ||
"whichEntity" : "JUNCTION" | ||
}, | ||
"operator" : "eq", | ||
"value" : "DownStream-UpStream-AAR" | ||
}, { | ||
"field" : { | ||
"field" : "IsActive", | ||
"whichEntity" : "JUNCTION" | ||
}, | ||
"operator" : "eq", | ||
"value" : true | ||
} ], | ||
"booleanFilter" : "1 AND 2" | ||
}, | ||
"junctionObject" : { | ||
"entity" : "AccountAccountRelation" | ||
}, | ||
"sourceField" : { | ||
"field" : "AccountId" | ||
}, | ||
"targetField" : { | ||
"field" : "RelatedAccountId" | ||
} | ||
} | ||
}, { | ||
"ManyToMany" : { | ||
"targetObjectNode" : { | ||
"sortFields" : [ { | ||
"field" : { | ||
"field" : "LastModifiedDate", | ||
"whichEntity" : "TARGET" | ||
}, | ||
"order" : "DESC" | ||
} ], | ||
"id" : "c530bb4b-1793-470a-8eb5-a9a8756f173d", | ||
"object" : { | ||
"entity" : "Account" | ||
}, | ||
"configurationType" : "Custom", | ||
"nodeUiConfig" : { | ||
"label" : "Downstream Facilities", | ||
"recordActionsLabel" : "", | ||
"fieldsToDisplay" : [ { | ||
"field" : "AccountNumber", | ||
"whichEntity" : "TARGET", | ||
"labelOverride" : "Facility Number" | ||
}, { | ||
"field" : "Status__c", | ||
"whichEntity" : "TARGET", | ||
"labelOverride" : "Status" | ||
} ], | ||
"showFieldLabels" : true, | ||
"actions" : { | ||
"containerActions" : [ ], | ||
"recordActions" : [ ], | ||
"junctionRecordActions" : [ ] | ||
}, | ||
"junctionActionsLabel" : "" | ||
}, | ||
"childRelationships" : [ ] | ||
}, | ||
"relationshipUiConfig" : { }, | ||
"filter" : { | ||
"filterCriteria" : [ { | ||
"field" : { | ||
"field" : "IsActive", | ||
"whichEntity" : "JUNCTION" | ||
}, | ||
"operator" : "eq", | ||
"value" : true | ||
}, { | ||
"field" : { | ||
"field" : "Party_Role_Relationship_Name__c", | ||
"whichEntity" : "JUNCTION" | ||
}, | ||
"operator" : "eq", | ||
"value" : "UpStream-DownStream-AAR" | ||
} ], | ||
"booleanFilter" : "1 AND 2" | ||
}, | ||
"junctionObject" : { | ||
"entity" : "AccountAccountRelation" | ||
}, | ||
"sourceField" : { | ||
"field" : "AccountId" | ||
}, | ||
"targetField" : { | ||
"field" : "RelatedAccountId" | ||
} | ||
} | ||
} ] | ||
}, | ||
"globalUiConfig" : { | ||
"allowRuntimeCustomizations" : false | ||
} | ||
} | ||
}</graphDefinition> | ||
<graphType>HorizontalHierarchy</graphType> | ||
</relationshipGraphDefVersions> | ||
</RelationshipGraphDefinition> |