All Questions
134,111
questions
0
votes
1
answer
712
views
Is it possible to export Leads and Sales Processes
is it possible to export the lead and sales processes in workbench? I would like to load the data in another org.
0
votes
1
answer
1k
views
Query To Pull Contact Records That Have Been Created In The Last 1 Hour
SELECT WheelersUsers.user_id,WheelersUsers.email,WheelersUsers.created
FROM WheelersUsers
WHERE ((DATEDIFF(hh,GETDATE(),WheelersUsers.created)* -2 )/2) <= 1
And I wanted to know how I can ...
0
votes
1
answer
780
views
email thumbnail image
Is it possible to add an email thumbnail image depending on the SFMC send classification that you've selected?
0
votes
1
answer
1k
views
How to clear input text field value inside a block
I am displaying 6 text field using apex repeat. Now i am placing a command link called " Clear Filter" to reset the value to null. I am not able to get the id of the inputtext since it is inside a ...
0
votes
1
answer
3k
views
Event : Workflow Email Alert Template - Add to Calendar Button(s)?
Issue: We have a request from our Education department to send our customers an email reminder when we book a new Event with them. We
have a large no-show problem with customers forgetting about ...
0
votes
1
answer
744
views
InputText not passed on to Controller
I have a number in an input text that I want to pass on to the controller:
<div class="divTable">
<div class="divRow">
<div class="cellOne">
&...
0
votes
1
answer
44
views
Not able to manipulate redirects in Visual force page
I have a custom tab which displays a vf page on opening and redirects further So I had to insert another page in between and update user record field and redirect to original location so I inserted my ...
0
votes
1
answer
2k
views
Unable to use apex:inputFile with Javascript?
I just created a VF page that lets a user to upload an image to Salesforce.
My final goal is to print the image width and size to the console with the script below:
<script>
$(document)....
0
votes
1
answer
3k
views
Clicking Lightning Button calling visualforcePage
Clicking on Lightning button,I have to call visual force page dynamically based on record Id..how to do that ...onclick of button how to pass the perticular employee Id?
<aura:component ...
0
votes
3
answers
128
views
How to separate the required fields from Custom Object record?
I'm posting this question previously but i'm not achieving my goal
for that i posting again
I have a custom object called Incident__c.
and it has some fields
Imtpact__c
Incident_state__c
...
0
votes
1
answer
145
views
Setting field values using selectedOptions
I need to set fields risk1__c, risk2__c, risk3__c to the return value of each of the (3) selectedOption on my visualForce page. I'm using a controller for the option values. How can I set these fields ...
0
votes
1
answer
344
views
Enhanced FTP pros and cons or any documentation on Single Account FTP vs Multi-Account FTP on Marketing Cloud
I am looking for any documentation or details on Single Account FTP vs Multi-Account FTP.
We are having multiple business unit and wants to know the pros and cons on Single Account FTP vs Multi-...
0
votes
1
answer
6k
views
Restrict record access based on record type
We have requirement :
For Operations profile -- we want them to not see any Opportunity Record Type = Grant; or Opportunity Record Type = Report.
So regarding that requirement we have did ...
0
votes
1
answer
851
views
soql offset error for Pagination in Test Class
My class
Public Integer OffsetSize = 0;
Public Integer LimitSize= 10;
public integer totalrec{get;set;}
// StandardController relates to task
public HomePageStd(ApexPages....
0
votes
1
answer
665
views
how to get the same record multiple times in single SOQL query
Account__c field is lookup in relationship__c object. I have to get all the accounts into a list. If the same is selected for 15 relationships, I have to get the same account 15 times in the final ...
0
votes
1
answer
205
views
Master detail relationship query
I have two objects, Opportunity(Master) and Rollout(Detail). I am trying to find Id, Name from Opportunity object who have no record in Rollout object. The id field in Rollout is Opportunity__c.
0
votes
1
answer
3k
views
Creating sub child Business Units in the Enterprise
Let's assume I create two BU'S under the root one. Then under each BU's, I create two children BU's under each BU. For my prospective, it will be very challenging to query and have shareable assets? ...
0
votes
1
answer
201
views
Mix or blend SOAP and REST api?
I've been using the SOAP api for things. It's working really well for almost everything. The one thing that it couldn't do the last time I checked was pull a template from the ExactTarget platform and ...
0
votes
1
answer
699
views
Populating fields once a lookup is selected
I have a Contact lookup that the user selects:
<apex:page standardController="Software_Activation__c" extensions="SoftwareActivationController">
...
<apex:inputField id="contact" ...
0
votes
1
answer
22
views
Exposing the value of a Lookup relationship's element
I have a Lookup in my custom object to a Contact object exposed in Visualforce. The user selects a contact by doing a lookup:
<apex:page standardController="Software_Activation__c" extensions="...
0
votes
1
answer
79
views
How to change default object field size?
I've created new App called Library with Books objects.
I have very long book name. After type in this long title into Book Name field and click Save button i have following:
Data Storage ...
0
votes
1
answer
124
views
Could someone explain these lines of code
Im getting the following error
GroepsLidTrigger : GroepsLidTrigger: execution of AfterUpdate caused
by: System.NullPointerException: Attempt to de-reference a null object
Class.GroupsUtil....
0
votes
2
answers
2k
views
Unable to use setup in test class @testSetup
When i use the @testSetup method, and try passing the myContact in
ApexPages.StandardController sc = new ApexPages.StandardController(myContact);
the line returns error Argument cannot be null
@...
0
votes
1
answer
173
views
DE attribute not recognizable in exclusion script
i am trying to remove contacts of DE from receiving email which has a value in column named 'AffPersonPGUID' matching to the values present in a column by same name in DE named DE_ContactID using the ...
0
votes
1
answer
2k
views
Method does not exist or incorrect signature: void updatechildrec(List<Work_detail__c>, Map<Id,Work_detail__c>) from the type updatechidrecdsdup
trigger udpatewordetailrec on Work_detail__c (before update)
{
updatechidrecdsdup.updatechildrec(Trigger.New,Trigger.oldMap);
}
public class updatechidrecdsdup {
public static void ...
0
votes
1
answer
89
views
Query help to set a default value
I'd need to set the l.status to Unsubscribed when there is a record that matches using the following query. Could anyone help me with that?
select
l.SubscriberKey,
l.EmailAddress,
l.listid,
l.Status
...
0
votes
1
answer
65
views
Solution for Mass Deletion
currently, we have "households" listed for many of our contacts. We do not want them. Is there a way to delete all households from our account, and also to turn it off? It seems like every time we add ...
0
votes
1
answer
789
views
Lightning Design system modal closes but doesnt open on click of lightning action
I am new to LDS , what i am trying to achieve is embed a modal in lightning component and call this component on lightning action which i added on page layout, now , where user clicks the action , it ...
0
votes
1
answer
26
views
I am getting an error line 25, col 30. Expression cannot be assigned
i.e at "Account ac = peronAccountList1.get(sc.AccountId);"
//******** Service Contract *******//
public class ServiceContractTriggerHelper {
public static void updateAddress(List<...
0
votes
1
answer
576
views
Updating field using trigger
I have written a trigger for following scenario.
Positon is a object. There are two fields Parent_position and Head_count
Position object.
Parent_position is self lookup field to position object.
...
0
votes
1
answer
487
views
Use of ampscript in mobile outbound SMS
I want to know if is it possible to get mobile numbers from a data extension directly into journey builder send SMS activity.
I have a data extension with 17 different fields one of them contains ...
0
votes
1
answer
288
views
Session Expired or Invalid in Apex Rest while calling GET Request:
I am getting the below error:
This is the access_token I am getting successfully. I make sure as soon as I get the access_token, I used that while calling GET Request, please guide.
0
votes
3
answers
538
views
Simple Test Class for simple controller
I have a very simple class that i don't know how to write a test for, what i don't know is how to pass the CaseID from a test class to the controller. I'm working on a sorted list for a VF email ...
0
votes
1
answer
2k
views
Make Milestone fields available in Case List Views so cases can be prioritized
Anyone know if this is possible yet?
https://success.salesforce.com/ideaView?id=08730000000i6KFAAY
0
votes
1
answer
1k
views
Create leads or contacts from marketing cloud with landing pages smart capture
Can anyone guide me on how can we generate leads or contacts in Salesforce through a smartcapture form with hidden fields like record type? I only have landing pages in web studio.
0
votes
1
answer
377
views
How to get the access_token to call the Apex REST service from outside using the Rest Client
How to get the access_token to call the Apex REST service from outside using the Rest Client ?
I have a connected App and that gives me
Consumer Secret : 1180XXXXXXXXXX
Consumer Key : MVG9d8..z....
0
votes
1
answer
1k
views
How to execute the Apex REST API from the REST CLient?
I am new to the SalesForce and trying to execute the below from the workbench the same I want to execute from the Mozilla REST client. What URL I should be using?
So What should I be used here ?
====...
0
votes
1
answer
976
views
Debug Log in RESTResource [duplicate]
My problem is very similar to this . But adding necessary user(Site owner) to Debug Logs doesn't help me. I don't see any logs at all. But webservice works well.
0
votes
1
answer
669
views
Salesforce SSO for a group of users
I've implemented SSO with Active Directory, for now all users going into LDAP and then they can access Salesforce. Is there a way to select a group of users to login in the regular page with ...
0
votes
1
answer
2k
views
'Omitted' Forecast Category Help
On the Salesforce Documentation it mentions that the 'Omitted' forecast category
'means the amount does not contribute to your forecast'
I would like to know what criteria causes the forecast ...
0
votes
2
answers
1k
views
how to hide and show the pageblock using jquery in vf page
I have a visualforce page.based on command link click i want to disaply different pageblock.I want to achieve this using jquery.
Please guide me
vf:
<apex:page standardController="Contact" ...
0
votes
1
answer
468
views
How can we block any user from deleting a record in visualforce page
I have delete button on the visualforce page. If particular record status moved out of 'Draft' then the record should not be deleted. If user clicks on delete button with the status value 'Open', it ...
0
votes
2
answers
43
views
Automate apex execution [closed]
I have a piece of apex code which checks if the user hasn't logged in over a certain period of time it disables. So my question now is how often should I run this code and is there a way to automate ...
0
votes
1
answer
844
views
Need Help writing a Batch Class to change more than 10,000 Records (DML) at a time
I have a database with an object Voter_File_TX with over 15 million records and have over 700,000 contacts. I need to connect records that have the same First Name, Last Name, and Zipcode across these ...
0
votes
1
answer
33
views
Lockerservice Object as parameter
While passing an object of sobjectType Quote to an apex controller from lightning helper, we are facing an error "Unable to read SObject", but same thing is working fine without locker service turned ...
0
votes
2
answers
3k
views
Pass Record ID into URL and display all associated content related to the ID
I want for a user to click a URL from 1 VF page, which effectively passes the records ID to the next VF page. Then I want to display the associated record's information
<apex:pageBlock>
&...
0
votes
1
answer
523
views
Field update not rendering on Visualforce Page
We have a custom field on the Campaign object called Number_of_Attendees__c that is populated by Rollup Helper using a @future method (set up by Rollup Helper, so I have no access to the code).
The ...
0
votes
1
answer
99
views
Null values for one custom field
I have below trigger block. I am getting null values for dsrl.Related_Opportunity_del__r.Business_Group__c.
if(Trigger.isbefore && (Trigger.isInsert|| Trigger.isUpdate)){
System.debug(...
0
votes
3
answers
361
views
Error while converting leads to account and contact using Database.LeadConvert class
I am using Database.LeadConvert class to convert leads to accounts and contacts. But getting a validation rule Error while inserting account because there is a required field missing [standard field] ...
0
votes
3
answers
8k
views
CSS in lightning component
I have below code
<aura:component implements="force:appHostable" controller="controller" access="global" >
<aura:attribute name="allLoaded" type="Boolean" default="true"/>
<aura:...