• inbox outbox 7
  • NEWBIE
  • 210 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 0
    Likes Given
  • 69
    Questions
  • 23
    Replies
Project: Installing an app exchange application, and creating the schema (external objects and relationships with custom or standard objects).

If I created external objects (non-salesforce org), does that mean I have used OData 2.0 or OData 4.0?
Most common issues faced during deployment
I am actually looking for an answer, kind of like a skeleton, so that I can modify the answer based on what I do.
I am preparing to attend interviews.

How do I answer the following questions as a developer:
What is the deployment strategy in your company?
What is your role in deployment (both in lower and as well as higher environments)?
Is continuation the same the Expect: 100 - Continue in the header of the request
@AuraEnable(Continuation = true Cacheable = true)
What if we get invalid data, how do we deal with that?
 
Let's say we have process integration, the order is created in a backend system, we send the order details and the user gets the order status and order number and some other field called field_c, this field_c has to be validated before being updated in saleforce. 
Can we do that?
 
When using middleware, outbound messaging becomes a “first-mile” guarantee of delivery.
What does that mean? Can someone explain with a scenario?
I can only think of a button or a quick action. 
Any other options please?

 
Whenever a contact is inserted, if that contact is associated with an account, then update that account name from this  newly inserting contact name. It has to be bulkified.  If the contact name is "John", then the associated account's name should also be "John:

public Contact trigger updateAccount (AFTER INSERT){

Map<Id, Account> accountList = New Map<Id, Account> ();


for(Contact con: Trigger.New){

   if(con.AccountId){

    Account acc = New Account();
    acc.Name = con.LastName;
    acc.Id = con.AccountId;
    accountList.put(acc.Id, acc);

   }
}
UPDATE accountList.values();
}

I would like to know why we would get an error if we use LIST in production and that we have to use either MAP or SET.
What is designing exactly? Like job responsiblities involved in designing?
When I say design (analysis, design, implementation etc?

I only can think of designing how the template looks (lwc template)?
Is there anything else that I am missing. 

Please advice. 



Thank you. 
1. Batch class can work on upto 50k records using Iterator. Is that right?
2. If you use an iterable, the governor limit for the total number of records retrieved by SOQL queries is still enforced. For more information on using iterables for batch jobs
3.  If the start method of the batch class returns an iterable, the scope parameter value has no upper limit. However, if you use a high number, you can run into other limits. The optimal scope size is a factor of 2000, for example, 100, 200, 400 and so on.

I am bit confused with these limits. Please explain. 
 

Map<Id,List<Opportunity>> addOppurnitieswithaccount = new Map<Id,List<Opportunity>>();

Roll up summary kind of thing.

I am just lost. 



Map<Id,List<Account>> acctsWithOpps = new Map<Id,List<Account>>();
System.debug(acctsWithOpps.values());
List<Opportunity> oppl = [SELECT Account.Name, Name FROM Opportunity WHERE Id =: acctsWithOpps.values()];
for(Opportunity opp: acctsWithOpps.values()){
    system.debug(opp.Name);
}.

Please advice. 
 
I am looking for only lightning-input not a combobox, or select/option tags or bullets, an input field (account search).

anyone?
I am looking for a scenario as to, when we use apex sharing over declarative ways. 
 
Thank you!
Hi all, 
Happy New Year!


Could you guys tell me the scenarios as to when we use callouts in batch apex?
I would like to point out that I am looking for input on the scenarios that you guys faced or know/read about. 
I am inclined more towards when than the how part of this.