-
Notifications
You must be signed in to change notification settings - Fork 519
CustomMetadataUtilties
codefriar edited this page Jan 27, 2021
·
12 revisions
This class utilizes Custom Metadata objects and the example use case we've established for Apex Recipes.
CustomMetadataRecipes_Tests
Identifies Bucketed Picklists the given object id has associated with it.
| Param | Description |
|---|---|
| `` | d |
Type
List<Bucketed_Picklist__mdt>
Description
List<Bucketed_Picklist__mdt>
Convenience method accepts a list and send the first entry in the list to it's twin above.
| Param | Description |
|---|---|
| `` | s |
Type
List<Bucketed_Picklist__mdt>
Description
List<Bucketed_Picklist__mdt>
getPicklistBucketWithValues(List<Bucketed_Picklist__mdt> bPL,String search) → List<Picklist_Bucket__mdt>
Returns a list of bucket names that match the given search term, and list of possible fields.
| Param | Description |
|---|---|
bPL |
Bucketed Picklist list |
search |
Search String for Bucketed_Picklist_Value__mdt.label |
Type
List<Picklist_Bucket__mdt>
Description
List<Picklist_Bucket__mdt>