Skip to content

Commit

Permalink
Jkranz rk/issue22 (#23)
Browse files Browse the repository at this point in the history
* Invocable action's inputs and outputs not appearing in Flow Builder in Subscriber orgs
Fixes #22

The inner class InvocableVariables were marked as Public and not Global.
How on earth I didn't catch this sooner, I do not know.
Being able to reference the default namespace in unpackaged metadata
during package creation would have caught this however.
So, for that reason: I can blame Salesforce instead of myself :)

* Bump API versions from 55.0 to 56.0

* Package Version 0.4 Promoted to Released

* Update Package Install URL to version 0.4
  • Loading branch information
jkranz-rk authored Oct 15, 2022
1 parent 6d3723f commit c73b9d2
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 6 additions & 4 deletions sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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 [email protected]/unlockedpackaging": "04t4x000000RUQ2AAO",
Expand All @@ -34,6 +34,8 @@
"Record Type [email protected]": "04t4x000000RqffAAC",
"Record Type [email protected]": "04t4x000000RqfkAAC",
"Record Type [email protected]": "04t4x000000RqyCAAS",
"Record Type [email protected]": "04t4x000000RqyHAAS"
"Record Type [email protected]": "04t4x000000RqyHAAS",
"Record Type [email protected]": "04t4x000000Rr1BAAS",
"Record Type [email protected]": "04t4x000000Rr3MAAS"
}
}
7 changes: 2 additions & 5 deletions src/main/default/classes/RecordTypePickerController.cls
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ global with sharing class RecordTypePickerController {
category='Record Types'
iconName='slds:standard:relationship'
)
/**
*/
global static List<RecordTypePickerController.Result> invokeGetRecordTypes(List<RecordTypePickerController.Request> requests) {
Set<String> objectNameSet = new Set<String>();
Set<Id> availableRecordTypeIds = new Set<Id>();
Expand All @@ -54,7 +52,6 @@ global with sharing class RecordTypePickerController {
objectNameSet.add(request.objectApiName);
}


availableRecordTypeIds.addAll(
RecordTypePickerController.availableRecordTypeIdsFromObjectApiNames(new List<String>( objectNameSet ))
);
Expand All @@ -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<RecordType> recordTypes;
global List<RecordType> recordTypes;
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<status>Active</status>
</ApexClass>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>false</isExposed>
</LightningComponentBundle>
2 changes: 1 addition & 1 deletion src/main/default/lwc/cpeHelper/cpeHelper.js-meta.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>false</isExposed>
</LightningComponentBundle>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>Record Type Picker</masterLabel>
<description>Display a record type selection on a screen</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>false</isExposed>
</LightningComponentBundle>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>false</isExposed>
</LightningComponentBundle>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<isExposed>false</isExposed>
</LightningComponentBundle>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>55.0</apiVersion>
<apiVersion>56.0</apiVersion>
<status>Active</status>
</ApexClass>

0 comments on commit c73b9d2

Please sign in to comment.