All Questions

0
votes
1answer
9 views

Getting an extra line with field set

I am trying to use field set to get list of fields to show in the VF page so the customer can adjust the fields without having to touch the code. But It seems to me that when using field set, I am ...
0
votes
0answers
6 views

S2S Test Data Isolation

Goal - Avoid using SeeAllData=true for testmethods against APEX code that inserts PartnerNetworkRecordConnection objects (to test outbound sharing) What I believe to be true ...
3
votes
1answer
12 views

Which way to update apex class through API is preffered: MetadataContainer in Tooling API or compileClasses in Apex API?

I need to save some Apex classes through API in java and this question confused me: In documentation for the Tooling API I found an example how to update Apex class using MetadataContainer. This ...
2
votes
0answers
7 views

Does 'Deploy with Active Jobs' work for managed packages?

So there's this new feature: 'Deploy with Active Jobs' It lets you deploy batches and schedules even if they're running. This is great for changesets. Does it work with managed packages?
0
votes
0answers
7 views

Change tab when opening a new page in service console

In the service console, there is a home tab and a Customtab1 (tabStyle = tab1style__c). List of records display in the Customtab1 and when a record is clicked, a CustomPage1 displays the record in ...
1
vote
2answers
11 views

Encrypt/Hide Createdby Field

Is there a way to encrypt, hide, or make the created by field on a custom object anonymous? We are creating a survey process and we want the record submitters/creators to remain anonymous. Thanks.
1
vote
2answers
28 views

How to Create a Formula that contains multiple IFs

I am trying to create a new field formula that will check if one value is not blank and complete the formula, but if the field is blank then it runs the other IF section of the formula. Below is the ...
0
votes
0answers
6 views

CustomConsoleComponents metadata not including lookup component

<customConsoleComponents> <primaryTabComponents> <containers> <region>Right</region> <sidebarComponents> ...
1
vote
1answer
22 views

How to query all records changed since date?

Is there a way to query all records of all object types changed since a given date? SOQL doesn't appear to have a way to do this. I thought that the "From" clause might have a way, but when I tried ...
0
votes
1answer
9 views

Apex:commandLink - mail to link

I have a requirement which is mail to link. In visualforce page I have a commandLink. If I click the link it should open user's default email application (Eg: outlook). How i can achieve this task. ...
0
votes
1answer
18 views

Getting error while editing record inspite of having Modify All permission on an object

I have an api user who has modify all permission on Asset object under his profile but when he is trying to edit asset he is getting below error. You do not have the level of access necessary to ...
-1
votes
0answers
18 views

Dropdown the question after selecting a particular checkbox on the VF page

I have a visualforce page with checkboxes which can be multiselected. I want to dropdown the question after the particular checkbox is checked. ( the question is written type question not a ...
-1
votes
0answers
11 views

I need help with createa trigger which will add null to a lookup field.

I have never written a trigger before, need help. There is lookup field in opportunity object which is related to opportunity to lockup for a duplicate record. I need a trigger to add null to ...
1
vote
1answer
17 views

Getting Recursive Error in with test Class

I'm trying to create an update on the account object when someone creates or updates task. I'm not getting enough test code coverage, and I'm also receiving a recursive error when running the test. ...
1
vote
1answer
27 views

Remove Home tab with visualforce home tab

I want to remove the default home tab with custom vf home tab. Is there a way to achieve. Thanks!!
0
votes
0answers
7 views

Remove tasks, Notes and reports on side bar search

I want to remove task,note and report from sidebar search using standard functionality. Is there a way we can achieve this? Thanks in advance.
2
votes
1answer
24 views

How to create a managed application and namespace for REST API

I am following up the post here: REST API without Connected App Although the answer was very helpful, I'm new to SF and need some clarity on some things: 1. How and why can a separate (free ...
3
votes
1answer
79 views

Lightning standard components

Is there any way in Winter 15 to get access to standard lightning components? If not thru drag and drop, is there a listing of such components by name and parameters, so that they can be included in ...
0
votes
1answer
13 views

Standard Save button on visualforce page doesn't update standardController

I'm trying to save a checkbox value (and eventually a pulldown list of invitee status) with a standard Save button but all it does is refresh the page. I want to update the custom object ...
0
votes
0answers
8 views

what is the difference b/w customer interface and user interface

Can any one let me know what is the difference b/w customer interface and user interface??one of our client has raised this question ,whether we can create a customer interface and application in ...
1
vote
1answer
17 views

Query All Subscribers Unsub Status within Child BU?

An account I'm working in is set-up to do sending to data extensions and is also configured to capture unsubscribes at a business unit level. Have a request to provide a more accurate picture of the ...
1
vote
1answer
19 views

Query Salesforce to find any records created in past “X” hours

My organization does monthly deployments from our sandbox to production that include bug fixes and enhancements. When we deploy to production, we do testing to make sure that everything is working as ...
0
votes
0answers
17 views

SelectList value unexpectedly NULL

Why should selectedsProdAdd (that represents the value for one of the selectList in the page) be null in the LtoR() method? Controller: public without sharing class PackManager { public ...
0
votes
1answer
8 views

Why doesn't this VisualForce Chart with data built in JavaScript render?

Currently looking at Providing Chart Data via a JavaScript Array As per the example, data is embedded and returned by the JavaScript's dataArray property. However, the chart does not seem to do ...
2
votes
1answer
21 views

No “Personnal Folder” when querying the Folder through SOQL

I'm using the Salesforce REST API and when I do the following query, it doesn't return the "My personnal folder", hence I don't get its ID : SELECT Id, Name, LastModifiedDate FROM Folder Is there ...
0
votes
1answer
3 views

I want to send an auto-response emails from the lead owner's email when a new lead is created. How can I do this?

We are using Web2Lead forms to capture leads e-mails and info into SF. Upon creating a new lead, the lead is assigned to one of our users using assignment rules. At this point we want to to be able ...
1
vote
1answer
14 views

Column background color in pdf

Please someone let me know how to get a colored background of a column in pageblocktable in an apex visualforce page with renderAs pdf. I have tried with this. It works in pages but fails for pdf. ...
0
votes
2answers
10 views

How can I define my Remote Action Apex Controller class for JavaScript in a VisualForce Page?

Currently looking at Providing Chart Data Using a JavaScript Function The chart is not rendering for me; not at all, though I have confirmed that the JavaScript getRemoteData() method is attempted. ...
1
vote
2answers
11 views

Passing parameter through commandbutton is null value

I'm trying to pass a parameter of an Object to a controller with this code block: <apex:commandButton value="Accept" action="{!Accept}" > <apex:param name="deal" ...
1
vote
1answer
12 views

“Add to Package” picklist shows “Cross Org Data Hub” - What is it?

When I added components to a package I realized there is a new component type Cross Org Data Hub. Is this related to Environment Hub or External Objects?!
0
votes
1answer
4 views

How do I reference a custom field of datatype hierarchy in a Workflow rule

I have a custom field on my Account object which is of type Hierarchy (which is for the Object User). I have never come across this before, and I cannot find out how to reference that field in my ...
1
vote
1answer
10 views

Where are my VisualForce Bar Chart's Bar's?

Currently looking at Providing Chart Data via a Controller Method. Something seems to be either missing or failing, as the bar chart is being displayed WITHOUT the bars: Here is my VF Page: ...
0
votes
1answer
9 views

My user credentials into a visualforce email

Hello I have created a Visualforce email for my division. I would like my user credentials to appear at the end of the email. If you look the attached file of an example from normal email in gmail. I ...
0
votes
1answer
8 views

Unable to locate Secure Agent under Develop

I tried logging a case asking salesforce about this but was rejected and directed here. Can anyone here shine a light on why I don't get this option in my Setup menu? I am attempting to follow the ...
0
votes
2answers
18 views

Assigning a date value to a date field in Apex

I am having a problem with Apex. I have a custom field on my Case object: DATETIME: registerDate I have a Visualforce page for which I use input values, and I know how to use these input values to ...
-1
votes
0answers
8 views

Create report using Meta data api in apex

I found a link for implementation https://github.com/financialforcedev/apex-mdapi , to create custom object and feilds of object , but i need a solution to create report using this api any one have ...
0
votes
0answers
15 views

SingleEmailMessage CC is not working

I'm trying to send emails with TO, CC and BCC addresse mail.setTemplateId(emailTemplateId); mail.setTargetObjectId(emailTargetId); mail.setSenderDisplayName(Label.Sender_Name); ...
0
votes
0answers
11 views

When Connecting to SQL Server using Talend Tool, Connection fail and Getting Error

When Connecting to SQL Server using Talend Tool, Connection fail and Getting the following Error: Connection failure. You must change the Database Settings. java.lang.RuntimeException: ...
2
votes
0answers
7 views

Decryption of cipher text encrypted using AES(128) encryption with ECB mode

I am aware that SFDC supports decryption using AES(128 bit) using CBC mode. But I have a requirement where I need to decrypt a cipher text encrypted using AES(128 bit) ECB mode. One way of doing ...
1
vote
3answers
13 views

Execute Apex method avoiding required field validations - <Apex:Region> not working

Here I want to insert one record on clicking "Post" button, at the same time I don't want to execute code in "First" pageblocksection (avoid all required fields). <apex:pageBlockSection ...
1
vote
2answers
22 views

Show values in VF page from both map and list

I have a requirement to show map values and list values simultaneously in a page. Can someone suggest a wayout? Apex controller: public class IncidentDetailExtnController{ Incident__c oInc ...
2
votes
1answer
46 views

Test Class for Visualforce page

I have a visual page controller with save() function. Inside the save() function, there is an insert object. However, when I write my test class, I am unable to query the inserted object. ...
2
votes
0answers
9 views

Configuring Single Sign-On Authentication via SAML 2.0

We are trying to configure Single Sign-On Authentication via SAML 2.0. We have tried with two different XML metadata, one of them the example given for ExactTarget in WEB and other XML created by us. ...
0
votes
0answers
8 views

How to access the owner email of win in salesforce iOS

Let's say I have an App named SalesSample. which uses salesforce, one of my teammates wins a deal in salesforce but doesn't use the SalesSample app. From the SalesSample app, can I email the winner of ...
2
votes
3answers
50 views

Single Apex Class for Multiple controller classes

I have one Apex Class. I want to access that Apex Class variable from other controller classes. If I'll change the value from any controller, then that same value should be available to all ...
0
votes
1answer
19 views

Display Parent, child and grandchild's records

Once a parent(Contact) is selected I have to display a list of related records from child, grandchild and grandchild's child in one single page block. All the objects are in a lookup relationship with ...
0
votes
0answers
16 views

Having issue with SOQL finding newly created records

I have a system set up using Twilio to log calls in visualforce. After each call, it creates a custom Call_Log__c object, with a DialId field set to an arbitrary string eg. 'abc123' I also have a ...
2
votes
0answers
34 views

How to check if a user is a Salesforce Administrator

Using the REST API, what is the best way to check if a specific user is a SFDC Administrator, given his Id?
0
votes
1answer
19 views

How to give custom labels for picklist values in visualforce page?

I have visual force page, in that i'l give custom labels for titles, command buttons, except Pick list values... Here my visual force page... How to give custom labels for pick list values in ...
1
vote
1answer
15 views

Share Account Records

Here i have so many records are there at account level and also i have created so many users. Now here i want to share one specific account's record to specific user means only this user can see that ...

15 30 50 per page