diff --git a/README.md b/README.md index c4b91db..1acbd55 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ NOTE ABOUT THE TEST DIRECTORY: the "test" directory is _not_ needed for sandbox ## Latest Released Unlocked Package Install URL -`/packaging/installPackage.apexp?p0=04t4x000000RqyHAAS` +`/packaging/installPackage.apexp?p0=04t4x000000Rr3MAAS` ## Display Types diff --git a/sfdx-project.json b/sfdx-project.json index c8a114c..9ca2b3a 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -4,8 +4,8 @@ "path": "src", "default": true, "package": "Record Type Picker", - "versionName": "ver 0.3", - "versionNumber": "0.3.0.NEXT", + "versionName": "ver 0.4", + "versionNumber": "0.4.0.NEXT", "unpackagedMetadata": { "path": "tests" }, @@ -24,7 +24,7 @@ "name": "RecordTypePicker", "namespace": "rtp", "sfdcLoginUrl": "https://login.salesforce.com", - "sourceApiVersion": "55.0", + "sourceApiVersion": "56.0", "packageAliases": { "Record Type Picker": "0Ho4x000000GmwBCAS", "Record Type Picker@0.1.0-1-feature/unlockedpackaging": "04t4x000000RUQ2AAO", @@ -34,6 +34,8 @@ "Record Type Picker@0.2.0-2": "04t4x000000RqffAAC", "Record Type Picker@0.2.0-3": "04t4x000000RqfkAAC", "Record Type Picker@0.2.0-4": "04t4x000000RqyCAAS", - "Record Type Picker@0.3.0-1": "04t4x000000RqyHAAS" + "Record Type Picker@0.3.0-1": "04t4x000000RqyHAAS", + "Record Type Picker@0.3.0-2": "04t4x000000Rr1BAAS", + "Record Type Picker@0.4.0": "04t4x000000Rr3MAAS" } } \ No newline at end of file diff --git a/src/main/default/classes/RecordTypePickerController.cls b/src/main/default/classes/RecordTypePickerController.cls index 2b9287f..77f7717 100644 --- a/src/main/default/classes/RecordTypePickerController.cls +++ b/src/main/default/classes/RecordTypePickerController.cls @@ -43,8 +43,6 @@ global with sharing class RecordTypePickerController { category='Record Types' iconName='slds:standard:relationship' ) - /** - */ global static List invokeGetRecordTypes(List requests) { Set objectNameSet = new Set(); Set availableRecordTypeIds = new Set(); @@ -54,7 +52,6 @@ global with sharing class RecordTypePickerController { objectNameSet.add(request.objectApiName); } - availableRecordTypeIds.addAll( RecordTypePickerController.availableRecordTypeIdsFromObjectApiNames(new List( objectNameSet )) ); @@ -77,14 +74,14 @@ global with sharing class RecordTypePickerController { label='Object API Name' required=true ) - public String objectApiName; + global String objectApiName; } global class Result { @InvocableVariable( label='Record Types for Running User' ) - public List recordTypes; + global List recordTypes; } /** diff --git a/src/main/default/classes/RecordTypePickerController.cls-meta.xml b/src/main/default/classes/RecordTypePickerController.cls-meta.xml index 4b0bc9f..fbbad0a 100644 --- a/src/main/default/classes/RecordTypePickerController.cls-meta.xml +++ b/src/main/default/classes/RecordTypePickerController.cls-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 Active diff --git a/src/main/default/lwc/configurationModal/configurationModal.js-meta.xml b/src/main/default/lwc/configurationModal/configurationModal.js-meta.xml index eac275d..f8c5cb4 100644 --- a/src/main/default/lwc/configurationModal/configurationModal.js-meta.xml +++ b/src/main/default/lwc/configurationModal/configurationModal.js-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 false \ No newline at end of file diff --git a/src/main/default/lwc/cpeHelper/cpeHelper.js-meta.xml b/src/main/default/lwc/cpeHelper/cpeHelper.js-meta.xml index eac275d..f8c5cb4 100644 --- a/src/main/default/lwc/cpeHelper/cpeHelper.js-meta.xml +++ b/src/main/default/lwc/cpeHelper/cpeHelper.js-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 false \ No newline at end of file diff --git a/src/main/default/lwc/recordTypePicker/recordTypePicker.js-meta.xml b/src/main/default/lwc/recordTypePicker/recordTypePicker.js-meta.xml index a075182..237a307 100644 --- a/src/main/default/lwc/recordTypePicker/recordTypePicker.js-meta.xml +++ b/src/main/default/lwc/recordTypePicker/recordTypePicker.js-meta.xml @@ -1,6 +1,6 @@ - 55.0 + 56.0 true Record Type Picker Display a record type selection on a screen diff --git a/src/main/default/lwc/recordTypePickerCpe/recordTypePickerCpe.js-meta.xml b/src/main/default/lwc/recordTypePickerCpe/recordTypePickerCpe.js-meta.xml index eac275d..f8c5cb4 100644 --- a/src/main/default/lwc/recordTypePickerCpe/recordTypePickerCpe.js-meta.xml +++ b/src/main/default/lwc/recordTypePickerCpe/recordTypePickerCpe.js-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 false \ No newline at end of file diff --git a/src/main/default/lwc/recordTypePickerCpeInputs/recordTypePickerCpeInputs.js-meta.xml b/src/main/default/lwc/recordTypePickerCpeInputs/recordTypePickerCpeInputs.js-meta.xml index eac275d..f8c5cb4 100644 --- a/src/main/default/lwc/recordTypePickerCpeInputs/recordTypePickerCpeInputs.js-meta.xml +++ b/src/main/default/lwc/recordTypePickerCpeInputs/recordTypePickerCpeInputs.js-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 false \ No newline at end of file diff --git a/src/main/default/lwc/recordTypePickerLwcUtils/recordTypePickerLwcUtils.js-meta.xml b/src/main/default/lwc/recordTypePickerLwcUtils/recordTypePickerLwcUtils.js-meta.xml index eac275d..f8c5cb4 100644 --- a/src/main/default/lwc/recordTypePickerLwcUtils/recordTypePickerLwcUtils.js-meta.xml +++ b/src/main/default/lwc/recordTypePickerLwcUtils/recordTypePickerLwcUtils.js-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 false \ No newline at end of file diff --git a/tests/main/default/classes/RecordTypePickerControllerTest.cls-meta.xml b/tests/main/default/classes/RecordTypePickerControllerTest.cls-meta.xml index 4b0bc9f..fbbad0a 100644 --- a/tests/main/default/classes/RecordTypePickerControllerTest.cls-meta.xml +++ b/tests/main/default/classes/RecordTypePickerControllerTest.cls-meta.xml @@ -1,5 +1,5 @@ - 55.0 + 56.0 Active