• VRK1
  • NEWBIE
  • 20 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 6
    Replies

Team,
We recently configured LinkedIn Sales Navigator  in Saleforce . Its can working sucessfully and we can able to create Contacts & Leads by using LinkedIn Sales Navigator .

Our business expecting details like ::

-- How many contacts / leads are created in Salesforce by using LinkedIn Sales Navigator .

For example :
By using LinkedIn Sales Navigator ,  10 contacts , 5 Leads are created in Salesforce,  I need to track How many contacts / Leads are created through LinkedIn Sales Navigator .?

Thanks

  • April 06, 2022
  • Like
  • 0

 <aura:registerEvent name="oSelectedRecordEvent" type="c:skillCompEvent"/>
 <aura:attribute name="selection" type="List" />

  <lightning:datatable keyField="id"
                                     data="{!v.skillList}"
                                     columns="{!v.skillColumns}"
                                     onrowselection="{! c.getSelectedName }"
                                     /> 

Controller:

 getSelectedName: function (component, event,helpder) {        
         var selectedRows = event.getParam('selectedRows');
         var setRows = [];   
         for (var i = 0; i < selectedRows.length; i++){ 
             setRows.push(selectedRows[i]);
   
         var compEvent = component.getEvent("oSelectedRecordEvent");
         compEvent.setParams({
             "recordByEvent" : selectedRows[i].Id
         });  
         compEvent.fire()
        component.set("v.selection", setRows);  
            
     }

Now this code saves the only one record Even if i select more than 1 checkboxes ......

can anyone pls chck and let me know whats wrong in this code

Thanks  

  • April 04, 2022
  • Like
  • 0
Hi 
my requirement is i need to query 
OpportunityLineItem and  Resourse__c from 'Opportunity'   object .

i can query OpportunityLineItem from Opportunity but not fetching 'Resource__c ' object .
**********
Select Id, Name,(Select Id,TotalPrice, PricebookEntry.ProductCode,PricebookEntry.Name,(select id,name from Resourse__c) From OpportunityLineItems) From Opportunity Where Id = 'xxxxxxxxx'
************
can you pls check and let me know how to query on opportunity and fetch both OpportunityLineItems & Resourse__c.

Thanks
VRK

 
  • April 04, 2022
  • Like
  • 0
Hi 
we are planning to Inegrate between Salesforce to Monday.com Tool ( Bi-sync direction)  on Opportunity, opportunity line Item, Resource__c , Skill__c objects 

Resource__c is the lookup object for Opportunity Line Item
Skill__c          is the lookup object for Resource__c.

We need Push 'Resource__c','Skill__c' & 'Opportunity Line Item' data to Monday.com Tool.

By using Rest API , can we post 
opportunity --> opportunity line item---> resource__c --> Skill__c .

I need to post / retrive data from Monday.com  <---> Salesforce.

can anyone help me on this ?
How can we query resource__c & Skill__ c data and post to Monday.com Tool ?

Thanks
 
  • March 30, 2022
  • Like
  • 0

Hi ,
for below code, Test coverage is failed and getting erros. can you pls check below my post :

Apex classs :
User-added imageand below is my Test class :
@isTest
public class Test_PickListController {
    static testMethod void insertValues() {
        Resourse__c resource = new Resourse__c();
        resource.Name='Test1';
        resource.Job_type__c='Automation Engineer';
        resource.Type_of__c= 'Bestshore';
        resource.EngagementType__c = 'Fixed Price';
        insert resource;
        
        PickListController.getResource(resource.Id);
        
        Skill_Management__c skillMgt = new Skill_Management__c();
        skillMgt.Name='Java' ;
        skillMgt.Skill_Category__c='Java' ;
        skillMgt.Skills__c='Java' ;
        insert skillMgt;
        
        Skill_Management__c skillUpdate = [select Id,Name,Skill_Category__c,Skills__c from Skill_Management__c
                                           where Id =:skillMgt.Id limit 1];
              
        Skill__c ac = new Skill__c();
       /* ac.Resource__c = resource.Id;
        ac.Skill_Management__c = skillUpdate.id ;        
        insert ac;*/

        PickListController pc = new PickListController();
        
        PickListController.insertValues(ac,skillMgt.Id,resource.Id);
          
    }
}

When i try to execute the Test class getting below and its coverage only 35% .
Class.PickListController.insertValues: line 29, column 1
Class.Test_PickListController.insertValues: line 29, column 1.


can
 you pls check and help on this.
Thanks

  • March 21, 2022
  • Like
  • 0
User-added image

Hi All,
We got the below requirement , Any ideas , Pls suggest:

Under Account Hierachy, can we display related contacts for particular Account ?

For example :
'Parent Test Account' have 5 contacts and
' Child1 Account ' have 3 contacts and
'Child2 Accounts' have 4 contacts .

When i navigate to Account Hierachy of the 'Parent Test Account' , need to display 5 contacts 
 If i navigate to Child1 account , need to display 3 contacts ...........
     
Pls let me know any idea on this requirement ?

Thanks
VRK
  • February 08, 2022
  • Like
  • 0
Hi experts,

We got one requirement like, Need to clone both object & all the  related object records .
'Clone' functionality supports for only clone the object only not the related list .

can you pls help on this requirement .
Thanks
VRK​​​​​​​
  • February 08, 2022
  • Like
  • 0

Hi
from 3rd party , i can able to receive JSON data ...
Now my requirement is :

Based on JSON Response, How can i develop Table in LWC Component 
Thanks
VRK

  • August 30, 2021
  • Like
  • 0
Hi 
my requirement is i need to query 
OpportunityLineItem and  Resourse__c from 'Opportunity'   object .

i can query OpportunityLineItem from Opportunity but not fetching 'Resource__c ' object .
**********
Select Id, Name,(Select Id,TotalPrice, PricebookEntry.ProductCode,PricebookEntry.Name,(select id,name from Resourse__c) From OpportunityLineItems) From Opportunity Where Id = 'xxxxxxxxx'
************
can you pls check and let me know how to query on opportunity and fetch both OpportunityLineItems & Resourse__c.

Thanks
VRK

 
  • April 04, 2022
  • Like
  • 0

Hi ,
for below code, Test coverage is failed and getting erros. can you pls check below my post :

Apex classs :
User-added imageand below is my Test class :
@isTest
public class Test_PickListController {
    static testMethod void insertValues() {
        Resourse__c resource = new Resourse__c();
        resource.Name='Test1';
        resource.Job_type__c='Automation Engineer';
        resource.Type_of__c= 'Bestshore';
        resource.EngagementType__c = 'Fixed Price';
        insert resource;
        
        PickListController.getResource(resource.Id);
        
        Skill_Management__c skillMgt = new Skill_Management__c();
        skillMgt.Name='Java' ;
        skillMgt.Skill_Category__c='Java' ;
        skillMgt.Skills__c='Java' ;
        insert skillMgt;
        
        Skill_Management__c skillUpdate = [select Id,Name,Skill_Category__c,Skills__c from Skill_Management__c
                                           where Id =:skillMgt.Id limit 1];
              
        Skill__c ac = new Skill__c();
       /* ac.Resource__c = resource.Id;
        ac.Skill_Management__c = skillUpdate.id ;        
        insert ac;*/

        PickListController pc = new PickListController();
        
        PickListController.insertValues(ac,skillMgt.Id,resource.Id);
          
    }
}

When i try to execute the Test class getting below and its coverage only 35% .
Class.PickListController.insertValues: line 29, column 1
Class.Test_PickListController.insertValues: line 29, column 1.


can
 you pls check and help on this.
Thanks

  • March 21, 2022
  • Like
  • 0
User-added image

Hi All,
We got the below requirement , Any ideas , Pls suggest:

Under Account Hierachy, can we display related contacts for particular Account ?

For example :
'Parent Test Account' have 5 contacts and
' Child1 Account ' have 3 contacts and
'Child2 Accounts' have 4 contacts .

When i navigate to Account Hierachy of the 'Parent Test Account' , need to display 5 contacts 
 If i navigate to Child1 account , need to display 3 contacts ...........
     
Pls let me know any idea on this requirement ?

Thanks
VRK
  • February 08, 2022
  • Like
  • 0
Hi experts,

We got one requirement like, Need to clone both object & all the  related object records .
'Clone' functionality supports for only clone the object only not the related list .

can you pls help on this requirement .
Thanks
VRK​​​​​​​
  • February 08, 2022
  • Like
  • 0