Skip to content

Commit

Permalink
Merge pull request #693 from bcgov/hypercare-ALR-1266
Browse files Browse the repository at this point in the history
Hypercare-ALR-1266
  • Loading branch information
GandlojuVishwantha authored Apr 30, 2024
2 parents d312bfe + bd0b993 commit 66aa69d
Show file tree
Hide file tree
Showing 12 changed files with 3,590 additions and 61 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Create, Read and Edit Access to Assessment objects - ALR-50</description>
<fieldPermissions>
<editable>true</editable>
<field>InspectionAssessmentInd.Comments__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>InspectionAssessmentInd.Picklist_Field_Response__c</field>
<readable>true</readable>
</fieldPermissions>
<hasActivationRequired>false</hasActivationRequired>
<label>EHIS CRE Assessment Objects PS</label>
<objectPermissions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
</componentInstanceProperties>
<componentName>lst:dynamicRelatedList</componentName>
<identifier>lst_dynamicRelatedList</identifier>
<visibilityRule>
<criteria>
<leftValue>{!Record.Name}</leftValue>
<operator>NE</operator>
<rightValue>Operational History Assessment</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
<itemInstances>
Expand All @@ -116,6 +123,74 @@
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>actionNames</name>
</componentInstanceProperties>
<componentInstanceProperties>
<name>adminFilters</name>
</componentInstanceProperties>
<componentInstanceProperties>
<name>maxRecordsToDisplay</name>
<value>3</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>parentFieldApiName</name>
<value>AssessmentTask.Id</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListApiName</name>
<value>InspectionAssessmentIndicators</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListDisplayType</name>
<value>ADVGRID</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListFieldAliases</name>
<valueList>
<valueListItems>
<value>Name</value>
</valueListItems>
<valueListItems>
<value>AssessmentIndDefinition</value>
</valueListItems>
<valueListItems>
<value>Picklist_Field_Response__c</value>
</valueListItems>
<valueListItems>
<value>Comments__c</value>
</valueListItems>
</valueList>
</componentInstanceProperties>
<componentInstanceProperties>
<name>relatedListLabel</name>
<value>Inspection Assessment Indicator</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>showActionBar</name>
<value>true</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>sortFieldAlias</name>
<value>__DEFAULT__</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>sortFieldOrder</name>
<value>Default</value>
</componentInstanceProperties>
<componentName>lst:dynamicRelatedList</componentName>
<identifier>lst_dynamicRelatedList2</identifier>
<visibilityRule>
<criteria>
<leftValue>{!Record.Name}</leftValue>
<operator>EQUAL</operator>
<rightValue>Operational History Assessment</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentName>builder_industries_publicsector:inspectionAssesments</componentName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@
<identifier>RecordTextFieldResponseField</identifier>
</fieldInstance>
</itemInstances>
<itemInstances>
<fieldInstance>
<fieldInstanceProperties>
<name>uiBehavior</name>
<value>readonly</value>
</fieldInstanceProperties>
<fieldItem>Record.Picklist_Field_Response__c</fieldItem>
<identifier>RecordPicklist_Field_Response_cField</identifier>
</fieldInstance>
</itemInstances>
<itemInstances>
<fieldInstance>
<fieldInstanceProperties>
<name>uiBehavior</name>
<value>none</value>
</fieldInstanceProperties>
<fieldItem>Record.Comments__c</fieldItem>
<identifier>RecordComments_cField</identifier>
</fieldInstance>
</itemInstances>
<name>Facet-28a6ee19-5566-4418-baa7-68e8cca2f352</name>
<type>Facet</type>
</flexiPageRegions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
<behavior>Edit</behavior>
<field>TextFieldResponse</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Picklist_Field_Response__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Comments__c</field>
</layoutItems>
</layoutColumns>
<style>OneColumn</style>
</layoutSections>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Comments__c</fullName>
<description>ALR-1266</description>
<externalId>false</externalId>
<label>Comments</label>
<length>255</length>
<required>false</required>
<trackHistory>false</trackHistory>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Picklist_Field_Response__c</fullName>
<externalId>false</externalId>
<label>Score</label>
<required>false</required>
<trackHistory>false</trackHistory>
<type>Picklist</type>
<valueSet>
<restricted>true</restricted>
<valueSetDefinition>
<sorted>false</sorted>
<value>
<fullName>1</fullName>
<default>false</default>
<label>1</label>
</value>
<value>
<fullName>2</fullName>
<default>false</default>
<label>2</label>
</value>
<value>
<fullName>3</fullName>
<default>false</default>
<label>3</label>
</value>
<value>
<fullName>4</fullName>
<default>false</default>
<label>4</label>
</value>
<value>
<fullName>5</fullName>
<default>false</default>
<label>5</label>
</value>
<value>
<fullName>6</fullName>
<default>false</default>
<label>6</label>
</value>
<value>
<fullName>7</fullName>
<default>false</default>
<label>7</label>
</value>
<value>
<fullName>8</fullName>
<default>false</default>
<label>8</label>
</value>
<value>
<fullName>9</fullName>
<default>false</default>
<label>9</label>
</value>
<value>
<fullName>10</fullName>
<default>false</default>
<label>10</label>
</value>
</valueSetDefinition>
</valueSet>
</CustomField>
Loading

0 comments on commit 66aa69d

Please sign in to comment.