• Anant Kamat
  • NEWBIE
  • 222 Points
  • Member since 2013
  • PSPL


  • Chatter
    Feed
  • 6
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 99
    Replies
Hello All,
We are not using Opportunity Product object in our org. But whenever an opportunity is created a popup comes up in lightning view to Add Products. Is it possible to disable this popup without overriding the standard opportunity page. Please help me in this regard. Below is the popup I am talking about.

Opportunity Product Popup

Thanks,
Anant
Stuck on Security Specialist Superbadge step 1
Hi All,

I am attempting the Security Specialist Superbadge and have the following error: -

Challenge Not yet complete... here's what's wrong: 
The Account object level permissions are not configured correctly for the Field Sales User profile.
In the Field Sales User Profile / Object Settings I have Read/Create/Edit ticked for the Account Object but there are no check boxes to be selected. I am not sure if i am updating it correctly or not. Attached the screen shot for reference. Any help is appreciated. 

Thanks. 
User-added image
 
Hi All,

I am having issue with mini page layout in Lightning, the mini page layouts were not displayed as shown in Classic. In Chatter tab, for standard object User the mini page layout is showing options as shown below
User-added image

But in Lightning, we are not seeing the same, I only see "Follow", as shown below
User-added image

Whereas I am not seeing "Send Message" which is shown in Classic. How can I add the "Send Message" option in order to display it in Lightning?
How to display the mobile number and progress bar which are shown in Classic mini page layout?

Thanks in Advance.

 

Hi there,

Any body know about, how to integrate salesforce CTI with Avaya

Any help apriciated!

Thanks
Laxmi

Here is a link to the trailhead that i am doing https://trailhead.salesforce.com/content/learn/superbadges/superbadge_lex

Here is a link to the package that doesnt work
https://na114.lightning.force.com/packagingSetupUI/ipLanding.app?apvId=04t36000000g5yC

 
Hi Team,

I am calling batch apex using trigger after deleting the record, but Start method returns null.
How to query deleted records in batch apex start method.
Trigger :
----------

if(Trigger.isDelete){
                
   Database.executeBatch(new BatchUpdateAcct(Trigger.OldMap),1);
               
}

Batch Class
-------------

global class BatchUpdateAcct implements Database.Batchable<sObject> {
    
    Map<Id,Object__c> mapRecs = new Map<Id,Object__c>();
    
    global BatchUpdateAcct(Map<Id,Object__c> oldValue){
        mapRecs = oldValue;
       
    }
    
    global Database.QueryLocator start (Database.BatchableContext BC){
        System.debug('----Start Method-----'+mapRecs.keySet());
        return Database.getQueryLocator([Select id,Name from Object__c where id in :mapRecs.KeySet()]);
    }
    
    global void execute (Database.BatchableContext BC, List<Object__c> objList){
        
    }
    
    global void finish(Database.BatchableContext BC){
        
    }

}

Please advise any one how to resolve this issue ?
Is it possible to call the batch apex after deleting the records ?


Thanks,
Lakshmi S
 
Hi all
I need some advise on the following error "Cannot modify a collection while it is being iterated" 

what can be the issue.

we have checked if the code does any update on loop however we did not find any 

please advise ASAP

regards
Johny
Hi friends, 
In the existing page layout, I already have a Contact related list. Now i have a requirement to create shareholders which can also be accomodated in Contacts and display the same below the contacts related list. 
How can I add another Contacts related list in pagelayout and show only Shareholders type in that. 

Thanks in advance, kindly suggest. 

Thanks
 there are four objects accounts , policy(custom object) , opportunity , application(custom object). account and policy have masterdetail relationship , account and opportunity also have MD relation. and opportunity have lookup relation with application . every application must have one opportunity assigned.
there is one  field on application called 'status'. 
requiremet :when application status is 'approved by CMS' .  check if related account with opportunity have assigned active  policy?if yes , update application status to "Enrolled" .


code i have written
trigger UpdateApplicationStatusToEnrolled on vlocity_ins__Application__c (before update) {
Map <string,List<vlocity_ins__Application__c>> strMap = new Map <string,List<vlocity_ins__Application__c>>();
set<id> oppid = new set<id>();

for(vlocity_ins__Application__c app :trigger.new)
{
if(app.vlocity_ins__Status__c=='Approved by CMS')
{
oppid.add(app.id);}}




List<opportunity> oppDetails=[SELECT id, AccountId, Account.name ,Account.vlocity_ins__ActivePolicyNumber__c  
 FROM Opportunity where Account.vlocity_ins__ActivePolicyNumber__c >=1 and id IN: oppid];
 
 for(vlocity_ins__Application__c app : Trigger.new)

{
 List<vlocity_ins__Application__c> appList = strMap.containsKey(app.opportunityid) ? strMap.get(app.opportunityId) : new List<vlocity_ins__Application__c>();

                        appList.add(app);

                        strMap.put(app.opportunityId, appList);




 
}

getting error , please help 

Hi All,
I have created a Process Builder which should fire an email alert for the approver after 1 hr of getting created based on the Criticality of Case.
However it does not seem to work as expected though the criteria is met. Not sure what is missing from my end.
Approval Process

The criteria formula is evaluating to true with the data I have created.
Scheduled Action

Can somebody help me in this regards.

Thanks,

Anant

Hi All,

I am not able to complete the challenge "Mark Item as Packed" getting error message  The campingListItem JavaScript controller isn't setting the 'Packed' value correctly.

Below is the code, please help


<aura:component >

    <aura:attribute name="item" type="Camping_Item__c" required="true"/>
    <aura:attribute name="buttonDisabled" type="String" default="false"/>

    <p>Price:
        <ui:outputCurrency value="{!v.item.Price__c}"/>
    </p>
    <p>Name:
        <ui:outputText  value="{!v.item.Name}"/>
    </p>
    <p>Quantity:
        <ui:outputNumber value="{!v.item.Quantity__c}"/>
    </p>
    <p>Packed?:
        <ui:outputCheckbox value="{!v.item.Packed__c}"/>
    </p>
    
    <ui:button label="Packed!" press="{!c.packItem}" disabled="{! v.buttonDisabled}" />
    
</aura:component>

({
    packItem : function(component, event, helper) {
        component.set("v.item", { 'sobjectType': 'Camping_Item__c','Packed__c': true });
        component.set("v.buttonDisabled", "true");  
    }
})

 
I want to add external JAR files into salesforce to do API call, unfortunately they do not have WSDL.

Thanks,
Mallik
hello all

i am working on a trigger in which i need to show an alret massege before deleting the record . how can i do it

{
      
            sale__c salesobj1=new sale__c();
            try
            {
            salesobj1=[select id from sale__c where Opportunity_Name__c=:a.id];
          
            delete salesobj1;
            }
            catch(exception e)
            {}
        }
    }
}

before salesobj1 gets deleted in need to show the alert massege to user and then let him save

I'm working on a number of customizations to SFDC and there is at least one value that I will need virtually everywhere in my code. But I don't want to hardcode this everywhere. I would like to have a single place where this value can be updated and hopefully it will be possible to distribute it in a package when I am done.

 

What is the best way to have such a "global" setting? I was thinking about a custom object with a single record, but then I am not sure how to refer to it from everywhere since it's not related to anything per se...

 

Any suggestions will be greatly appreciated.

 

Thank you in advance.