0
votes
1answer
18 views

Too many DML rows: 10001(bulk update)

when I try to run the code below I am getting this error: 'Too many DML rows: 10001'. The object that I am trying to update is one of the main object in the org. so it has multiples triggers, ...
0
votes
0answers
9 views

Assigning Task to Opportunity Teams

I have a requirement to create a task for the Opportunity Team. I created a task and assigned it to Opportunity Teams :Team Role. But the task is not showing up in the user log in. What am I missing. ...
0
votes
1answer
25 views

How to pass String parameter to Javascript confirm() function

How could I pass to confirm() function the value of a String contained in the Controller of this VF page? <apex:page controller="TestJS" > <script language="javascript"> function ...
0
votes
0answers
6 views

Salesforce 3rd party Rest service connectivity using SAML assertion

We have a salesforce org connected to SAML SSO and this is working fine. we have an SAP system, which provides a REST service which is also connected to the same SAML Provider, when we try to use the ...
0
votes
1answer
11 views

Adding a new field to OpportunityLineItemSchedule

We have a requirement to add some extra functionality around schedules. Is there a way to extend this object with a custom field? I can't find it in the Salesforce setup.
3
votes
2answers
30 views

Pass data from VisualForce page to Apex Class

I have a VisualForce page which displays some data from a standard controller, I would like to know how I can add a button which activates an apex class? I want to also pass data thats visible in the ...
0
votes
0answers
9 views

Quotes getting changed when we migrated the visualforce page from one env to onther env [on hold]

I have The above quotes before Help (") are changed when page migrated into another env. Please suggest me any ascii characters can be use here to fix.
1
vote
3answers
57 views

How do I assign the returned query values to each Boolean?

If I have the following variables and query, how can assign the values of each field to their corresponding boolean? The fields are Checkboxes on the 'myObj' object. public with sharing class MyClass ...
0
votes
1answer
6 views

Automation of DocuSign process on Opportunity

I have installed DocuSign app from appExchange in Salesforce. Which I am using on Opportunity object. Currently, I go to the Opportunity record and then initiate Docusign process, wherein I select a a ...
-4
votes
0answers
19 views

Trigger error: SObject row was retrieved via SOQL without querying the requested field [duplicate]

I have a trigger that populates child object's field value when update or insert on Master. Please find my trigger here. Trigger: trigger HCPREFERENCE1 on Depth_Tracker_OAPI__c (after insert,after ...
0
votes
1answer
14 views

Inserting Test.loadData in into Salesforce DB for tests

I am able to load the static resource but I am unable to insert the loaded accounts into salesforce. I want to do this to be able to test various methods that depend on first selecting a particular ...
1
vote
0answers
16 views

JS/jQuery for Date manipulation on VF page

Have a very simple VF page that allows the end user to either set an expiration date, or choose the number of days until the expiration. What I wanted to do was update the other field when one was ...
0
votes
1answer
9 views

Why do I get Error: Exceeded maximum number of tasks allowed per rule (10) when deploying a workflow via ANT?

I have a workflow rule that are failing to be deployed to a sandbox from a sandbox via ANT. The workflow rule has seven field update tasks associated to it. When I deploy I get this error message. ...
0
votes
0answers
10 views

Programmatically determine relationship between two sObjects and generate result

I have an application which allows the user to specify a geography object and field. For example User's country field Account's State Field Now for Leads the system needs to dynamically determine ...
0
votes
3answers
24 views

Getting All Manager Id

Can anyone tell me how to get the Id of all managers based on the user Id? user-->manager1-->manager2-->manager3--->manager4 I wanna get all manager id My code is: public static List<Id> ...
0
votes
0answers
11 views

How can I implement search on basis of suburb and post code and automated display of suburb, state, postcode on custom objects in salesforce

I need help in understanding how can i implement an automated search and updation of data on custom object page layout in Salesforce. The case is I have a Client Page (Custom Object), where I capture ...
0
votes
1answer
16 views

Is Product object available in all Salesforce Editions?

I have created an app having access to some object like Account, Opportunity .... and Product. Now, While creating a Package Product is shown as Package Requirement. So, I am just bother that if any ...
0
votes
1answer
24 views

Apex error: Initial term of field expression must be a concrete SObject

I have to update bulk records by apex class which is called from an apex trigger. Please find my class and trigger below. Batch class: global class UpdateAccountArea implements ...
0
votes
0answers
6 views

Single sign on in Professional edition

Scenario 1: We have salesforce prof edition with api access and we also have a asp.net application. We are looking at a way to allow our users in salesforce to access the dot net app without having ...
1
vote
1answer
19 views

Writing JSON using JSONGenerator with writeStringField()

I'm wondering why I can't use the method writeStringField() on the class variables below. I'm using the JSONGenerator class methods instead of hand-constructing the string. global class ...
1
vote
0answers
17 views

Categories field on Custom Labels

Is the Categories field on Custom Labels merely for use in List View filters? Can I not download a file of Custom Labels and their translations, filtering on Categories? Even the Translation Workbench ...
0
votes
0answers
7 views

Salesforce Identity Connect and AD user management

If a user is deleted from Active Directory, is the corresponding user record deleted or simply deactivated from Salesforce data store?
0
votes
1answer
19 views

How to create a YTD comparison of This and Last year sales?

I need to compare YTD sales of this and last year sales. How can I achieve that with a simple formula field on the opportunity object? YTD = Year - To - Date - e.g.: all sales until this date. (and ...
1
vote
1answer
30 views

Trigger populating parent object values in child

I have below trigger to populate master record's value in the child based on any update on Master. This code is getting error out for bulk loads. Can someone please suggest a best practice to overcome ...
1
vote
1answer
38 views

How to remove visualforce page default tooltip

In my visual force page where ever I place the cursor it is showing the page name as the tooltip(title).Its really annoying. How to remove it...??? My Vf page name is Support First,in that page am ...
0
votes
1answer
21 views

commandLink and commandButton with image not passing parameters

I'm trying to pass a parameter to a method in a visualforce page when the users clicks on a detail icon (a static resource image). I'm trying with a commandButton since I need the button to be an ...
0
votes
1answer
19 views

Assign rendered value using javascript [on hold]

i have created tabs using html tags and displaying relevant pages for each tab(Added pages using pageInclude tag). Now based on click of tab i want to display related page. Here i don't have any ...
0
votes
0answers
9 views

To change the Case tab title to case field name in service cloud

Hi I want to change the CASE tab Title to Case Subject. Subject is a standard case field. The screenshot is given below. Any pointers on this would be really great. Thanks Currently, the case title ...
1
vote
0answers
24 views

Issue with updating project in Force.com IDE

In Eclipse Luna, I am facing an issue with Force.com IDE. It is working fine while creating Force.com projects. But after creating projects when I try to refresh it from server or add components to ...
0
votes
1answer
21 views

Invalid Cross Reference Key : Record Type ID value isn't valid for User: 012v00000008f4nuBB

I am having some issues. The below is a code snipet of my test class. The class complies and produces 96% of coverage with no errors. When deploying in production it throws the above error. ...
0
votes
1answer
27 views

Related list availablity

I have custom object X which is look up with Account and custom object Y which is detail of X(master). Now I have to make Y appear in related list section of only those Accounts, whose reference ...
3
votes
1answer
135 views

How to remove ( from the string

I have a string value where I am getting the a integer with ')' I want to remove the ')' have the value separated from all the unwanted special characters. Do any one here have any idea how can I ...
0
votes
1answer
10 views

List has more than 1 row for assignment to SObject on action button in a page from managed package

Installed a managed package, which contain simply 2 pages, controllers, styles, scripts etc. Then created a site using the a page within the package. When i clicked an action button, Received the ...
1
vote
1answer
31 views

Developing a Swift Salesforce1 app

I'm planning to develop a native iOS app using Swift on Salesforce1. Any sample code/ guidance which shows how to fire the Salesforce REST API and render the response on UI will be helpful.
0
votes
1answer
20 views

How to Use an XML Static Resource to Program Unit Tests?

I've created a static resource XML file and uploaded it to my test org. My code coverage is around 41% and needs improvement due to there being numerous nodes in the XML file that need to be loaded ...
1
vote
1answer
55 views

What would be the best way to embed a video in salesforce articles

I definitely feel the Customer support which is conducted online, creates a great opportunity for us to utilize a knowledge base to guide customers to solutions without the need to contact support. A ...
3
votes
1answer
64 views

Aggregate Code Coverage Calculation

Given two classes with test classes: 400 testable lines: 200 covered 10 testable lines, 10 covered How will the test coverage be calculated? Average of the coverage for each class, or the ratio of ...
0
votes
1answer
19 views

Salesforce 1 - Android [on hold]

Good morning, I would like to know which is the lower Salesforce 1 supported by Android? Best Regards.
3
votes
1answer
12 views

Add Publisher Action to Quote page layout

Hi I need to add a publisher action to the Quote page layout, in order to launch a custom Visualforce page. However as you can see on the I don't have the Buttons, Links, and actions section on my ...
4
votes
0answers
19 views

Can batchable custom iterables support null values?

Background We're trying to do a type of pseudo-parallel processing mechanism, where a record will be processed twice. The thought was to make an overlapping series of values that look like this: ...
0
votes
0answers
4 views

AMPscript lookuprows function with date value - what's correct format for date

I have a "date" type field in my Data Extension named "upload_date". I want use lookuprows function to grab all records where upload_date is equal "8/26/2014 9:16 AM". Following call doesn't return ...
0
votes
1answer
19 views

Trouble with Javascript Remoting

I'm trying to open an order as a Subtab in Service Console from a sidebar component based on the order number entered in a text box by the user. I am not receiving any error yet this doesn't work. ...
1
vote
1answer
22 views

Code efficiency help: Can't avoid CPU limit (even with batch)

I'm at my wits end guys. I've rewritten my code a half dozen times now. First I though I could increase efficiency with my loops and if clauses, then I started incorporating tips I read using maps ...
0
votes
1answer
22 views

Rendering <img> tag in table

I am attempting to render noImageURL when icon.image is null. For some reason, noImageURL is always rendered. It's not respecting the javascript if statement <td> <apex:image ...
-2
votes
3answers
20 views

Outbound Message vs WS callout [on hold]

I have got an requirement where I need to update the Oracle system. I am confused on what should I do . Should I make Outbound message ? Should I consume their WSDL and update the records with ...
0
votes
2answers
20 views

I am having trouble with creating a number range IF formula

I want My formula to show Tier 0 if lifetime account Revenue is between 0 and 999, Tier 1 if Lifetime Account revenue is between 1000 and 10000 and so on. Here is the formula I have: IF ...
0
votes
2answers
14 views

Can i get an email when an event is posted on the calendar

I created a new calendar for my team, and would like to know about it every time someone creates a new event. An email would be a very good option. Can i do that using apex?
1
vote
1answer
16 views

How do I deactivate a picklist option in Professional Edition?

I have a picklist on Opportunities called "Demo Set By", which lets us recognize the Sales Development Executive who set up a demo (not the same as the owner of the opportunity, which is the Account ...
2
votes
1answer
21 views

How to set defaults when creating a record from a visualforce page button/link?

I can create a link or button in a visualforce page that references an object's links or buttons with a line like this: <apex:commandButton ...
1
vote
1answer
29 views

Get the max value of a field with many records

I have a field that stores an ID, and I need to find the Max value of that field. However I get an error a queryexception. For reference, the field is set up as unique and external Id. Any ideas on ...

15 30 50 per page