• Grant Wickman 9
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi All,

 

I am dealing with an outbound call from salesforce to an external server that uses HTTPS/SSL.

I understand from the documenation that to be valid the certificate must be issued by a Certificate Authority trusted by Java 2 Platform,. 

 

CA certs cost money and I wonder if there a way to use a self-signed certtificate for testing purposes.

 

Thank you very much in advance.

Fernando

Hi, I'm using Triggers to send out emails on "AfterUpdate", however I'd like the trigger to obey the DML options:

 

dml.EmailHeader.triggerUserEmail
dml.EmailHeader.triggerOtherEmail
dml.EmailHeader.triggerAutoResponseEmail

 

 

I figured it'd be as easy as an if statement making sure those variables are true, however I can't seem to find a way to read these variables, only set them. Is there any way to do this?

 

My first thought was to try the below, however it returned null:

 

 

Database.DMLOptions dml = new Database.DMLOptions();
System.debug(Logginglevel.info,dml.EmailHeader.triggerUserEmail);

Then for kicks, I tried:

 

System.debug(Logginglevel.info,Database.DMLOptions.EmailHeader);

 That didn't work either.

 

Any pointers? Is this possible?

 

Thanks in advance!,

Daniel