All Questions

1
vote
2answers
13 views

How to Query what Salesforce SObjects a user has access to

Please suggest How to Query what Salesforce SObjects a user has access to ? Based on this i want to give access to user on particular apex tab menu . Thanks
0
votes
1answer
14 views

Trigger to change Contact on Case after update

Scenario: When a new Case is created with a specific recordtype I want to change the Case Contact to a default Account Contact instead of the Contact initially set when case is created. (These cases ...
0
votes
0answers
31 views

Record Name not created when creating visualforce page

I have a custom button on a child . This button allows the user to create a new child object in visualforce from the related list on the parent. However, the child's related list are not showing. I ...
0
votes
1answer
13 views

Unable to query Opportunity Contact Roles

I'm trying to get a list (and ultimately the ContactIds) of Contact Roles associated with an Opportunity in an after-update trigger, but the size of this list is always 0, even when there are Contact ...
1
vote
2answers
21 views

Opportunity Amount - Formula field not displaying currency

We have a custom object and in that custom object, we have a formula field, which will display the opportunity amount... (Formula field return type is Currency) Opportunity__r.Amount In the ...
2
votes
0answers
19 views

thumbnail type images?

I'm trying to integrate amazon S3 with SalesForce, I did it with the toolkit. When it says to upload image, it shows the image to a bigger size which I do not want. How do i resize and have ...
0
votes
0answers
30 views

Javascript button issue not updating the checkbox

This update is not happening: sforce.connection.update([quot]); I want show alert message for one profile when date is not equal to today . but update has to happen every time. Thanks in advance ...
0
votes
1answer
14 views

Live Agent Custom Chat Page

I'm implementing live agent and I experience an issue when I came to the stage to create a Custom Chat Page. So I went to pages and create a new page using the code I got from the "code inspector" on ...
3
votes
1answer
44 views

How do we convert a Lead into person accounts in apex?

How can i convert a lead to person accounts using apex? I have done lead conversion which would convert a lead to standard account, contact and opportunity by mostly referring ...
4
votes
1answer
36 views

How can I “close” a Task from the REST API/Apex

Since all picklist values for the Status field on Tasks are configurable I don't think I can simply set the Status to "Completed" as that picklist value could have been deleted/renamed. I tried ...
3
votes
2answers
49 views

Database.SaveResult.getId() returns null

I'm trying to update an account list and I need to get the Ids when the update fails. I use the getId() method but for accounts which fail I get null. It's an update so my account already has an Id. ...
-1
votes
1answer
23 views

System.CalloutException: IO Exception: Detect premature EOF?

I'm getting System.CalloutException: IO Exception: Detect premature EOF while connecting SOAP based API from SFDC ? Can any one suggest on this...
0
votes
1answer
21 views

I want sync salesforce objects and my web application. How? [on hold]

How to sync salesforce custom objects and my web application? I already tried that but I am fully confused with that. Please tell me how can I proceed ?
0
votes
1answer
7 views

Does anyone know how can we show Reports via Analytics API in Visualforce with direct linsk to records like in standard report?

I'm trying to show a report in a visualforce page, with some custom filtering. The hurdle that I'm facing is, the report data comes in as static text. I would like to have a link for Lookup fields ...
0
votes
0answers
6 views

Link unresponsive in Salesforce1, is target attribute to blame?

I have the following in a page in an S1 app: <apex:outputLink value="/apex/temp_pageTwo" target="_parent"> </apex:outputLink> In my browser and on Android and iPhone, it works fine. ...
1
vote
2answers
38 views

Select2 in Visualforce page

Can anyone tell me how to use the below Select2 jQuery in a visualforce page? HTML: <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/html"> <head> <!-- ...
0
votes
0answers
10 views

SingleEmailMessage with Visualforce Template doesnt work when setTargetObjectId is a NON visible community user?

Setup is as follows: A community User (UserA) is creating Events with Accounts (AccountB) (manually shared via Apex) and an email invitation should be sent to the Account Users (UserB). A trigger ...
0
votes
1answer
15 views

Error when render Visualforce page to excel

i have vf pages that will render as excel file. the data source is from custom controller. the query return in pages is correct but after the data displayed in table, the page also generate like an ...
0
votes
3answers
24 views

Can anyone tell me how to Convert a Visual force page into an image using Apex

Is there any possibility to covert a VF page into an Image.? i've created a VF page Report, i need to schedule that VF page Report as like we schedule the standard Reports i want the email Body as ...
-1
votes
2answers
19 views

How to resolve the apex Governor limit exceptions?

i am newly move into salesforce. am facing some exception problems. For example: In my Controller, lot of insertion and updation of data. whatever the Trigger i have inside my all, they are getting ...
0
votes
1answer
15 views

Field Update Based on Workflow

I have one object named "Information" and in that i have 3 field listed below Amount (type - Currency) current(formula-return 0 and 1) balance (type- number) now here i want to fill the field ...
0
votes
1answer
17 views

Facing a query exception(System.QueryException: unexpected token: LIKE)?

String accountQuery = 'SELECT Name, Phone, Website, BillingState FROM Account '; if(searchString != '' && searchString != null) { accountQuery += 'WHERE Name LIKE \'%' + searchString + ...
0
votes
1answer
13 views

which event of trigger used to update field of child object?

I have two objects in which Parent is A and Child is B. My Trigger is on A then from that trigger i want to update field of B. In this scenario, which Event of Trigger achieve this? Thank you..
0
votes
1answer
14 views

How can I store complex form in cache memory or local server

I have a requirement to store data some where other than the database. My form contains 3 Object records. Basically in constructor first record is displaying I am entering data into that after that I ...
0
votes
1answer
19 views

Updated Rich Text Editor not available in Winter 15 Org

As per the Winter 15 release notes the rich text editor in the rich text field should get updated with the new features. But it seems i am only getting the updated editor on Article object. On account ...
0
votes
0answers
12 views

How to redirect URL from Portal Login to Community Login?

Is it possible to redirect the users from the old Portal Login page to new communities URL ? Please let me know if anyone knows the concept.
1
vote
1answer
18 views

How to de-duplicate recored in customized object?

I have 250K disordered and duplicated records in a customized object. After i search salesforce help document, i found that merge() function looks like not support customized object. But, if i use ...
0
votes
1answer
33 views

AngularJs binding expression is not working in my VFP

Can anyone tell me how to write angular js in visualforce page? The below example is displaying angular expression in visualfore: The Html page: <!DOCTYPE html> <html> <head> ...
0
votes
1answer
21 views

page reference code coverage

suggest me how to cover page reference in test class. public PageReference selectedPricingReq(){ system.debug('-----> acceptedPRID: '+acceptedPRID); Pricing_Request__c prcReqObj = ...
0
votes
0answers
8 views

Report Generated but email not sent

I have scheduled a report at 5:00 AM everyday. Looking at the "Background Jobs" I can see that my report has been generated but I did not get any email from Salesforce. While customizing the report ...
3
votes
1answer
39 views

Too many SOQL Queries - NPSP burning my governor?

I've running some custom code within the Non-Profit Starter Pack (NPSP). A big part of that code is a REST interface that imports data from an outside source. I have triggers attached to the output ...
1
vote
0answers
12 views

Exact Target Template Styling Issue

I'm developing an Exact Target email template for a client, and I'm running into an issue with the content editor. The email template has a specific design, but when I make parts of it into content ...
1
vote
2answers
19 views

Email Services Binary Attachment Not Working

I am using the Email Services in SFDC, and I am not able to get the attachments I attach to the emails to be uploaded to the new record that is being created. I built my APEX class off of the sample ...
-1
votes
2answers
21 views

How to find all Salesforce records with a specific WhoId?

I have a Lead or Contact. I want to find all of the Accounts and Opportunities for that specific Lead or Contact. Is that possible? What would the query look like?
1
vote
1answer
15 views

Is it a good Idea to add an Event to *everything* related to a given record?

I'm building an app where I'll log an event that an email was opened to Leads and Contacts that match that email address. I'm wondering how many times this Event should be duplicated. Does it make ...
-3
votes
0answers
25 views
3
votes
2answers
70 views

Json Getting Sorted when serialize the wrapper class object

I have to send JSON request to external system. I have created a wrapper object and defined the variable. However, When I am serializing the wrapper class object , it's sorted the JSON request. I ...
0
votes
0answers
11 views

Rest api integration between salesforce and sharepoint

I want to integrate between salesforce and sharepoint . I have also done the http callout and was able to get the response in salesforce. Now I want the files/data from Sharepoint to be displayed in ...
2
votes
0answers
11 views

Using the REST API, how can I tell that a user has blocked OAuth access vs revoked OAuth access?

It seems that I get the same authentication error message the token is invalid. Is there a way I can tell the difference as the vendor? Note that I am not referring to an Apex app. My app is purely ...
0
votes
0answers
5 views

exacttarget auth failuere SSLException

We use ExactTarget for sending push notifications. More specifically, we use MessageContact API for sending push notifications. Before sending request to MessageContact API, we need to get ...
3
votes
1answer
14 views

how to schedule job with start and end?

I want to schedule a apex classes through apex code and need to have a cron expression with a fix startdate & enddate. It needs to be also possible to set the startdate & enddate like below: ...
3
votes
1answer
16 views

Programmatically retrieve list of sandbox IDs linked to a production org

Is there any way to programmatically get a list of sandboxes linked to a production org? I'd also like to do the reverse: get the ID of the production org corresponding to a sandbox -- but from the ...
0
votes
1answer
11 views

Salesforce1 Offline - Recommended 3rd Party Solutions?

I'm investigating solutions for a client that would like to have offline SF functionality due to remote locations. From this forum and elsewhere it appears that Salesforce1 will not have the necessary ...
0
votes
0answers
7 views

Visual Workflow: Add multi-select to collection variable

I have a visual workflow where I create (or lookup) a contact that includes multi-select picklist for school subjects. Now I want to create a Collection Variable where each entry is one of the ...
3
votes
2answers
24 views

How do I test email to case in the Sandbox

I activated the Email to Case On Demand and created a test email which I verified. all in the Sandbox. When I send an email to the test email address, it creates a case in our Production environment. ...
0
votes
2answers
22 views

GetChildRelationships not finding contact lookups for custom object

I have a custom object with many custom fields. Some of these fields are lookups to contacts. I have a visualforce page on which I need to list all contact fields for this custom object. I am using ...
1
vote
1answer
22 views

How to get all Contacts and related Opportunities for a given email?

For a non-Apex app (web REST API only), how can I consolidate these requests: find all contacts that match an email address find all opportunities associated with those contacts from 1 Right now, ...
1
vote
0answers
9 views

Salesforce1 New Event Publisher Action

I have overridden Event new button in salesforce but when I am opening new event action from Salesforce1, its taking me to standard page. I have enabled page for mobile appication too. Please advice.
2
votes
0answers
16 views

Upload an Attachment via the Rest API

I'm having an issue uploading attachments via the REST API. When trying to upload attachment data (i.e. data about the attachment and the associated base64 binary data) I'm getting a 400 result (Bad ...
0
votes
1answer
7 views

How to make reports of Feed item and Feed comment objects?

I want to make reports of fields in feed item and feed comment objects. I queried them in apex . Is there anyway to make their fields into reports. Thanks.

15 30 50 per page