0
votes
1answer
4 views

Where can I view Contact opportunity role object?

Can any one tell me where can I view the list of Opportunity Contact Role object in a separate tab just as we see separate tabs for contacts, Leads, Opportunities ?
0
votes
0answers
4 views

How to call the overridden Delete link (Del) in a Related List of Account detail page, which is displayed using “nooverride=1" parameter in the URL?

I have overridden the standard "View" of the Account detail page with a custom Visualforce page. When I need to display the Account detail page, I use the "nooverride=1" parameter in the URL to ...
3
votes
1answer
12 views

Solving Race conditions with ActionFunctions

I have had a big problem with race conditions in ActionFunctions corrupting my viewstate. When I call an AF to update one thing, and then click a button to do another, if the second finishes first, ...
2
votes
1answer
14 views

Code For Auto Refreshing Dashboards

Referring to this code here: var run; function refresh() { var dashboardButton = document.getElementById('db_ref_btn'); dashboardButton.click() } window.onload = ...
1
vote
0answers
11 views

Unable to create Sqlite db on Samsung tablet on deviceready event

Using the salesforce mobile SDK's test app on a Samsung tablet, I get an error when I attempt to create a Sqlite db in the deviceready event. I tried moving the logic before and after the ...
1
vote
1answer
9 views

Font file in zip static resource Cross-Origin Request Blocked

I have a zip file of fonts. These fonts are referenced in a VF page that renders as text/css. (src:url({!URLFOR($Resource.ZipFile, 'fonts/OpenSans-Bold.ttf')});) The URL resolved to the correct font ...
1
vote
1answer
15 views

Unique Picklist Values

I have a visualforce page that allows customers to schedule an appointment with me. The fields I have are subject, description, date, and time. Since I'm only available at certain time blocks ...
1
vote
0answers
12 views

Change “From” Email Address on Email Template

Our users have two email addresses that they use and based on the customer, they would like to have Salesforce change the "FROM/RETURN" email address when sending emails. Is this possible to do on a ...
0
votes
0answers
5 views

How do I add subscriber to a suppression list with ampscript in a landing page?

I am trying to build a custom subscription center that will add or delete a subscriber from a suppression list. I have been successful when adding subscribers to a data extension and was hoping I can ...
1
vote
0answers
7 views

Salesforce1 - Inconsistent layouts for new record

I am using v7.0 of Salesforce1, wit a sandbox org which is on Winter 15. There seem to be two ways to create a new object. For example, for Accounts, I can do one of the following: Click on the ...
0
votes
1answer
6 views

What's the difference between “Save & Close”, “Save”, and “Publish” when editing a knowledge base article?

I'm confused on the difference between "Save & Close", "Save", and "Publish" when editing a pre-existing article. Can someone please clarify?
2
votes
1answer
17 views

What is the best approach to mass create records from a button click?

My requirements are that I have to create a class that creates 400 to 600 records on a custom object once a button is clicked. I figure the best approach is to create a static webservice method that ...
1
vote
3answers
28 views

Salesforce large relationship (inner) query

I have a task to perform a fairly large and specific data removal. The goal is to remove all EmailMessage objects that have a parent Case record whose status is closed, from BEFORE a certain date. ...
0
votes
1answer
21 views

How to Execute Batch apex class from controller

I am Executing Batch apex class from normal controller It is executing Start Method but it is not going to Execute method Can you please help me on this SampleChargeBatch1 chargeBatch =new ...
1
vote
1answer
9 views

How to create an Ampscript Array or dynamic var?

Is it possible to create and use an array like in PHP or other scripting languages? And/Or is there a way to generate dynamic variables so that you can loop thr Such as: for @cnt = 1 to 5 do ...
0
votes
0answers
11 views

Sending PDF and documents to salesforce

Our company is trying to send PDFs and documents to salesforce from a third party system. I need to know how can this be achieved. Do we use document service method , if not what this actually is ?
0
votes
1answer
9 views

Multi language using visualforce with custom labels

<apex:page id="thepage" controller="PageController1" language="{!IF(ISNULL(language),'en_US',language)}"> <apex:form id="theform"> <apex:commandlink ...
0
votes
2answers
22 views

Test Class Failing

I'm having trouble getting my test class to pass tests. Getting: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ...
1
vote
1answer
11 views

SSIS package connecting to SALESFORCE with OR (parameter = 'Y')

I have an SSIS (SQL Server Integration Services) 2008 package where Salesforce.com is the data source, and the below SOQL works fine to connect, taking the variable dt_last_success value that is the ...
1
vote
1answer
18 views

Link to custom visualforce detail page

I have a page that displays Ideas dynamically with page blocks and repeater. I would like to be able to click the title of the Idea as a link that would take me to another custom visualforce page that ...
2
votes
1answer
10 views

How do you enable popups on custom objects?

What do I need to setup in order to display a popup for a custom object? Here is an example of a popup for a contact. Where can I see these settings in Salesforce?
1
vote
0answers
13 views

Workflow Formula for Owner

I need to write a workflow formula that states if an owner is equal to a specific user with an action to check a specific box. I tried doing with the simple criteria, but this is not working. Does ...
1
vote
1answer
15 views

Multi language using visualforce

Multi language using visualforce, i had to display multiple languages using custom labels how can i achieve it?? just by clicking on "french" link text in vf page must turn into french
1
vote
0answers
8 views

Android ionic hybrid app missing SalesforceOAuthPlugin

I'm trying to buid a simple android SFDC app using Ionic, I used this https://github.com/driftyco/ionic-starter-salesforce when I try it in the browser using ForceServer it works fine but when I try ...
1
vote
1answer
12 views

Action function not getting called

I want to create new contact records by clicking on create new contact button specified for each account record and on clicking of it a popup should come that should display the required fields for ...
2
votes
0answers
12 views

Hide Visualforce component based on field in account layout

On my account layout, one of the sections has a visualforce component in there that will only appear if another field on the account layout has a value in it. When there is no value it displays a HTTP ...
5
votes
0answers
29 views

How to list down all Standard/Custom Objects and ignore System(Internal) Objects

There's always a requirement to pull ALL standard and custom objects using describe call ignoring all system/internal objects. Is there a way for same? One of option is to reference ProcessInstance ...
2
votes
1answer
25 views

Cannot load bootstrap css in Lightning App

I'm following the "Lightning Components Developer's Guide" and when I try to preview my app I get always a CSP (Content Security Policy) error that the css file is blocked for loading. I've read a ...
3
votes
4answers
33 views

How would I get values from a standard controller form in soql query?

So I have built an apex page as follows... <apex:pageBlockSection > <apex:inputField value="{!Tree__c.Tree_Type__c}" /> <apex:inputField ...
1
vote
1answer
15 views

Translating the picklist values in salesforce used in wrapper class

I have a picklist field on a custom object who's values are translated using translation workbench. In my class I am using wrapper class and displaying the picklist value on a visualforce page using ...
0
votes
1answer
12 views

Lookup filter not returning records

I have a lookup field on opportunity object. The field is a lookup to account object. The filter criteria i had used is that only accounts of specific recordtype should be available in the lookup. The ...
0
votes
1answer
7 views

Custom Quantity into VF email

Hello I have created a custom field for Quantity(under Order Product object) to get the number as integer. Through the formula-->number-->decimal=0 and had the Standard field Quantity. The result ...
4
votes
1answer
26 views

reRender checkboxes problem

I have a menu (screen below) where the two section are refreshed using rerender. Depending to main object the sections are refreshed. The input checkboxes checked for the 1st main object are deleted ...
1
vote
2answers
17 views

how to create a Visual force page as a PDF report ,it should be link on the Quote header to open this PDF

I have a custom object as competitor ,forecast ,std obj as quote and quotelineitem. I have a created a visual force page in a data form ,but it should be in PDF report .So i have added an attribute as ...
0
votes
0answers
25 views

Add a custom field to all Custom Objects

I am so new to APEX and the salesforce platform, I don't even know what tag(s) to put on this question. So, please be gentle. Here is my question: Each time I open a Force Object, I receive out of ...
4
votes
1answer
29 views

Deleting a managed visualforce page

I'm trying to delete a visualforce page that is contained in a managed package. I have opened a case with the Salesforce support team and they enabled deletion of components that are contained in a ...
2
votes
0answers
16 views

Error: ERR_TOO_MANY_REDIRECTS while loading Lightning App

I'm getting ERR_TOO_MANY_REDIRECTS error in browser console while opening the lightning app. This doesn't affect the functionality though, it is making delay in loading completion of the app. I'm ...
1
vote
2answers
86 views

How to get ID of record which is inserted using apex

i am new to Apex..can anybody help me. My question is How to get the record ID of record which is inserted using Apex..
0
votes
1answer
17 views

Self look up and Reporting Requirements

For one of my object (for e.g. Bug), we want a self lookup to the same object to store child records (for e.g. Child Bugs). After that I created a custom report type on Bug with child object Bug. I ...
0
votes
1answer
12 views

Unable to create SOAP request for inserting child object

I have a scenario where i need to perform create opertion.I have imported the Enterprise salesforce wsdl and trying to perform create operation on a junction object. I have a junction object ...
1
vote
0answers
9 views

Mail Merge IF Statement works but I have to manually “Update the Merge Field”

I run my mail merge and the output in the Word Document appears to be blank. I right click where the output should be and select Update Field. I can then see the result so the IF Statement is working ...
2
votes
1answer
26 views

Test Class not covering the execute method

This batch class is to set the recordtype when it is null. global class ContactBatch implements Database.Batchable<SObject> { global String query; global Database.QueryLocator ...
0
votes
0answers
7 views

Live Agent: Custom Style for liveAgent:clientChatLog

liveAgent:clientChatLog is the VF tag which is used to display the chat transcript to a visitor. There seems to be no way of applying any kind of style to the text in this window, nor to apply custom ...
0
votes
0answers
9 views

Which liveagent:ChatMessage tag to use?

According to the VF guide, there are three types of liveAgent:ChatMessage tags. What is not clear is what is the best practice for using them? The tags have different attributes. Does anyone know ...
7
votes
1answer
43 views

How can I make a PATCH HTTP Callout from Apex?

I need to make a PATCH http request. I made the rather incredible discovery today that I can't set an HttpRequest to use the PATCH method, as when sending the request I get a callout exception: ...
4
votes
1answer
25 views

Assigning VF component attribute to a List controller class variable

I have a VF page using a standard controller, a component, and a custom controller for the component. I am trying to pass a list of sObjects from the standard controller to the component's custom ...
1
vote
1answer
21 views

Limit emails sent to subscribers

We wish to limit the number of emails a subscriber can receive in a given time period. Eg Subscribers can only receive 3 emails in a fortnight - if at the time of a send any subscribers have received ...
1
vote
1answer
15 views

Is it possible to track the 'isDeleted' field for custom objects?

is there any way to track when record of a custom object was deleted or restored from recycle bin? I tried to export and find records from "History: Custom object" but this seems like the 'isDeleted ...
2
votes
1answer
19 views

Use a Variable as the URL in an before;httpget request

Instead of hardcoding urls like so: %%before; httpget; 1 "http://www.someurl.com/blog/"%% I'd like to pass variables, from various emails, into call such as: %%before; httpget; 1 v(@rssUrl)%% ...
4
votes
1answer
18 views

Database.convertLead() creates Account, Contact and Opportunity but leaves Web-to-Lead Lead unconverted

I've written a trigger to auto convert leads coming in from a web form. When I send the information from the web form, the Lead is created, the trigger runs the Database.convertLead and I get an ...

15 30 50 per page