0
votes
1answer
3 views

Distinguish Activities WhatId, Wether it's Lead Id or Opportunity Id

I'm pulling the tasks table out of SFDC into another internal company system, where one fk column can only reference one foreign table. So I need to distinguish whether a task row's WhatId corresponds ...
1
vote
1answer
14 views

How to Add HTML / Javascript / Jquery “Slide Out” Tab (Globally)

I have a form that displays when a user selects a tab This form slides out when selected, and hides itself when selected again The action to display / hide is javascript / jquery I'd like this form ...
1
vote
0answers
7 views

Custom Push Notifications Salesforce 1

There's a way to send a custom push notification to Salesforce 1 app, I mean, I would like to send a push notification across a trigger or class. Thanks!
0
votes
0answers
11 views

Autodelete - Web to Lead

I'm using Web to Lead from an external site, and the Leads are created. The next day, the leads created from the web form are suddenly deleted. Has this ever happened to anyone? I did not set a Span ...
1
vote
0answers
7 views

Problem retrieving KnowledgeArticleVersion records using Remote Objects

I have been experimenting with Javascript remote objects, trying to retrieve a list of knowledge articles by creating a remote object on the KnowledgeArticleVersion object. My visualforce component ...
1
vote
1answer
10 views

Multi Value Results from Nested Query

I have a parent-child nested query like to this: SELECT Name,CloseDate,Theatre,(Select Product__c from Opportunity.OpportunityLineItems) from Opportunity where Name = 'Foo' The result of which, ...
0
votes
0answers
16 views

Custom fields within fieldset are not visible in VF page

I want to display all the fields field set but out of 4 it is displaying only 1 which standard field I am not able to display the custom field form field set. ...
0
votes
3answers
18 views

Bulkify code with Map

I'm still new to map Usage.. How could this code be bulkified? trigger OppyStatusCheck on Opportunity (before insert, before update) { for(Opportunity opp : Trigger.new) { ...
0
votes
1answer
11 views

Display VF page on customer portal sidebar?

I have a really simply VF page thats outputs some figures I have in one of my custom objects. I would like to show this VF page on the side panel (narrow content pane) of my customer portal however VF ...
2
votes
3answers
32 views

Open a visualforce page from a managed package page: URL No Longer Exists

I am trying to open a normal visualforce page (that is NOT a part of the managed package) from a visualforce page that is IN managed package. This button I have on the visualforce page in manage ...
0
votes
1answer
20 views

Web Workers in Sales Force

I have a details button that when clicked sends the record (opportunity) for an Apex controller that sends this record to a web service (SOAP). The problem is that my browser comes to halt in sending ...
3
votes
2answers
56 views

Picklist with different value and name

Is it possible to create a custom picklist field with different value and name. Eg on the page layout Orange,Banana value saved in db 0,1. Thanks
0
votes
0answers
13 views

Sforce.one.navigateURL

I want to create contact using this way but I am getting error "The page you are trying to access is not supported on mobile device" <apex:page > <script> function MyApp(sfone) { ...
-1
votes
1answer
28 views

How to display the filed set on a vf page

I have created a field set on a custom object and I am getting all the fields from the field set to a apex class. Now I need to display the field to a Vf page as inputfield. Is it possible to display ...
0
votes
1answer
28 views

Can you help me with a trigger adding a contact to a public group?

Here is the code from my trigger which saves without syntax errors but gives the below error when I edit a contact. Code trigger AddToPG on Contact (after insert, after update) { ...
1
vote
1answer
36 views

Force.com sites - public access to account/contact records

I have a force.com site, it has a visualforce page with a controller that is doing a very simple SOQL query to the database, which for some reason it's not returning any records. Here's what I've ...
3
votes
1answer
23 views

How to view the website in vf page as pdf

I have used the following code but the page shows as teh blank. but if we remove the render as pdf. the page shows the webpage. Code: <apex:page renderAs="pdf"> <apex:iframe height="300" ...
0
votes
2answers
27 views

Tab is Default on but still cannot see the tab by default

I have created a custom object Pay and a custom profile Manager. Then created a tab Pay for object. The custom profile Manager has permission on the object Pay and also for tab Pay - default on ...
2
votes
0answers
15 views

upload image from ios app to notes & attachment

I would like to upload image to notes & attachement filed of a custom object via ios app. Tried to upload via apex class but it always upload it to the commom "document folder". struggling for ...
2
votes
0answers
31 views

Multiple Tasks are created. Need only one

I have a scenario,where Business Development Manager(BDM) will conduct promotions on company's products. The members attened for that promotions are added as Promotion members(PMM) Promotion is Master ...
1
vote
0answers
12 views

How to verify and Decode Signed Request in BSP [on hold]

We have a canvas applicaiton which is BSP. In BSP i wanted to verify and Decode the Signed Request sent by SFDC. How to do this in Java script
1
vote
0answers
15 views

Submit button does not enable on 'Submit Feedback' window, if user copy any text and paste it in the text box by mouse [on hold]

Submit button does not enable on 'Submit Feedback' window, if user copy any text and paste it in the text box by mouse. I need to use ONCHANGE function in my code .how to use and where need to make ...
2
votes
0answers
33 views

Rendered not working translated picklist value radio buttons

Im trying to translate visualforce page. I have used custom labels to built the page. the page is translated good. For picklist values I used the below code, the picklist values are also translated ...
-1
votes
0answers
27 views

need help creating a test class [on hold]

my visual force page looks like: <apex:page controller="China_MSR_Q"> <apex:messages /> <apex:outputLabel style="font-size:12pt" >For Admin</apex:outputLabel> ...
0
votes
0answers
14 views

How to send email to multiple email addresses use java Fuel SDK or REST API [duplicate]

I want to send email to multiple email addresses using a template in java. Currently I am using REST API messageDefinitionSends, but it only can set email to one email at a time. Does Java Fuel SDK or ...
1
vote
0answers
18 views

Test class for feed items in chatter for trigger increment

Test class for the below trigger @istest public class CountChatterPostsOnCase{ public static testmethod void () { for (FeedItem f : trigger.new){ String parentId = f.parentId; if ...
0
votes
0answers
24 views

Sharing Set Customer Communities

Sharing set works only one per object for each profile in customer communities.Also Apex sharing doesn't works in customer communities.I have a requirement to share the records based on multiple ...
2
votes
1answer
28 views

Apex properties in helper class

I have an apex helper class named "PricingConversion" called from my apex controller "DeaRowEdit". PricingConversionHelper.CalculationSecondPricingTon(dealrow); I would like to move the properties ...
4
votes
1answer
124 views

What is the difference between list controllers and set controllers?

What is the difference between list controllers and set controllers?
3
votes
1answer
35 views

Create a drill down for a field in visual force page using AngularJS

Create a drill down for a field in visual force page using AngularJS I have a visual force page using angular JS. I have include this page as a section in Contact standard page. I need to create a ...
0
votes
0answers
39 views

Customized Related List in Visualforce, suppress edit/delete buttons

I am fairly new to Visualforce and I have been trying to create a Related List in VF on object Employee__c to show all of the devices with an ‘Active’ status (Status__c field on Device__c object). ...
0
votes
2answers
35 views

User created a child record must capture and reflect the child status to the parent record [on hold]

Hello I'm a beginner here in Salesforce so bare with me. I created a Case (child record) with a STATUS field after saving the case it should capture/reflect its STATUS to the Account (parent record). ...
2
votes
1answer
30 views

Can SOSL retrieve child objects from the result set of parent objects?

I have contact object and Registration Custom Object. I want to list the registration object fields in contact object using relationship as follows: SELECT id, name, (SELECT id,name FROM ...
0
votes
0answers
30 views

You do not have permission to view this page or an error occured

I have installed a package in my org. But when I try to run a page from this package I am getting an error that Error You do not have permission to view this page or an error occured. Please ...
1
vote
1answer
32 views

Email Notfication based on the field value

HI I have the following field value. type (pick-list) values [daily, weekly] Count (number). end date If I choose daily and 2 in the above field. two mail should send to the owner. till the endate ...
1
vote
1answer
13 views

Test Unit: inserting test records before method with a callout?

I have a batch apex class that makes a callout at the beginning of each batch. I'm pretty certain that the callout error I'm getting isn't related to the order of DML statements and callouts within ...
3
votes
2answers
19 views

Disable User In All SF Environments/Orgs (Production and Sandbox)

Anyone know of a clever way to disable users who's left the company in all Orgs? In our particular case, one Production with several Sandboxes. The closest I can come up with is to perhaps grab ...
0
votes
1answer
23 views

Can a trigger be created to take the chosen multi-select picklist values and display them with a number field to add time spent on each choice?

I have a multi-select picklist on a Task record that has about 22 choices for the reps to choose from. They now want to assign time spent on each of the selected choices from the picklist. I don't ...
3
votes
1answer
100 views

You've reached the chart refresh limit for now. Check back shortly. What could be the reason?

In the account detail page i have embedded two report charts. After refreshing the account page for few times i am getting an error on the chart that displays You've reached the chart refresh ...
0
votes
1answer
30 views

Account detail page refreshes for three times automatically when page loads

This is one of the issue which i am trying to find the reason. The standard account detail page refreshes for three times automatically on every time an account details getting loaded. This is ...
0
votes
0answers
33 views

How to download file in html format in box.com using http callout? [on hold]

I want to download the uploaded file in html format. However I am following the link "https://developers.box.com/using-the-view-api-with-the-content-api/" and got all the responses "OK". Also ...
1
vote
1answer
24 views

Connection closed error when calling SOAP API from C#

I am calling Salesforce SOAP API from C#. There are multiple instances of the .NET process running which results in concurrent SOAP API calls being made to Salesforce. Some of the calls are failing ...
2
votes
1answer
22 views

Salesforce Cron Expression for every second and fourth Friday?

I want to run a class at 10 AM every 2nd and 4th Friday of each month. Came up with the expression below, but it's not scheduling correctly - only schedules the fourth Friday. Could it be that ...
3
votes
1answer
35 views

VF Performance Issue

Salesforce recently notified us that "a VF is consuming high levels of DB resources due to inefficient SOQL in your VF controller." I believe I have identified the issue down to this query: ...
0
votes
0answers
33 views

Using QueryDefintion to create data extension through API

I am going to give an overview of the scenario I am trying to achieve. I want to have a master DE that has subscriber details associates them to a type ID (so two columns of SubscriberID and TypeID). ...
11
votes
1answer
54 views

Is it possible to simulate record locks in test methods?

I would like my test cases to also test exception handling. In theory an easy way to cause an exception on DML is to lock a record that it'll update so that the update will fail. But I'm having ...
1
vote
1answer
28 views

Database.executeBatch cannot be called from a batch start, batch execute, or future method

I have an after insert,after update trigger on object A which calls Database.executeBatch for insert and update operation which inserts and updates object A records.I have anotherafter insert trigger ...
2
votes
0answers
16 views

How to send a triggered email with multiple order lines via REST API

I need to send out triggerd Order Confirmations via ExactTarget. So far i'm able to send a triggered email via the rest API with a single order line where i have the order details created in a Data ...
1
vote
0answers
25 views

Apex Scheduled jobs stopped executing unexpectedly

We have 2 scheduled jobs which are executing hourly basis in our app. In few of our client's org, they stopped executing unexpectedly. They are shown in Setup->Monitoring->Scheduled Jobs But, the ...
3
votes
0answers
13 views

Salesforce 1 Community Cloud - Chatter Community Rebranding?

Salesforce announced the new "Salesforce 1 Community Cloud" some days ago. On the other hand the information about "Chatter Communities" seems to be outdated. Therefore my questions are: Is the new ...

15 30 50 per page