0
votes
1answer
4 views
How do you access a wrapper class from a Test class?
I have a VisualForce page which uses a controller. Within the controller I have a couple of wrapper classes which hold various form elements on the page. Everything works great, but now it is time ...
0
votes
0answers
11 views
Changes to Workflow Metadata Email Addresses in Sandbox
We maintain all of our Salesforce metadata (classes, objects, pages, etc.) in GIT, and we use this to go between our Production and Sandboxes.
Recently, when we went to do a "refresh from server", ...
1
vote
1answer
13 views
assigning multiple users to a task errors
I'm not sure how this feature of SF is supposed to behave. I want to be able to add multiple users to the task, specifically when i want to lookup and add a user with one last name THEN do a lookup ...
0
votes
2answers
19 views
Calling too many getters
I have the following VisualForce Page:
<apex:page controller="Checkbox_Class" Tabstyle="Asset">
<apex:form >
<apex:pageBlock Title="Assets with CheckBoxes">
...
0
votes
0answers
8 views
Cloning existing homepage
Are there any changes I should expect with Homepage settings like Chatter feeds,dynamic dashboards,dashboards (or) for that reason any minor components, when cloning an existing homepage component and ...
3
votes
2answers
21 views
Javascript Button to run apex class
I want create a custom button that runs an apex class.
This class create a record and open the detailed page of the record created.
Do you know if is it possible?
Do you have an example code for ...
0
votes
0answers
18 views
Making a Trigger Bulk Ready
I have a trigger that works just fine for single records and I am stumped how to make it work for multiple records. Any help would be appreciated.
trigger TSSEducationUpdate on Education__c (after ...
1
vote
1answer
20 views
Downloading a static resource does not save with extension
I have a csv file as a static resource and i am allowing users to download this file using the following.
<a href="{!URLFOR($Resource.AccountUploadTemplate)}" target="_blank">Click here ...
0
votes
1answer
20 views
Test class with custom setting
I' have written a trigger on lead, very simple.
I'am using the custom setting for the first tine to avoid hard coding or query to get ids.
I haven't experience testing custom setting.
I have a ...
-4
votes
0answers
15 views
Itunes App/Games Country's Availability [closed]
anyone know a way to understand the countries in which an Itunes content (game/app) is available (or not)?
We noticed that this problem is more evident in Itunes since is more common to have ...
3
votes
1answer
26 views
New product : Salesforce communities
Last friday, Salesforce released a new product which is Salesforce communities (Also called chatter communities?)which seems to be based on chatter and works on the principle of sharing and ...
2
votes
1answer
16 views
Get a fully-qualified URL in Visualforce and Communities/Sites
I'm doing an integration that involves passing fully qualified URLs to another application as form inputs so that they can be used for a callback. The URL is for another Visualforce page (not a ...
1
vote
1answer
8 views
Getting content cannot be displayed error when adding a checkbox on a pageBlockTable
I have a component which contains a pageBlockTable. I am trying to add checkboxes to the pageBlockTable.
The component is as follows: MyComponent
<apex:component ...
1
vote
0answers
11 views
Inconsistent behavior for login with Customer Portal and Sites
We tried to implement the Customer Portal and Sites together, but we encountered a problem when we deployed to production (works fine in sandbox).
This is the behavior we're seeing:
Users log in ...
3
votes
2answers
24 views
In SOQL, how do I get just the left N charactes for a compare?
In SQL, I could to something like:
SELECT Id, Name, PostalCode FROM Account WHERE LEFT( PostalCode, 5 ) IN ('84117','84070'...)
How do I do something similar in SOQL? I see date functions and ...
0
votes
1answer
21 views
Salesforce Opportunity -> Custom Object
I'm trying to find a way to convert a Salesforce Opportunity into a Custom Object (termed "Projects" in this specific instance of Salesforce)
I would want to transfer data over from the opportunity ...
2
votes
1answer
28 views
What is a good alternative to DBAmp for users on an Oracle Database?
I'm familiar and happy with the DBAmp product (http://www.forceamp.com/) that replicates data between MS-SQL and Salesforce.
Does anyone have a recommendation for a tool that they have used ...
3
votes
1answer
29 views
Pagination using standardset controller and ability to remove rows from list
I have a list of accounts and i need to also have a ability to remove records from this list.
Now this list sometimes gets in a lot of records which causes the page to reach the heap size limit. To ...
5
votes
1answer
21 views
Salesforce Long Text Area fields in formulas
Im using Professional Edition.Is there anyway to use long text area in formulas. Im searched most of the links but i didn't get any answer. Please tell me how to resolve the issues.
-4
votes
1answer
22 views
How to export data from salesforce to an ftp location? [closed]
How to pick up and drop a file to an FTP location from salesforce
1
vote
1answer
25 views
Global variable for Group
Is there a global variable for referencing public groups
Use case: I want to generate data on a field for few users belonging to a public group.I know using $profile I can do
!IF( $Profile.Name = ...
5
votes
1answer
29 views
What is the max length of a SOSL search expression?
My SOSL query with an extremely long search expression failed with
System.UnexpectedException: Search Term exceeded max length
Searching the Documentation I could not find anything about a max ...
5
votes
1answer
30 views
possible to determine browser language setting on site page?
Is it possible to determine the browser language setting of a guest user on an external site from Apex or VF?
I'm leveraging custom labels and they seem to respond to the browser language setting of ...
1
vote
1answer
17 views
Sending email with javascript on custom button
I am trying to select the appropriate email template using javascript on a custom button. Here is a stripped down version of my code:
var template;
var type = "{!My_Custom_Object__c.My_Field__c}";
...
1
vote
1answer
18 views
Connecting several third party app accounts to a single Sales force account
We want to connect several independent accounts we have with Zendesk for different support levels and products to specific support users inside our SF org so that each one gets/sync data from their ...
4
votes
1answer
40 views
Sending nulls in JS remoting
I am refactoring some apex code. Previously we were using REST resources and now using JS Remoting.
If an attribute is null, JS remoting won't send back any information for the attribute; whereas ...
4
votes
1answer
23 views
Pulling Permission Sets only through IDE polls a trimmed version of them
In Eclipse Force.com IDE I created a Force.com project that was configured to pull the Permission Set folder only. The Permission Sets have been pulled, but in what appeared to be a trimmed form - all ...
3
votes
1answer
20 views
Using a component to add attachments to visualforce email template and showing email link
We are trying to add attachments to an email template using a component. The code in the email template is:
<messaging:emailTemplate subject="My Subject" recipientType="User" ...
1
vote
1answer
29 views
JQuery - Unchecking Checkboxes Not Performing Desired Action
I am wanting to implement a checkbox that will display a div if checked and hide the div if unchecked.
This is what I have so far:
Script:
<script type="text/javascript">
function ...
1
vote
0answers
20 views
How to display opportunities on GMap?
I want to display a list of opportunities that exist in a report on GMap. I could not find any free app @ AppExchange.
My idea was the following:
1. Create a csv export from Reports
2. Convert on ...
3
votes
0answers
21 views
Get Namepsace for code at runtime?
I am in an apex class. Is it possible to get the namespace for this class at runtime?
Reason, I serialise a pile of objects to JSON and the namespace is pre-appended on all the attributes. I wish to ...
1
vote
0answers
20 views
Get related account of Account
I have co-owner field in account I am populating user id of other user .
So basically It like sharing.
My scenario is I have a table where accounts are populated.
My req is I need to get allaccounts ...
0
votes
0answers
45 views
Collection size 1,100 exceeds maximum size of 1,000. Limited my query to 100 items but still getting the error
public class Checkbox_Class
{
List<assetswrapper> assetsList = new List<assetswrapper>();
List<Asset> selectedAssets = new List<Asset>();
Integer x;
public ...
0
votes
1answer
19 views
Cancel button on VF page
I am developing a VF page to allow changes into a custom setting. And this page is set as a visualforce tab. I need a way to set up the cancel button such that it would take the user back to previous ...
1
vote
0answers
25 views
apex:outputText with Escape=“false” rendering Issue
I'm having a vf page like this
<apex:outputlabel escape="false" value="{!pagelistcode[0]}" /> // pagelistcode value comes from class with html code in it
<apex:pageblocksection columns="1" ...
2
votes
2answers
20 views
API: Retrieve Record Types for Contact
I'm trying to retrieve a list of all record types relating to the Contact object in Salesforce using the Enterprise WSDl in C#. Currently I am setting a Contact object like this:
var contact = new ...
5
votes
1answer
28 views
Tooling API 'No Access to entity:TraceFlag'
The Tooling API brings a new object with it, that allows me to create Apex Logs programmatically. It's called TraceFlag.
I tried to implement it in my na15 org (28.0) but i get a
No access to ...
2
votes
1answer
17 views
how to control API access to applications
I think there is no way to do this but wanted to check.
I would want to control what remote applications can access Salesforce via the API.
Right now, if you set "API Enabled" to true, you are ...
1
vote
1answer
28 views
Has Anyone faced this Problem: In-Browser code editor not working
Today when I tried opening my page.I'm getting it as
for both visualforce and apex class.Don't know why?
I have to go to the individual page and class to modify any changes and it's disgusting
...
4
votes
1answer
33 views
Chaining Scheduled Apex to process callouts every 30 seconds
We wanted to create an outbound message queue system that would process requests individually and in order to any external web service. The frequency that these requests should be processed is ...
1
vote
0answers
11 views
Has anyone done setting of targets and actuals using opportunity records
On one of my earlier questions
Setting up sales targets for individual Sales member and Teams,
@mohit had provided with a link to a thread where SteveMo had suggested using opportunity records to set ...
1
vote
1answer
25 views
Using the Summer 2013 Metadata API (v28.0) as a Web Reference in Visual Studio
I'm attempting to update a Visual Studio web reference from using the v27.0 Metadata API to the Summer 13 v28.0 API.
This compiles fine, but when running the code an exception is thrown in the ...
1
vote
1answer
38 views
Best practice for calling Apex methods from custom button?
I want to put a custom button on a standard detail page layout to execute Apex code, and I'm wondering if using VF page action attribute is the best practice.
Here are the details. When the user ...
2
votes
1answer
28 views
How can i identify the value for pc on report parameters when i use pc, pn and pv parameters to filter
How can i identify the value for pc on report parameters when i use pc, pn and pv parameters to filter on the report? I am able to identify the names of standard fields, but unable to parse the ...
1
vote
1answer
22 views
Co-owner field in Account
I have a field called Co-ownere in "Account" Object where I need to query from the field.
In the field I have 2 owner value seperated with ';'.
So I want to know What I need to do So that I can ...
3
votes
0answers
45 views
Test class for ConnectApi chatter post
Thanks to techtrekker i have writtern a class that to post a happy birthday message and picture on chatter. In this post i mention the user. I'm using the connect apex chatter.
All works fine, but i ...
3
votes
1answer
45 views
Getting size of a list in javascript or jquery
I have a list on my controller. I want its size in javascript function. How to get it?
3
votes
2answers
31 views
Grouping on a multislect field
Is it possible to do a grouping on a report for multiselect field?
What i need is if the selections are 'red,green,white' and 'red,white'. the grouping of 2 reds and 2 whites and 1 green records
I ...
4
votes
0answers
29 views
How to Output Account Name Merge Tag with Dashes
When I use the account name merge tag {!Account_AccountName} to output the name of an account in an email message it shows up something like: Georgia’s Hair Salon. However, I'd like to somehow be able ...
4
votes
0answers
46 views
“Required fields are missing” on non-null field
My organization uses a third-party relational replication tool to sync data between Salesforce and a SQL Server database. The replication software is written in Java and uses the Salesforce API for ...