• pradeep kumar manegalla
  • NEWBIE
  • 16 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 6
    Replies
when installing the ApexSpecialistSuperbadgePackage package for completeion of superbadge receiving the error
'You cannot install an unlocked package without a namespace into an org with a namespace.'
 Namespace is already there. Not sure what im missing here, can someone please help asap.
when installing the ApexSpecialistSuperbadgePackage package for completeion of superbadge receiving the error
'You cannot install an unlocked package without a namespace into an org with a namespace.'
 Namespace is already there. Not sure what im missing here, can someone please help asap.
Hello,  could someone help get my code to have at least 75% code coverage.  I have a catch at the end but when I try to deploy, it says my code coverage is at 0%.  Thank you!
 
trigger createPEActivity on Task (after insert) {
    
    List <SBI_Activity__c> vehToInsert = new List <SBI_Activity__c> ();
    // or whatever your custom object name put instead of RGS_Activity__c
    
    for (Task t : Trigger.new) {
        
        
        // here is where you check if emailmessage that is being inserted
        //meets the criteria
        if (t.OwnerId == '0050f000009ykPo') {
        
        SBI_Activity__c v = new SBI_Activity__c (); //instantiate the object to put values for future record
        
        // now map emailmessage fields to new rgsactivity object that is being created with this emailmessage
        
        v.recordtypeid = '0126f000000Wkk8';
        v.Notes__c = t.Description;
        v.Contact__c = t.WhoId;
        V.Primary_RGM_Phase__c = 'PENDING';
        v.Activity__c = 'PENDING';
        v.Channel__c = 'Human engagement';
        v.Activity_Date__c = t.ActivityDate; // and so on so forth untill you map all the fields. 
        
        //once done, you need to add this new object to the list that would be later inserted. 
        //don't worry about the details for now
        
        vehToInsert.add(v);
        
        
        }//end if
        
    }//end for t
    
    //once loop is done, you need to insert new records in SF
    // dml operations might cause an error, so you need to catch it with try/catch block.
    try{insert vehToInsert;}catch (System.QueryException qe){} 
}



 
Hi
I am plannning to give salesforce developer winter 17 maintenance exam. But in my Webassessor account I dont see any option to register for maintenance Exam. Can any one pls help me to register for salesforce developer winter 17 maintenance exam.

Thanks,
Dilip
Hi
I have a problem with canvas app on lightning component. Sometimes my canvas app is blank.

Here is an example of my lightning component :

<aura:component implements="force:appHostable" >
    <aura:handler name="init" action="{!c.doInit}" value="{!this}" />
    <force:canvasApp developerName="MyCanvas" applicationName="MyCanvas"  canvasId="Canvas" aura:id="Cars" border="yes" width="100%" height="600"  scrolling="yes"  namespacePrefix=""/>
</aura:component>

Scenario when not working:

If I open my canvas app from Salesforce Lightning Experience app luncher at first

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

My canvas app is being fully loaded to iframe and i can work with it.

If now i  open again my canvas app again using Salesforce Lightning Experience app luncher

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

At this time my canvas app is blank and in iframe i see only blank tags <title></title><body></body>.
I've checked that I'm connected to my external app and return data by canvas app request.

If now I refresh the page with canvas app I see my external up again.

Can somebody help me, please?

Thanks.
I am trying to create a Date of Birth field. Whether you are using a VF page or a regular page layout, when you use the calendar in Salesforce, it only lets you pick from years going forward. So the calendar is useless for something like a Date of Birth since obviously the year is before this year. Obviously the user can type the date, but is there any other way to adjust how the calendar behaves.
Hi
I have a problem with canvas app on lightning component. Sometimes my canvas app is blank.

Here is an example of my lightning component :

<aura:component implements="force:appHostable" >
    <aura:handler name="init" action="{!c.doInit}" value="{!this}" />
    <force:canvasApp developerName="MyCanvas" applicationName="MyCanvas"  canvasId="Canvas" aura:id="Cars" border="yes" width="100%" height="600"  scrolling="yes"  namespacePrefix=""/>
</aura:component>

Scenario when not working:

If I open my canvas app from Salesforce Lightning Experience app luncher at first

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

My canvas app is being fully loaded to iframe and i can work with it.

If now i  open again my canvas app again using Salesforce Lightning Experience app luncher

Salesforce Lightning Experience app luncher -> MyApp -> MyCanvasAppTab

At this time my canvas app is blank and in iframe i see only blank tags <title></title><body></body>.
I've checked that I'm connected to my external app and return data by canvas app request.

If now I refresh the page with canvas app I see my external up again.

Can somebody help me, please?

Thanks.