0
votes
0answers
3 views

How to set the bar-series(VF Page) start value.?

I want to start the initial value/range from 0.Right its automatic depending on the value.Is it possible to always start from 0.??? Right now its starting from 400..This is VF page... Please help
1
vote
1answer
9 views

We need to Export Data from Joined Report

We created a Custom Report Type. We need to export data from custom joined report type. Suggestions will be appreciated. Thanks..
1
vote
1answer
12 views

Callout Error SOAP WSDL

Problem with Callout from salesforce. Hello All I have used an wsdl to generate apex class inside salesforce and when i am trying to call it from execute anonymous window in developer console i am ...
0
votes
1answer
7 views

Is there any way to specify recipients in CC while using email alerts using Email fields present on Object

I have an Workflow Email alert for ABC custom object. So I need to send the email to various recipients using Email fields on ABC Object. But here is the problem: Is there any way to specify ...
0
votes
0answers
13 views

How to show past ,present and future years data in a visual force page in PDF Format

Can any one help me out .How to show past ,present and future years data in visual force page pdf format .Based on the query i get the data retrived for the current year (2014 )and When i add the ...
3
votes
2answers
48 views

Null pointer exception while handling DMLException

I have a batch job that tries to handle any DML exceptions and write them to a separate Custom object called Feed_Log__c. I have sometimes getting a Null pointer exception after trying to handle a ...
2
votes
1answer
40 views

show image on upload

I am trying to show image on upload, but script is not working.. not getting what's wrong, help me if you get it <apex:page controller="tryPicUpload" > <apex:includeScript ...
1
vote
1answer
36 views

Using apex value retrived from Visualforce page in SOQL Query

Please help me figure out a way on how to solve this. The below query gives me error : Error: Compile Error: Didn't understand relationship 'contactData' in field path. If you are attempting to ...
1
vote
2answers
23 views

Creating custom object for class roster that would pull a list from contacts

I am helping a local non-profit organization that does leadership training. They need to create a roster that will pull a list of contacts for the roster, and also store few topics that they worked ...
3
votes
1answer
25 views

Calculating date/time x working hours from now

I need to trigger an email notification 9 working hours after a particular field is changed in Salesforce. So if the field is changed on a Friday at 4pm, I need to calculate now() + 7 hours + an extra ...
4
votes
2answers
18 views

Invoking Batch Apex in Update Trigger

I have written before update trigger on an object. In that trigger I am invoking batch Apex to update the same object records but in apexjob am getting error like this First error: Update failed. ...
3
votes
2answers
19 views

Can I create a Web-to-Lead field for Custom Objects?

I've created a Custom field on my lead called 'Campus' with datatype Lookup(Campus). Where Campus is a custom object. I would like to have a Web-to-lead form create a new lead and set the correct ...
1
vote
1answer
16 views

Autocomplete in google map

I had wrote a script to use the Google map in Vf page. I want to use i want to use the auto complete city text box. Can you help me out Guys. Here is my script:- <script> var marker=null ; ...
0
votes
0answers
24 views

Show Popup Window Notification on Changes in Custom Object

For an example I have a custom object Request__c. I have a web service as well which updates Request__ object when some request appears. So as a user I want to get a pop-up window notification ...
1
vote
1answer
23 views

How to access force.com Rest Api from Site.com?

I need to call an authenticated Apex Rest API from Site.com page. The way I am trying is using Username-Password Oauth authorization flow, to get access token. Below is the javascript code I am ...
0
votes
2answers
28 views

Need Trigger for before update account based on checkbox

In Account Sobject i have added two check-box's 1.Administrative Office and 2.Data Center when user enter name and check anyone of it then Account Name is like Sam (A)/(D). which i did with trigger ...
0
votes
1answer
11 views

Filtering System for Call List using Visualforce, possible? [on hold]

Is it possible to create a custom object and build a filter list system where I can filter standard and custom objects, then the records inside? of course, the filter gets more advanced. ex. I want ...
2
votes
1answer
24 views

Compare Strings is not working

I am comparing string variable with hardcoded ones but the value is returning false.Even I tried with equals() and its returns false. Here is the apex code String myadd =''; ...
4
votes
1answer
16 views

Lightning: why can you not have an expression combined with text in an HTML attribute?

So, I've been struggling with this for a while, trying to figure out how to get it to work. Here is what I originally did: <button class="btn btn-primary {!v.isLink1 ? 'active' : ''}"> And so ...
0
votes
1answer
14 views

Retrieve the Opportunity Record ID in Flow

I am trying to create a child record in a Flow off an opportunity. Once the flow is triggered, I'm not finding clear documentation that shows an example of storing then passing the id before creating ...
1
vote
2answers
12 views

Sending an email to a User defined from a lookup?

I have a lookup field on our Opportunities, that pulls a User in our Organization. I need to be able to email that specific user when the opportunity changes. I can already figure out how to make a ...
0
votes
0answers
20 views

Error in VF Page from Custom Button

I have a flow in place that is assigned to a custom List Button on the Opportunity object. It is meant to create an Opportunity when the custom button is pressed the related list on the Account. The ...
1
vote
0answers
16 views

passing html passthrough from apex to selectoptions

I'm trying to pass through some additional information via the html- passthrough on apex:selectoptions from the controller. Ie I need it to output: <apex:selectOption html-data-range="h" ...
0
votes
0answers
7 views

% people in two campaigns in dashboard metric

I would like to display the percent of people in campaign A that are also in campaign B on a dashboard. Pictured below is the top and bottom of a joined report that calculates this percentage. ...
1
vote
1answer
20 views

Recursively displaying a map of lists on a Visualforce page

I'm trying to create a customized version of the campaign hierarchy page, allowing for the display of additional data other than just campaign names. I have a Map<ID, List<Campaign>> keyed ...
0
votes
0answers
11 views

Attachment upload using community login

I am trying to allow a community login user to upload an attachment to a case from a visualforce page. My uploader works just fine if I am logged on as regular user but once I login as a customer ...
2
votes
1answer
22 views

Mapping function for apex sharing

So I'm trying to create a function that allows you to create a sharing rule through Apex with any Object. Is there a way to generalize this so I don't have repeating code? From what I understand the ...
0
votes
0answers
16 views

Flow Error From VF Page

I have a flow in place That is assigned to a custom List Button on the Opportunity object. It is meant to create an Opportunity when the custom button is pressed the related list on the Account. The ...
1
vote
0answers
9 views

How can I upload/change user's profile image programatically or via API?

I know, that there is no way to mass-upload these images via dataloader as described here can I upload user's profile image via data loader ...
1
vote
1answer
16 views

Flows in Order of Execution

I have a flow which creates the Order record and also there is an after insert trigger on Order.I am trying to understand which one executes first I have assignment of Order shipping address on Fast ...
1
vote
2answers
23 views

Lead conversion unit tests throw errors for validation rules that use custom settings

I'm running into an odd issue with some of my unit tests & can't seem to find out what exactly is causing it the problem. Several of my unit tests revolve around converting a lead to an account ...
0
votes
4answers
19 views

Assign Account to Contact based on email domain

I'm writing a Trigger to assign an Account to a new Contact based on the email domain. I have two formula fields that strip everything but the domain (i.e. acme.com) so that I can match from the ...
0
votes
0answers
10 views

How can I display a Case feed for our Supports Tickets?

I've been working on a Web-to-Case full suite for my company and I've hit a roadblock. I don't particularly understand the relationship between Case, CaseFeed, and FeedItem. I can already get a ...
0
votes
1answer
24 views

Controller Extension help

First, I don't have anything to post as far as code, because nothing has worked even remotely so far. I've written several extensions that allow me to 'look down' to child data (for instance, all the ...
1
vote
1answer
10 views

INVALID_TYPE Error When Creating a Custom Object With SOAP

I am getting errors when attempting to 'Create' a custom "O2C_Alert__c" object with a SOAP request. My request is: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ...
1
vote
1answer
31 views

Using a trigger to set an application-defined “last modified date” for Case

Need a field on the cases that is the true last modifed date. So if we send an email, modify the case, or adds any activity or comment, this date field updates to NOW(). I need help with writing a ...
-1
votes
1answer
26 views

ANSWERED: SOQL Returned Sets Inside Of Cells - Not Sure What To Do Next With Apex

I am working with 3 SalesForce objects: Enrollment_New__c, Application_Checklist__c, and Opportunity. Application_Checklist__c and Opportunity are both in a "child" relationship to the parent ...
0
votes
1answer
10 views

Getting View state error on multiple Bulk uploading of list of attachments from VF page

I have a requirement to Upload List of attachments from VF page in one click but iam getting a view state error on uploading a bulk data. so I tried using "Remoting" even in remoting there are some ...
0
votes
1answer
23 views

How to decrypt AES-256 in node.js

I'm struggling to decode a piece of AES-256 encrypted base64 coded data in node.js. The data was encoded in Salesforce. I tried various different aes algorithms but without luck. I'm crypting and ...
0
votes
2answers
30 views

How to get ID prefix if you know the object name

I find an object I need in Setup => Create => Objects. I want to get a list of this objects or create a new one. I know, that if I have an existing object, I take first three chars and I'm fine. ...
0
votes
1answer
30 views

Address Field in Salesforce

I want to have an address field on Opportunity.I know there is no Address data type.How to achieve something like a Standard Address field like Account's Billing Address.
1
vote
1answer
34 views

SOQL query returning empty list

I'm trying to query for a custom object. In the query editor in the Developer console, this query returns 1 row. SELECT Id, Name FROM Household_Served__c LIMIT 1000 But then when I code it in ...
1
vote
1answer
8 views

How to show a related list custom button on Salesforce 1 mobile app

I have a requirement where I have to redirect to the custom visualforce page via URL. We have 1 Account record and it has Case related list. In the Case related list we have 1 custom button "Ceate ...
0
votes
1answer
21 views

Compare 2 var incremented by differents loop in a VF page

I have a VF page which display letters. In the first part I have the display of letters with a first apex:repeat In the second part, I display a summary (name of letters) with a second apex:repeat. ...
0
votes
2answers
14 views

How to detect the name or id of currently running batch job from trigger?

Managed code kicks off a batch job. I have a trigger where I need to do overwrite a field only when it's updated by this batch job. The only thing I could come up with so far is querying ...
0
votes
3answers
24 views

Where to find Batch job error logs?

We have two batch jobs that run just after midnight. When I run it manually via the Developer Console Anonymous window, they run fine. But last night, the "Apex Jobs" window showed that they failed. ...
0
votes
2answers
14 views

Error: Compile Error: Field is not writeable: WorkBadge.Description at line 18 column 9

Getting the Error ....Please help me solve this issue...I have to write in this object. trigger insertworkbadge on DriverEfficiency__c (after insert) { List <WorkBadge> vehToInsert = new List ...
-1
votes
0answers
17 views

Can i have multiple If Condition On Visual force page pdf

Can any one help me on this? I have a Visualforce page created in PDF format. I have few of the products with different names in different product family. If the product line for the product selected ...
1
vote
1answer
23 views

how to access a connected app from another org

I have created one connected app with API (Enable OAuth Settings) and it has generated consumer key and consumer secret. how to use this information to access the connected app from a different org? ...
1
vote
1answer
19 views

Create a visible custom field through metadata api, for api 29.0 or greater

I have gone through almost all the previous questions on creating a visible custom field, but none of the posts were helpful to me. Some provide apex code, some ask to provide ...

15 30 50 per page