• 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

  • September 21, 2010
  • Like
  • 0

Hi,

 

I am using an enterprise environment but not getting the manage territories option

 

as in the guide

 

1. Go to Setup ➤ Manage Territories ➤ Settings.

 

Can somebody please throw light on this

 

Regards

 

Prasenjit

  • September 06, 2010
  • Like
  • 0

I am using date field for taking input in vf page but I want to hide the [10/4/2010] section that comes after date input box. How can I do that?

  • September 03, 2010
  • Like
  • 0

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

  • September 01, 2010
  • Like
  • 0

Hi ,

 

I am fetching data from salesforce objects in apex class and I want to display it with the help of JSON in VF Page. Is there any plugin or transformer class which can transform them into JSON array for display

 

Help will be appreciable

 

Regards

 

Praz

  • August 26, 2010
  • Like
  • 0

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.

 

 

  • August 24, 2010
  • Like
  • 0

Salesforce implements a standard pagination framework for out of box functionality..for instance one can go to product object and onece clicked on the All Products you will see the pagination.. for example I am embedding this image for reference

 

Pagination

 

 

Can anybody tell me how this pagination style can be implemented in visualforce page.

  • August 24, 2010
  • Like
  • 0

Salesforce implements a standard pagination framework for out of box functionality..for instance one can go to product object and onece clicked on the All Products you will see the pagination.. for example I am embedding this image for reference

 

pagination

 

Can anybody tell me how this pagination style can be implemented in visualforce page.

  • August 24, 2010
  • Like
  • 0

Hi Guys,

 

I have started PoC on SFDC PRM.....the problem I am facing is PRM user can only have Partner User profile or customized profile derived from it.

 

I have customized the page layout of Accounts and that customized layout contains two vf pages. Now when I logged in PRM and tried to see the Account. I am getting the error you do not have the privilege to see the page at the location /apex/<page_name>.

 

In the derived profiles I have assigned all the privileges possible for partner user.

 

So how can I eradicate the problem. Help will be appreciable.

 

  • August 24, 2010
  • Like
  • 0

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;

}

 

 

  • August 05, 2010
  • Like
  • 0

I am trying to generate a native report which will give me the top 10 retailers of sales but during aggregation the limit even crossing 10K here also in case of aggregation I cannot put a hardcoded limit of 10 like that..

 

How can I modify the report to get the purpose served without having corss the governing limits or such problem.

 

Thanks and Regards

 

Praz

  • July 30, 2010
  • Like
  • 0

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.

  • July 16, 2010
  • Like
  • 0

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.

  • July 14, 2010
  • Like
  • 0

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

  • June 15, 2010
  • Like
  • 0

Hi,

 

I am from Bangalore,India looking for a sfdc person who is expert in sfdc certification courses especially 401 and 501. Any communication will be appreciated. We can discuss further on this.

 

Thanks and Regards

 

Prasenjit

  • June 10, 2010
  • Like
  • 0

Hi,

 

I am trying to migrate a package in one developer login into another using ant tool. while trying to retrieve the package I am getting the following error any help will be much appreciated:

 

 

Cause(UNKNOWN_EXCEPTION): INVALID_CROSS_REFERENCE_KEY: No package named '<package_name>' found

 

 

 

Although the package exist over there

  • June 09, 2010
  • Like
  • 0

I have three tables one is Account this standard which is related to role__c custom object. role__c. Role__c contains a look up of Account. Role__c is also related to Agreement__c where Agreement__c has also a look up for Role__c. Now I want to make a query comprising all three tables.

 

 

Select a.Status__c, a.Name, a.Id, (Select Client__c, Agreement__c, Role_Id__c From RoleAgreement__r), (Select Name, Area_Code__c, Customer__c, Phone_Number__c, Type__c, Agreement__c From Phones__r), (Select Name, Customer__c, Name_Id__c, Agreement__c From Names__r), (Select Name, Customer__c, Email_Address__c, Type__c, Agreement__c From Emails__r), (Select Name, Address_Line_1__c, Address_Line_2__c, City__c, Customer__c, State__c, Type__c, Zip_Code__c, Agreement__c,(Select Id,Name from Account) From Addresses__r) From Agreement__c a where status__c='Active' and id IN (Select  agreement__c from Role__c where client__c='<id-value>')

 

 

 

The query is not runnning as Agreement__c is not directly related to Account

 

A help will be much appreciable

 

 

 

 

  • June 09, 2010
  • Like
  • 0

I am trying to to deploy a managed package through ant deployer with packaged name mentioned as following

 

 

<target name="retrieveNamedPackage">
<sf:retrieve username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" retrieveTarget="projectFolder" packageNames="${sf.pkgName}"/>
</target>


and in build.properties

sf.pkgName = Zyme Channel View

 

 

but during deployment I am getting the following error :(

 

 

C:\Documents and Settings\pbhattacharjee\My Documents\Downloads\salesforce_ant_1
8.0\sample\build.xml:24: Failed to process the request successfully. Cause(UNKNO
WN_EXCEPTION): INVALID_CROSS_REFERENCE_KEY: No package named 'View'
found

 

 

 

the package name is right but I cannot guess the problem...a help will be highly appreciated

  • May 19, 2010
  • Like
  • 0

Hi,

 

I am trying to retrieve salesforce component through force.com deployment tool using java and ant and I am getting the folloeing error

 

com.sforce.ws.SoapFaultException: INVALID_TYPE: Unknown type:${sf.metadataType}

 

Here is the code piece for the deployment:

 

 

<target name="bulkRetrieve">
<sf:bulkRetrieve username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" metadataType="${sf.metadataType}" retrieveTarget="retrieveUnpackaged"/>
</target>

 

 

 

and here is the build.proporties in detail

 

 

#sf.metadataType = ApexClass,ApexComponent,ApexPage,CustomField,CustomLabel,CustomObject,CustomTab,Layout,Report,ReportType

 

 

and here is the package.xml

 

 

    </types>
    <types>
            <members>*</members>
            <name>ApexPage</name>
    </types>
    <types>
            <members>*</members>
            <name>CustomField</name>
    </types>
    <types>
            <members>*</members>
            <name>CustomLabel</name>
    </types>
    <types>
            <members>*</members>
            <name>CustomTab</name>
    </types>
    <types>
            <members>*</members>
            <name>Layout</name>
    </types>
    <types>
            <members>*</members>
            <name>Report</name>
    </types>
    <types>
            <members>*</members>
            <name>ReportType</name>
    </types>
    <version>11.0</version>
</Package>

 

 

Please suggest me how can I overcome this.

  • May 18, 2010
  • Like
  • 0

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

  • May 13, 2010
  • Like
  • 0

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

  • September 21, 2010
  • Like
  • 0

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

  • September 01, 2010
  • Like
  • 0

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.

 

 

  • August 24, 2010
  • Like
  • 0

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;

}

 

 

  • August 05, 2010
  • Like
  • 0

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.

  • July 16, 2010
  • Like
  • 0

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.

  • July 14, 2010
  • Like
  • 0

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

  • June 15, 2010
  • Like
  • 0

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

  • May 13, 2010
  • Like
  • 0