• VN
  • NEWBIE
  • 25 Points
  • Member since 2007

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 38
    Questions
  • 21
    Replies

Hi,

 

Can anyone please let me know why is this checkbox 'Starts with a vowel sound' is used while creating objects in salesforce?

 

I read somewhere that 'This is used for languages where words need different treatment depending on the first character'.

 

If anyone can explain me with example on how it works that would be great.

 

Thanks in advance

Priya Nair

Hi,
 
I am getting a strange problem when i try executing s-controls. I have created a button on HTML page. The functionality of button is to create a report on the same page when clicked. When clicked for the first time the report comes but when clicked again a window pops up as explained below
 

AJAX Toolkit Shell

Using bookmarklet version of shell: commands will run in opener's context.
Request: server- /services/Soap/u/13.0
.....
.....
 
Response : status - 200
 
What is this? Why is this window opening?
 
Is this some error?
 
Please help.
 
Thanks
Priya Nair
Hi,
 
We have a requirement where we need to populate a field in Accounts page. The field will have the count of total number of events completed for this account. The trigger should get executed whenever an event is created or updated.
 
My doubt is: Is it possible to update a field in Accounts page by executing a trigger on events. If Yes, then how?
Please share your ideas on how to achieve this.
 
Thanks in advance
Priya Nair
Hi,
 
We have a requirement where we need to fetch the filter criteria entered by user in the visualforce page and display the report. I have created 3 picklist field for this and when i click on generate report the report is not accurate.
 
Could anyone please help me with where iam going wrong.
 
The code for is
Code:
...
<apex:pageBlock title="Enter Filter Criteria"> 
<apex:form >
<b>Marketing Domain</b>
<apex:selectList id="domain" size="1" >
<apex:selectOptions value="{!items}"/>
</apex:selectList> 
....

<apex:commandButton value="Generate Report"  action="{!reset}">
</apex:commandButton>
.....

 

The code for controller class is

Code:
....
public Account[] getAccount()
 { 
   accounts = [Select Name,Customer_Rating1__c,Target_Visit__c,salesdistrict__c,Achieved__c,To_Be_Achieved__c from Account where Marketing_Domain__c=:ApexPages.currentPage().getParameters().get('domain')];
      return accounts;
 }
....

public PageReference reset() {
    PageReference newpage = new PageReference(System.currentPageReference().getURL());
    newpage.setRedirect(true);
    return newpage;
  }
...


 Please Help.

Thanks in advance

Priya Nair


 
Hi All,
 
I have written a trigger on Accounts(before insert,before Update). My problem is the trigger doesn't get executed when i use mass update of account records using data loader. But when i go to any account record and edit and save the record the trigger gets executed. The trigger is used to populate a field in the accounts page.
 
The code for the same is as shown.
 
trigger targetvisit on Account (before insert,before update) {   
Account[] acc = Trigger.new;
public Master_Data__c mas1;
public Master_Data__c mas2;
integer eve;
Set<String> acc1 = new Set<String> ();
Set<String> acc2 = new Set<String> ();
Set<Id> accid = new Set<Id> ();
try
{
  acc1.add('Existing Customers - CHAA');
  acc2.add('Potential Customers - CHAA');
 
mas1=[Select Existing_Customers__c from Master_Data__c where Name in :acc1];
mas2=[Select Potential_Customer__c from Master_Data__c where Name in :acc2];
for(Account acnt1:acc)
{
String rec=acnt1.RecordTypeId;
rec=rec.substring(0,15);
if(rec.equals('012200000004Tsn'))
  acnt1.Target_Visit__c=mas2.Potential_Customer__c;
else if(rec.equals('012200000004Tss'))
  acnt1.Target_Visit__c=mas1.Existing_Customers__c;
acnt1.To_Be_Achieved__c=acnt1.Target_Visit__c - acnt1.Achieved__c;  
}

}
catch(Exception ex)
{
    
}

}
 
Please tell me where iam going wrong.
 
Thanks in advance
Priya Nair
Hi,
 
We have a requirement where i need to display a drop down menu in a visualforce page. The drop down field should display values which is exact replica of values for the field Marketing Domain in the Accounts object. Iam trying to achieve this using selectList and selectOption tags and this is the piece of code that iam using in my controller class.
 
public List<SelectOption> getItems() {
                List<SelectOption> options = new List<SelectOption>();
                domain = [Select Marketing_Domain__c from Account];
                for(Account a:domain)
                 {
                 String b=a.Marketing_Domain__c;
                options.add(new SelectOption(b,b));
                }
                return options;
The variable items is fetched in page editor as shown below
 
<apex:selectList id="domain" size="1" >
<apex:selectOptions value="{!items}"/>
 </apex:selectList>
 
Iam getting exception here(Null Pointer). The selectOption is not taking anything other than string values. Is there any way that i can fetch and display the values stored in the variable 'domain'?
 
Please help its urgent.
 
Thanks in advance
Priya Nair
Hi,
 
I have a small query. Can visualforce page be accessed in the offline edition of salesforce?
If anyone has any idea please reply.
 
Thanks in advance.
Priya Nair
 
Hi,
 
We have a requirement wherein we need to add a custom field called customer comments in the Advanced Setup page of campaign. Advanced Setup is a button which comes in the detail page of campaign. Is it possible to add a custom field there?
 
Also, i would like to know If there is standard functionality available to capture customer response for the campaign interactively?
 
Please help
 
Thanks in advance
Priya
 
 
Hi All,
 
I have a requirement which is almost the same as a standard functionality in SFDC.In the Contact object page,while creating a new contact,on choosing an Account,it is seen that the Mailing street and mailing City fields are automatically populated without the user typing it.
 
I have the same requirement but on a different object.
Can anyone help me to find the solution?
 
Thanks in advance,
VN
Hi All,
 
I have a custom field in my Contact object page.On associating the contact to an account,my custom field should get populated automatically with a value associated to my account.I am able to populate my custom field,but i have done it through an Scontrol(invoked by a button) which redirects to a new URL and then populate the field.
 
 
But i have found that my requirement is already implemented in the Case object page of SFDC.While creating a new case,the account field is automatically populated when the case is associated to a contact(not in a new page).
Can anyone provide some guidelines on how this is done ?This would help me to solve my issue..
 
Thanks in advance,
VN
Hi,
 
I have an Scontrol which is written to populate a custom field on my Contacts object page.The requirement is that whenever a contact is associated to an account(by using the look up help),my Scontrol should be triggered to populate the custom field.
Can anyone provide me some guidelines ?
 
Thanks & Regards,
VN
Hi We have a requirement where we are fetching records from Oracle database and populating it to salesforce system. we are using API create call for this using batching. API create call has a maximum limit of records that it can process. How can we enhance the size for batching of records for API calls? Please help. Thanks Priya
Hi,
 
I have a requirement to run a batch file from an S-Control.My batch file in turn opens up a text file.
 
When executed as an HTML page with both the batch file and text file located on the local machine,the code works fine..But while running it as an S-Control in salesforce,it gives me an error..
How can i access the batch file ,once it is uploaded in salesforce?..What will the path with which i refer to it?..Also,i should upload the text file,so that it can be opened by the batch file..
 
 
Pls help me to find a solution..
 
Thanks & Regards,
VN