You need to sign in to do that
Don't have an account?
Mahesh KG
how to attach a file to an account in java
Hi Team,
Can you please help me with the code for attaching a pdf file to the account i create.
i am creating account with the below code.
@HttpPost
global static ID createAccount(String name,String parent, String accountMgr,String setUpFee) {
Account restAcc = new Account(
Name=name,
ParentId=parent,
Account_Manager__c=accountMgr,
Account_Set_up_Fee__c=setUpFee
);
insert restAcc;
return restAcc.Id;
}
i need to attach a pdf file to the above created account. i will be using java for creating the account.
Thanks in advance
Can you please help me with the code for attaching a pdf file to the account i create.
i am creating account with the below code.
@HttpPost
global static ID createAccount(String name,String parent, String accountMgr,String setUpFee) {
Account restAcc = new Account(
Name=name,
ParentId=parent,
Account_Manager__c=accountMgr,
Account_Set_up_Fee__c=setUpFee
);
insert restAcc;
return restAcc.Id;
}
i need to attach a pdf file to the above created account. i will be using java for creating the account.
Thanks in advance
Mahesh KG
Any update on this?