New answers tagged

4

Skew and lock contention are generally two different issues. About skew In a nutshell, skew is a matter of probability distribution. A good database index is one that has a uniform-ish distribution. Roughly the same number of records should have "blue" in an index field as they do "red" (and all other colors). If you have index key(s) that show up a lot ...


0

Please make sure you have these additional fields added to your SYNCED object. Then make sure you are searching based on "ContactID" and NOT "Id" %%[ var @lookupvalue,@CaseId,@Subject,@ContactEmail,@Status set @lookupvalue = "0030o00002dgaRDAAY" set @CaseId = Lookup("Case_Salesforce","Id","ContactId",@lookupvalue) set @Subject = Lookup("Case_Salesforce","...


1

Values that change in a given screen won't affect the value of any other component on the page. The only thing that listens for changes in the screen at runtime is the conditional visibility -- otherwise, the changes are only registered when the Next button is clicked and everything is sent to the flow engine on the server. If you want to set a value in the ...


0

I generally debug lookup challenges with a series of outputs. Using a debug flag variable allows me to turn the debugging output on and off. My rule of thumb for debugging is: Output variable names and values after every lookup and before every conditional Doing this will help you trace the path through your conditionals. %%[ var @debug set @debug = ...


0

You have to make a query in doinit method and set the selectedRecord object instance based on result. Add below methods in Helper of CustomLookup clearSelection : function(component, event, helper) { var pillTarget = component.find("lookup-pill"); var lookUpTarget = component.find("lookupField"); $A.util.addClass(pillTarget, 'slds-hide'); ...


1

I would also recommend this 'no code' Flow solution which I have used in the past: https://salesforceweek.ly/2015/02/how-to-create-roll-up-summaries-using-flow.html


1

Lookup field must actually be a field of lookup type. To query for a user object for example, on the lookup component you could select an Object API Name of value "Case" and Field API Name of value "CreatedById" and this appears to perform a SOSL lookup of all fields on the User Object since CreatedById is of field type: Lookup(User).


1

I think you need to take <div class="slds-truncate"> out from around your lookup. That's using overflow: hidden which is hiding your dropdown.


Top 50 recent answers are included