• SchemeWalker
  • NEWBIE
  • 25 Points
  • Member since 2013

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies

Hello,

 

Can you please explain what dupe catcher is? What are the uses ? Please give me a scenario

Can we upload a batch of loads and still make the dupe catcher working?

 

Help would be appreciated 

 

Thanks

Hello,

 

Can anyone please tell me how this roles and profiles are used in real time.

I am good with the defination part and i have clear idea what those terms means. but want to know how they are applied in real time?

 

Help would be appreciated 

 

Thanks

hello Friends,

 

I am tring to put my data in one wrapper class list but is ts givin the list out of bound exception.

public class ClS_RecentItem {
public string RecOpp{get;set;}
public list<opportunity> lstOpp{get;set;}
public list<string> name{get;set;}
public list<id> ids{get;set;}

public list<wrpclass> lstWrp{get;set;}

public void Search()
{


name= new list<string>();
ids= new list<id>();
lstWrp=new list<wrpclass> ();
Http httpProtocol = new Http();
HttpRequest request = new HttpRequest();
request.setHeader('Authorization', 'OAuth '+UserInfo.getSessionId());
request.setEndPoint('https://cs6.salesforce.com/services/data/v26.0/recent');
//request.setEndPoint('https://ap1.salesforce.com/services/data/v26.0/sobjects/Opportunity');
request.setMethod('GET');
HttpResponse response = httpProtocol.send(request);
String jsonInput = response.getBody();
system.debug('===>'+jsonInput);
System.JSONParser parser = JSON.createParser(jsonInput);

system.debug('***parser***'+parser);

String JSONString = JSON.serialize(jsonInput);

system.debug('***response***'+JSONString);
while (parser.nextToken() != null) {
System.debug('Current token: ' + parser.getCurrentToken());
if ((parser.getCurrentToken() == JSONToken.FIELD_NAME) &&(parser.getText() == 'name'))

{
parser.nextToken();
name.add(parser.getText());
System.debug('---------------name---------------------Recent Item = '+name);
System.debug('-----------------------------------------------Recent Item = '+parser.getText());

}
if ((parser.getCurrentToken() == JSONToken.FIELD_NAME) &&(parser.getText() == 'id'))
{
parser.nextToken();

ids.add(parser.getText());


System.debug('------------------name--------------------Recent Item id = '+ids);
System.debug('-size of name= '+name.size());
System.debug('-size of nids= '+name.size());
integer i;
for(i=0;i<name.size();i++){
{

for(string s:name){
wrpclass w=new wrpclass(s);
lstWrp.set(i,w);            //Here i am getting error


}
for(id d:ids){
wrpclass a=new wrpclass(d);
lstWrp.set(i,w);    //Here i am getting error


}

System.debug('-Wrapper List--------- = '+lstWrp);
}




}

}
}

}


public class wrpclass{

public string objname{get;set;}
public string objid{get;set;}
public wrpclass(string l)
{

objname=l;

}
public wrpclass(id d)
{

objid=d;

}
}
}

 

 

Any help will be appreciated

  • March 15, 2013
  • Like
  • 0

Hello,

 

Can you please explain what dupe catcher is? What are the uses ? Please give me a scenario

Can we upload a batch of loads and still make the dupe catcher working?

 

Help would be appreciated 

 

Thanks