From 331c2c901de78436c84332c86b8db5a65a7dfdca Mon Sep 17 00:00:00 2001 From: komaldgupta Date: Thu, 20 Jun 2024 13:56:19 +0530 Subject: [PATCH] EHIS-225 --- ...ness_Admin_PSG.permissionsetgroup-meta.xml | 1 + ...th_Officer_PSG.permissionsetgroup-meta.xml | 3 +- ...er_Officer_PSG.permissionsetgroup-meta.xml | 1 + ...h_Engineer_PSG.permissionsetgroup-meta.xml | 1 + ...urce_Intake_Record_Page.flexipage-meta.xml | 34 +++- ...ater_System_Record_Page.flexipage-meta.xml | 32 ++++ ...Graph.relationshipGraphDefinition-meta.xml | 166 ++++++++++++++++++ 7 files changed, 236 insertions(+), 2 deletions(-) create mode 100644 ehis-source/ehis-ui/main/default/relationshipGraphDefinitions/EHIS_Water_Connections_Graph.relationshipGraphDefinition-meta.xml diff --git a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Business_Admin_PSG.permissionsetgroup-meta.xml b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Business_Admin_PSG.permissionsetgroup-meta.xml index 0c80572aa..9d9c73852 100644 --- a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Business_Admin_PSG.permissionsetgroup-meta.xml +++ b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Business_Admin_PSG.permissionsetgroup-meta.xml @@ -15,5 +15,6 @@ EHIS_CRE_Group_Membership_PS EHIS_CRE_Work_Area_PS EHIS_PSL_PS + force__IndustriesARCPsl Updated diff --git a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Medical_Health_Officer_PSG.permissionsetgroup-meta.xml b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Medical_Health_Officer_PSG.permissionsetgroup-meta.xml index 436d43cd6..d03b929b4 100644 --- a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Medical_Health_Officer_PSG.permissionsetgroup-meta.xml +++ b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Medical_Health_Officer_PSG.permissionsetgroup-meta.xml @@ -4,5 +4,6 @@ false EHIS_Read_Work_Area_PS + force__IndustriesARCPsl Updated - \ No newline at end of file + diff --git a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Officer_PSG.permissionsetgroup-meta.xml b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Officer_PSG.permissionsetgroup-meta.xml index bd7ceda90..aede8c4c4 100644 --- a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Officer_PSG.permissionsetgroup-meta.xml +++ b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Officer_PSG.permissionsetgroup-meta.xml @@ -18,5 +18,6 @@ EHIS_Read_Edit_Location_PS EHIS_Read_Group_Membership_PS EHIS_Read_Work_Area_PS + force__IndustriesARCPsl Updated diff --git a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Public_Health_Engineer_PSG.permissionsetgroup-meta.xml b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Public_Health_Engineer_PSG.permissionsetgroup-meta.xml index a83a75a80..3389e32b1 100644 --- a/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Public_Health_Engineer_PSG.permissionsetgroup-meta.xml +++ b/ehis-source/ehis-access-mgmt/main/default/permissionsetgroups/EHIS_Water_Public_Health_Engineer_PSG.permissionsetgroup-meta.xml @@ -18,5 +18,6 @@ EHIS_Read_Edit_Location_PS EHIS_Read_Group_Membership_PS EHIS_Read_Work_Area_PS + force__IndustriesARCPsl Updated diff --git a/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_Source_Intake_Record_Page.flexipage-meta.xml b/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_Source_Intake_Record_Page.flexipage-meta.xml index 9dc74dc3d..9c09a73cc 100644 --- a/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_Source_Intake_Record_Page.flexipage-meta.xml +++ b/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_Source_Intake_Record_Page.flexipage-meta.xml @@ -478,6 +478,24 @@ Facet-3c21a984-14f8-478e-97d6-48619eabcdb1 Facet + + + + + graphName + EHIS_Water_Connections_Graph + + + label + EHIS Water Connections Graph + + runtime_industries_arcgraph:arcGraph + runtime_industries_arcgraph_arcGraph + + + Facet-4df1caf0-b984-4b94-b4f3-8ca987fedc7b + Facet + @@ -491,7 +509,7 @@ maxRecordsToDisplay - 3 + 10 parentFieldApiName @@ -688,6 +706,20 @@ flexipage_tab3 + + + + body + Facet-4df1caf0-b984-4b94-b4f3-8ca987fedc7b + + + title + Water Linkages + + flexipage:tab + flexipage_tab + + diff --git a/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_System_Record_Page.flexipage-meta.xml b/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_System_Record_Page.flexipage-meta.xml index 8ae35bd46..388a0450c 100644 --- a/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_System_Record_Page.flexipage-meta.xml +++ b/ehis-source/ehis-ui/main/default/flexipages/EHIS_Water_System_Record_Page.flexipage-meta.xml @@ -43,6 +43,24 @@ detailTabContent Facet + + + + + graphName + EHIS_Water_Connections_Graph + + + label + EHIS Water Connections Graph + + runtime_industries_arcgraph:arcGraph + runtime_industries_arcgraph_arcGraph + + + Facet-ec448c21-551d-4b13-9f96-3050a8acefaa + Facet + @@ -315,6 +333,20 @@ detailTab + + + + body + Facet-ec448c21-551d-4b13-9f96-3050a8acefaa + + + title + Water Linkages + + flexipage:tab + flexipage_tab2 + + diff --git a/ehis-source/ehis-ui/main/default/relationshipGraphDefinitions/EHIS_Water_Connections_Graph.relationshipGraphDefinition-meta.xml b/ehis-source/ehis-ui/main/default/relationshipGraphDefinitions/EHIS_Water_Connections_Graph.relationshipGraphDefinition-meta.xml new file mode 100644 index 000000000..6bfc500c9 --- /dev/null +++ b/ehis-source/ehis-ui/main/default/relationshipGraphDefinitions/EHIS_Water_Connections_Graph.relationshipGraphDefinition-meta.xml @@ -0,0 +1,166 @@ + + + true + false + EHIS Water Connections Graph + + { + "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 + } + } +} + HorizontalHierarchy + +