-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
8Questions
-
6Replies
Custom settings used for comparing new and old values
I have to compare new and old values for few fields of a object.How can it be done using custom settings and used in apex class?
Can you help me few line of codes?
Thanks for helping
-
- aaaaaaaaaaa
- June 06, 2015
- Like
- 0
- Continue reading or reply
Validation rule to allow multiple email id's separated by comma in text field?
Can some one help me with the validation rule for entering mutiple email addresses seperated by comma?
I am trying to achieve basic validation for email as i am using text field(255) to enter mutiple email id's plus to ensure that multiple email addresses has to have each address separated by a comma
and if only one email address is present in the text box no need of using comma.
I know regex function is used for basic validation of email. But how do i combine regex function and the logic that two email addresses should be seperated by comma.
Thanks in advance
-
- aaaaaaaaaaa
- November 04, 2014
- Like
- 0
- Continue reading or reply
How to disable input fields when i enter a text value in another input field
I have 6 input fields in which 4 are input text ( say IT1,IT2,IT3,IT4) field and 2 are select list field.(say SL1 ,SL2)
if i try to enter a text value in my IT1 field all the other fields (IT2,IT3,IT4,SL1,SL2) should be disabled in my vf page.
Can someone please help on this.your help will be very much appreciated.
Thanks in advance
-
- aaaaaaaaaaa
- November 01, 2014
- Like
- 0
- Continue reading or reply
how to wrap text in a column of pageblock table??
hii,
i have a pageblock table which has columns
one of the column has data coming from field whose data type is text(256)
i have fixed the width of the column as
<apex:column width="30%" >
but when i write a long text value in the field.........the column width goes beyond 30%
so i want to wrap the text to second line when the width is 30% so that it cannot go beyond 30%
please provide me way of doing it !!!!!!
-
- aaaaaaaaaaa
- September 23, 2013
- Like
- 0
- Continue reading or reply
how to wrap text in a column of page block table??
hii,
i have a pageblock table which has columns
one of the column has data coming from field whose data type is text(256)
i have fixed the width of the column as
<apex:column width="30%" >
but when i write a long text value in the field.........the column width goes beyond 30%
so i want to wrap the text to second line when the width is 30% so that it cannot go beyond 30%
please provide me way of doing it !!!!!!
-
- aaaaaaaaaaa
- September 23, 2013
- Like
- 0
- Continue reading or reply
how to wrap text in a column of a page block table??
hii,
i have a pageblock table which has columns
one of the column has data coming from field whose data type is text(256)
i have fixed the width of the column as
<apex:column width="30%" >
but when i write a long text value in the field.........the column width goes beyond 30%
so i want to wrap the text to second line when the width is 30% so that it cannot go beyond 30%
please provide me way of doing it !!!!!!
-
- aaaaaaaaaaa
- September 23, 2013
- Like
- 0
- Continue reading or reply
Access to reoports and dashboards
i have a system admin profile
i want to provide users with chatter license access to reports and dashboards.
can anyone brief me how can i achieve this?
-
- aaaaaaaaaaa
- August 20, 2013
- Like
- 0
- Continue reading or reply
how to convert string to sobject?
hi all,
i have a trigger which is giving error Illegal assignment from String to SOBJECT,
i want to fetch the name from query given in below code into contact field for case object.
please suggest me how to do this
code:
trigger testcases on Case (after insert,after update ) {
case casd=new case();
List<String> emailAddresses = new List<String>();
for (Case caseObj:Trigger.new) {
if (caseObj.Account==null &&
caseObj.Status== 'closed')
{
emailAddresses.add(caseObj.SuppliedEmail);
}
}
contact listcontact = [Select Id,name From contact Where Email in :emailAddresses];
// we will query for all fields which are required for contact and accounts//
//system.debug('----TEST---'+listcontact);
casd.contact=listcontact.name;
}
-
- aaaaaaaaaaa
- August 18, 2013
- Like
- 0
- Continue reading or reply
Custom settings used for comparing new and old values
I have to compare new and old values for few fields of a object.How can it be done using custom settings and used in apex class?
Can you help me few line of codes?
Thanks for helping
- aaaaaaaaaaa
- June 06, 2015
- Like
- 0
- Continue reading or reply
Validation rule to allow multiple email id's separated by comma in text field?
Can some one help me with the validation rule for entering mutiple email addresses seperated by comma?
I am trying to achieve basic validation for email as i am using text field(255) to enter mutiple email id's plus to ensure that multiple email addresses has to have each address separated by a comma
and if only one email address is present in the text box no need of using comma.
I know regex function is used for basic validation of email. But how do i combine regex function and the logic that two email addresses should be seperated by comma.
Thanks in advance
- aaaaaaaaaaa
- November 04, 2014
- Like
- 0
- Continue reading or reply
How to disable input fields when i enter a text value in another input field
I have 6 input fields in which 4 are input text ( say IT1,IT2,IT3,IT4) field and 2 are select list field.(say SL1 ,SL2)
if i try to enter a text value in my IT1 field all the other fields (IT2,IT3,IT4,SL1,SL2) should be disabled in my vf page.
Can someone please help on this.your help will be very much appreciated.
Thanks in advance
- aaaaaaaaaaa
- November 01, 2014
- Like
- 0
- Continue reading or reply
how to convert string to sobject?
hi all,
i have a trigger which is giving error Illegal assignment from String to SOBJECT,
i want to fetch the name from query given in below code into contact field for case object.
please suggest me how to do this
code:
trigger testcases on Case (after insert,after update ) {
case casd=new case();
List<String> emailAddresses = new List<String>();
for (Case caseObj:Trigger.new) {
if (caseObj.Account==null &&
caseObj.Status== 'closed')
{
emailAddresses.add(caseObj.SuppliedEmail);
}
}
contact listcontact = [Select Id,name From contact Where Email in :emailAddresses];
// we will query for all fields which are required for contact and accounts//
//system.debug('----TEST---'+listcontact);
casd.contact=listcontact.name;
}
- aaaaaaaaaaa
- August 18, 2013
- Like
- 0
- Continue reading or reply