• Cory Cowgill
  • PRO
  • 2615 Points
  • Member since 2010
  • Director of Product Engineering
  • Fusion Risk Management


Badges

  • Chatter
    Feed
  • 88
    Best Answers
  • 1
    Likes Received
  • 3
    Likes Given
  • 18
    Questions
  • 537
    Replies
Hi,

We are giving record access to users other than sys admin through apex trigger for Account object. But some records are shared to users even though there is no manual sharing, role hierarchy permission, no records which the user is owner, no permission sets and no View All permission at profile level. We even checked the Account Share object where no shared records found for the particular user. 

Could anyone please suggest what could be the problem.

Thanks
I create a form in visualforce page and create force.com website. At force.com submit button is showing but input filed not showing. please provide me solution
In Salesforce org there are more than 900+ classes. As a part of clean up project we need to remove unused classes.
1. what is the way to find out unused classes in the system ?
2. Is there any tool exist ?

Please mention your email id for future communication / Questions.

-- Thanks --
Hi All,
I am running test classes in my production Org, for some Classes it showing 0% Coverage for some classes it showing 97%.
The same test class tried run in my sandbox it showing code coverage for all classes.
Can any one tell me how to solve this Issue.
how to get records in vf page without using controllers(Either standard or custom) or class methods like properties...

can anyone help me out of this?

Thanks
system.debug([Select COUNT() from XXX__c]);

will raise:
FATAL_ERROR|System.LimitException: Too many query rows: 50001
Hey all!

I'm wondering why our Developer here at my company is getting this error when he's just typing in code into the console - nothing else.

An unexpected error has occured. 1890225493-1668894 (528326319) for deploymentID=1drK0000000KTj6IAC  If this persists, please contact customer support. 

Any help would be appreciated!  Thanks!
I want to add outlook contacts to Salesforce. Only from Outlook to Salesforce, after validation and excluding Gmail and Hotmail contacts. Only one way from Outlook to Salesforce addition is expected. No update, edit of existing contacts in Salesforce is required.
I am not a developer,so bear with me. Can someone tell me whether you can customize a validation rule using VF or Apex or whether you need to write a Trigger to do the comparison. I am trying to compare a summary from 2 different tables, then pop up a message saying " Your Actual is greater than budget"

Thanks
Rich Spitz
I have a two picklist values.
1.Country  2.State
if i select the india then the  state picklist shoud have states belongs to india.Like that Us also

Can Any one help me.If possible provide the code

Thanks 
HI,
how to create pop-up click on record in apex class?

When ever we are click on record. it will show the pop-up window and alsow in that pop-up window populate the all values? could you plas any one help me .


Thanks,
Viswa
Dear fellows

I've come across to an error in one of my apex classes:

Error:Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ClientInvoiceAfterUpdate: execution of AfterUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id a0Tb000000E6kACEAZ; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ClientInvoiceAfterUpdate: execution of AfterUpdate caused by: System.QueryException: Non-selective query against large object type (more than 100000 rows). Consider an indexed filter or contact salesforce.com about custom indexing. Even if a field is indexed a filter might still not be selective when: 1. The filter value includes null (for instance binding with a list that contains null) 2. Data skew exists whereby the number of matching rows is very large (for instance, filtering for a particular foreign key value that occurs many times) Class.AP516_SetTECHAmountDue.updateTechAmountDue: line 29, column 1 Trigger.ClientInvoiceAfterUpdate: line 189, column 1: [] Class.AP511_SetTechTotalAmountDue.updateAmtDueCurrency: line 149, column 1 Trigger.ClientInvoiceAfterUpdate: line 177, column 1: []

The query is really simple and, as sugested by salesforce, I've splitted the filters of the query to see if in any of them, the result is greater than 100k records. The object where this query is running against to, has more than 100k records as well but the filter when applied separately retrieves way less than 100k records.

Your help and guidance are really appreciated

Best Regards,

Roniel Navarro
Hi everyone,,
We have VF pages with custom field labels that differ from the backend field labels. Trying to save the page with such a required field blank causes two error message to display: one using the custom label and the other the backend label. We have implemented VF pages in the same way in other orgs and do not have this issue. The VF page uses a controller which creates a map between the field API name and the label we want to show.  Because some of the custom labels are quite long, relabeling the backend fields is not an option. Any ideas are appreciated. Thanks!
I have to use a custom button to update a picklist. The field is 'Industry' in the 'Lead' tab. I have created the button and entered the java script below
{!REQUIRESCRIPT ("/soap/ajax/24.0/connection.js")}

var records = {!GETRECORDIDS($ObjectType.Lead)};
var newRecords = [];
if (records[0] == null) {
alert("Please select at least one lead")
}
else {
for (var n=0; n<records.length; n++) {
var c = new sforce.SObject("Lead");
c.id = records[n];
c.Industry =new Industry;
newRecords.push(c);
}
result = sforce.connection.update(newRecords);
window.location.reload();
}

but its showing the error like ' Industry is not defined '.

Can anyone help?

Hi,

I would like to know if we could customize Partner Portal login URL to some formal URL (like we have for login.salesforce.com) or is it fixed to the standard login URL?

"https://ap1.salesforce.com/secur/login_portal.jsp?orgId=ORG ID&portalId=PORTAL ID"

I need something of a simpler version like community.mydomain.com which apparently shows the users the login form and when logged in would show the normal Salesforce Home tab.

Regards
Sapthagiri