salesforce

Setting Dependent Custom Lightning Picklist Level2 and Level3 then resetting the Level2 at Lightning component but Level2 Cached Data is Getting Saved

廉价感情. 提交于 2020-11-29 21:09:46
问题 Step 1 In a Salesforce Lightning component I have a scenario with three levels of dependent picklists, first I am setting values for picklist Level1, and Level2, then the user selects the dependent picklist value in Level3 Step 2 When I remove the selection at Level2, automatically Level3 selection also gets erased: Step3 Click Save Here is problem, that value selected in Step 1 is getting saved rather than the reset value in step 2. I have added code to reset values at ui:inputSelectOption

Setting Dependent Custom Lightning Picklist Level2 and Level3 then resetting the Level2 at Lightning component but Level2 Cached Data is Getting Saved

ε祈祈猫儿з 提交于 2020-11-29 21:07:32
问题 Step 1 In a Salesforce Lightning component I have a scenario with three levels of dependent picklists, first I am setting values for picklist Level1, and Level2, then the user selects the dependent picklist value in Level3 Step 2 When I remove the selection at Level2, automatically Level3 selection also gets erased: Step3 Click Save Here is problem, that value selected in Step 1 is getting saved rather than the reset value in step 2. I have added code to reset values at ui:inputSelectOption

How to use TLS 1.2 in ASP.NET Core 2.0

时间秒杀一切 提交于 2020-11-27 04:04:47
问题 My salesforce res apis were working fine until. When suddenly I started getting authentication errors. retry your request. Salesforce.Common.AuthenticationClient.d__1.MoveNext() . salesforce informed that it would use from now TLS .1.2. How can I enforce my asp.net core 2.0 to use TLS 1.2 in Startup.cs. below is my code for login. private async Task<AuthenticationClient> GetValidateAuthentication() { RestApiSetting data = new RestApiSetting(Configuration); var auth = new AuthenticationClient(

How To Implement Full Search in Case Type using Salesforce?

左心房为你撑大大i 提交于 2020-11-25 03:51:46
问题 I need to build out a solution to create a search field on the new Case Type Data object in all 3 of the Level fields and populate based on selection. Similar to SF Global Search I would like to type 2-3 characters in the text search field and it would find the matching text in the Level1-3 fields and when selected the Level 1-3 field would populate. This is the apex class public class PickListHandler { @AuraEnabled public static List<String> getLevel1(){ List<String> tempLst1 = new List

How To Implement Full Search in Case Type using Salesforce?

瘦欲@ 提交于 2020-11-25 03:50:20
问题 I need to build out a solution to create a search field on the new Case Type Data object in all 3 of the Level fields and populate based on selection. Similar to SF Global Search I would like to type 2-3 characters in the text search field and it would find the matching text in the Level1-3 fields and when selected the Level 1-3 field would populate. This is the apex class public class PickListHandler { @AuraEnabled public static List<String> getLevel1(){ List<String> tempLst1 = new List