• Chubby
  • NEWBIE
  • 90 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 31
    Questions
  • 42
    Replies
Hi team,

I have a requirement where I have VF  page and when I choose a file to upload I need to validate file size and display error message if it is more size. After successful upload page should be redirected back to the parent object. I tried in apex and ended up with view state error. Please help to solve this
Thanks In advance.
Hello Everybody,

We have integration requirement in our project where we need to send documents (PDF,Text,Emails etc) to external system. We need to have a Button on record page, once we click on that button few validations to be performaed after that need to display pop up window to browse files from local machine. Once we browse the file, size should be validated, if size is greater than default should display a message if everything is ok then a record should be created under notes & attachements section. Can someone pleas help me till this point how do I validate all these stuff upon button click. Later I need to send the file from salesforce.

Thanks,
Gowthami.
Hi All,
I have a requirement stating when I send an email using Send Email button in Activity history and open it by clicking subject, I want to place Resend button. When I click Resend that particular mail should go again. How can we do this? please sugest me which approach i can follow.

Thanks.
Hi All,

Can we write SOQL inside button scripting to fetch child records. I tried something like below.
var reocrds = sforce.connection.query(here parent to child query) but it doesn't seem to be working.
Please help me know how can i do this.
 Thanks.
 
Hi All,

I have a requirement where i have to fetch child records with specific name. If found i need to update check box to true on parent object.

Please help me how can i do that.

Thanks In Advance.
Hi All,
I have the below requirement. I have one parent and 2 childs. i want to get ids of two child records and update a field with id of child 2 on child1 and vice versa. How can i do this?

Thanks.
Hi Folks,

I have a requirement where one parent has 2 childs. Now I am on child1 record, here i need to have hyperlink let's say child2 and when I click the hyperlink it should take me to that child2 record page. Please suggest how to implement this.

Thanks in Advance.
Hi all,

I have a requirement in visualforce Email template. I need to conditionally display subject for Email templates based on a field value. I found the below one in some blog.
<messaging:emailTemplate subject="{!IF(relatedTo.LeadSource = 'Web','This is PG1 subject', IF(relatedTo.LeadSource = 'Other','This is PG2 subject','false') )}"  recipientType="Lead" relatedToType="Lead">
 
<messaging:plainTextEmailBody>
 
{!
IF(relatedTo.LeadSource = "Web","This is PG1 email"
,
IF(relatedTo.LeadSource = "Other","This is PG2 email ","false")
)
}
 
</messaging:plainTextEmailBody>
 
</messaging:emailTemplate>
But in the subject i want to display Leasd source as well. Subject would be like "This is PG1 Email Web"/"This is PG1 Email Other".
Please help me with this requirement.

Thanks.
Hi All,

I have a requirement where the field holds comma separated values. Let's say 1234,4567,7890 like this. I want to split these values and check each value length. If length is <4 then error message should be displayed to user. Please help me how to achive this. I know that i should use split method first but after that how to check each field length?

Your inputs appreciated.

Thanks.