• Praz
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 41
    Questions
  • 57
    Replies

I am passing this url

 

/apex/PosEntriesFilterPageExcel?id={!Account.Id}&soldBy={!utilityObject.soldBy__c}

 

 

and I am trying catch in the controller in the following way

 

 

String accountId=ApexPages.currentPage().getParameters().get('Id');
this.utilityObject.soldByValue__c=ApexPages.currentPage().getParameters().get('soldBy');

 

It is giving error in the second line

 

 

Yet I am receiving such exception. Any help will be appreciated

Hi,

 

I have written a trigger and the error is comng at the line it is highlighted

 

The fields here highlighted are the lookup of User object.

 

 

trigger UpdateMarkRequestTrigger on Marketing_Request__c (before update) {
if(Trigger.isBefore){
if(Trigger.isUpdate){
for(Marketing_Request__c mr:Trigger.old){
System.debug(Logginglevel.INFO,mr.Name);
if(mr.Status__c=='Review Completed')
System.debug(Logginglevel.INFO,mr.Status__c);
System.debug(Logginglevel.INFO,mr.Project_Owner__c);
System.debug(Logginglevel.INFO,mr.Reassign_To__c);

mr.Reassign_To__c=mr.Project_Owner__c;

System.debug(Logginglevel.INFO,mr.Project_Owner__c);
System.debug(Logginglevel.INFO,mr.Reassign_To__c);
}
}
}

 

 

Help will be appreciated

 

Regards

 

Praz

Hi,

 

I am using google charts for displaying some reports. After mid of August I have started getting the error

 

Assertion failed: bucket size must be a nonnegative number

 

How can I get rid of this error.

 

 

Hi I am trying to redirect from a page to object layout.

 

This is what I am trying but is not working any help will be much appreciated

 

 

public PageReference value(){
    Account accnt = new Account();

    PageReference acctPage = new ApexPages.StandardController(accnt).view();
      acctPage.setRedirect(true);

      return acctPage;

}

 

 

Is there any session variable in SFDC and if I want to upload and download any value in it or from it?

 

Any help on this will be appreciated.

Hi

 

I have a query like

 

String querySoql = 'Select Id, Name from Account limit 10000';

 

 

Now I have the following functionality to implement them..

 

setCon = new ApexPages.StandardSetController(Database.query(soqlQuery));

setCon.next

setCon.prev

 

where next and prev are used for page wise move..

 

Since the number of rows in the objects is more than 10000 it is not showing the values in the page instead giving following error

 

Content cannot be displayed: Too many query rows: 10001

 

Content cannot be displayed: retrieve id limit reached

 

 

Any help on this will be much appreciated.

I am trying to upload some data from one environment to other by dataloader or through CSV files. I have deleted the ownerId records but kept the column name in the CSV file. it is giving this error and failing to upload any data from the CSV.

 

Please tell me how to get rid of this problem

Hi,

 

I have made a visualforce page which displays a table of data. I have also put some filters there for which the number of rows of the data in the visualforce page varies.

 

Now I want a mechanism in place by which I can export the data showing at a partcular moment can be exported to a excel sheet/csv with column headers which can be saved locally.

 

a help and a guideline will be much appreciated.

 

cheers

 

Praz