• Amish Ranjit
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 8
    Replies
Is there any way we can send custom email whenever user finish resetting password ?
I have a requirement to filter sending welcome email to two contact type with community license. Is there any way to prevent sending welcome email from Apex code if even "welcome email checkbox" is checked ?
If this is not possible, can we go with workflow rule. Is it possible to fetch merge field value in VF email template using controller ? Can any one could provide me some suggestion on how to fetch merge field value using controller ??
. ( NOTE: with chekc box checked, merger field value is auto populate)
I have a JS for sticky header. Somehow, it is not working on salesfroce lightning.
Below is the sample code :
(function(skuid){
    var $ = skuid.$;
    var j$ = jQuery.noConflict();
    $(document.body).one('pageload',function(){
    var j$ = jQuery.noConflict();
    j$(document).ready(function (){
         var navOffset= j$(".scrolling").offset().top;
         console.log(navOffset);
         
         j$(window).scroll(function ()
         {
         
             var scrollPos= j$(window).scrollTop();
             
             console.log(scrollPos);
             if (scrollPos>=navOffset)
             {
                 j$(".scrolling").addClass("fixed");
             }
             else
             {
                 j$(".scrolling").removeClass("fixed");
             }
         });
         
    });
   });
})(skuid);

Would be glad if anyone could help with this.
I used change set to deploy VF pages, class and test class. It get uploaed from SandBox to Production. But when i try to validate inbound change set, test class doesn't run at all. it not even getting failed. ? It been almost 24 hours.!
User-added image
Hello ,
      I am working on salesforce integration with external system.  I  have a scenerio where nightly batch-class has to run to update inventory in both salesfroce and external- system. I do have some  experience with integration but not with integration using batch class. I am wondering if it is possible to write a batch class to make a HTTP request  and run in nightly basis ?
I have been trying to use NON SOAP method for Fedex- Salesforce integration. I am using  Developer console to pass the sample value. While running the sample code, I am getting "Read Time Out" exception.  I had also set time to 2 minute and  still showing same exception. Below is my sample code,

HttpRequest req = new HttpRequest();
HttpResponse res = new HttpResponse();
Http http = new Http();
String xml = '<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-              ENV="http://schemas.xmlsoap.org/soap/envelope/"xmlns:ns1="http://fedex.com/ws/rate/v13".....................................'
req.setEndpoint('https://wsbeta.fedex.com:443/web-services');
req.setMethod('POST');
req.setTimeout(120000);
system.debug(req);
req.setHeader('Referrer', 'Cloudygen');
req.setHeader('Host', 'wsbeta.fedex.com');
req.setHeader('Accept', 'image/gif, image/jpeg,image/pjpeg, text/plain, text/html, */*');
req.setHeader('Content-Type', 'image/gif');
req.setHeader('Content-Length',String.valueOf(xml.length()));
system.debug(req);
res = http.send(req);
system.debug(res);

I would be glad if someone could help me with this. I would also appreciate if anyone could provide me with different approach for FEDEX integration.

We are our own application(package) "A". We are using Application(package) "B" to make applcaition "A". We also have few customer who are using our applcation "A". Whenever we push the upgrade for our package "A", is it possible   for us to push the latest "B" update to our clients or do they have to manually install it?

I have use batch class to perform DML operation but I got a an email saying I have " System.LimitException :Too many DML rows: 10001". I try to solve this issue but could not figure out. Would be glad if anyone could help me out with this issue.
I have a requirement to filter sending welcome email to two contact type with community license. Is there any way to prevent sending welcome email from Apex code if even "welcome email checkbox" is checked ?
If this is not possible, can we go with workflow rule. Is it possible to fetch merge field value in VF email template using controller ? Can any one could provide me some suggestion on how to fetch merge field value using controller ??
. ( NOTE: with chekc box checked, merger field value is auto populate)
I have a JS for sticky header. Somehow, it is not working on salesfroce lightning.
Below is the sample code :
(function(skuid){
    var $ = skuid.$;
    var j$ = jQuery.noConflict();
    $(document.body).one('pageload',function(){
    var j$ = jQuery.noConflict();
    j$(document).ready(function (){
         var navOffset= j$(".scrolling").offset().top;
         console.log(navOffset);
         
         j$(window).scroll(function ()
         {
         
             var scrollPos= j$(window).scrollTop();
             
             console.log(scrollPos);
             if (scrollPos>=navOffset)
             {
                 j$(".scrolling").addClass("fixed");
             }
             else
             {
                 j$(".scrolling").removeClass("fixed");
             }
         });
         
    });
   });
})(skuid);

Would be glad if anyone could help with this.
I used change set to deploy VF pages, class and test class. It get uploaed from SandBox to Production. But when i try to validate inbound change set, test class doesn't run at all. it not even getting failed. ? It been almost 24 hours.!
User-added image
Hello ,
      I am working on salesforce integration with external system.  I  have a scenerio where nightly batch-class has to run to update inventory in both salesfroce and external- system. I do have some  experience with integration but not with integration using batch class. I am wondering if it is possible to write a batch class to make a HTTP request  and run in nightly basis ?
I have use batch class to perform DML operation but I got a an email saying I have " System.LimitException :Too many DML rows: 10001". I try to solve this issue but could not figure out. Would be glad if anyone could help me out with this issue.