• Roshan 99
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Winobell Inc

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 6
    Replies
Having trouble with the sign-up process for the new Predictive Vision Service?  Please let us know here and we will work to help you through the process.  

Thanks!
 
Hi,

I'm trying to determine if delegated authentication is supported for community users with a Customer Community Login license. It's clear that SAML-based SSO is supported, but not clear from any documentation I can find whether delegated authentication can be used.

Thanks for any help,

  Doug

 
I want to send an email alert to create a pdf of the invoice when enddate of the milestone is reached(milestone and invoice has lookup relation).
I am using professional edition so this can be done using process builder. but my process builder is not working properly..can anyone provide me with some solution for this??
Do we have Any alternate solution to do it??
{!REQUIRESCRIPT("/soap/ajax/37.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/37.0/apex.js")}

var accnt = new sforce.SObject("Account");
var recType=sforce.connection.query("SELECT name, id FROM RecordType" );
//alert(recType);
var records = recType.getArray("records");
//alert(records);
accnt.Name='{!My_Leads__c.Company__c}';
if(accnt.Name !="")
{
accnt.RecordTypeId = records[0].Id;
//alert(records[0].Id);

accnt.Id = '{!Account.Id}';
accnt.Name = prompt('','{!My_Leads__c.Company__c}');
accnt.OwnerId='{!My_Leads__c.OwnerId}';

var result = sforce.connection.create([accnt]);
if(result[0].getBoolean("success"))
{
alert('Account created successfully');

}
var cnt= new sforce.SObject("Contact");
cnt.Id = '{!Contact.Id}';
cnt.OwnerId='{!My_Leads__c.OwnerId}';
cnt.AccountId=result[0].id;
cnt.lastName = prompt('','{!My_Leads__c.Lead_Name__c}');

var result = sforce.connection.create([cnt]);
 if(result[0].getBoolean("success"))
{
alert('contact created successfully');
window.location.reload();

}

else{
  alert('Error : '+result);
}
}
else
{
accnt.RecordTypeId=records[1].Id;
//alert(records[1].Id);
accnt.Id = '{!Account.Id}';
accnt.LastName = prompt('','{!My_Leads__c.Lead_Name__c}');
accnt.OwnerId='{!My_Leads__c.OwnerId}';

var result = sforce.connection.create([accnt]);
if(result[0].getBoolean("success"))
{
alert('Account created successfully');

}
else
{
 alert('Error : '+result);
}
}