All Questions

1
vote
0answers
21 views

Find out what instance of SFCC do I have

How can I find out what instance of SFCC do I have? I am very new to SFCC and I was provided with the account of SFCC by my employer. So, now I want to learn the SFCC. For this I go to the ...
0
votes
0answers
18 views

How to send an image in email templates? [on hold]

I have custom field in account object, I put an image in that custom field. How can I send an email along with account name and that custom field using email templates? What type of custom field do I ...
0
votes
0answers
7 views

Pardot Engagement - Multiple Choice Fields

I am trying to set up a Pardot engagement to send emails based off state. Is there a way to check for multiple values in a picklist while using a Pardot engagement rule ? For example, in an engagement,...
0
votes
1answer
24 views

Do automations have a time limit where they crash?

I am uncertain if this question was asked somewhere but atleast I did not find a post that covers it within a few minutes of searching on documentation and stackexchange. Closest question I found Do ...
0
votes
0answers
11 views

Salesforce SSO and ADFS 3.0 [duplicate]

I am trying to set up sso in my org using ADFS 3.0 and it seems that, no matter what setting I choose, I cannot make them work. My biggest issue is that there is no tutorial/documentation to guide you ...
1
vote
0answers
11 views

(405) Method Not Allowed on all FuelSDK requests

I am using C# and the FuelSDK to use the Marketing Cloud API. I have tried multiple methods but they each give me the same Exception -> Method Not Allowed. I looked into this but i couldn't find the ...
0
votes
0answers
25 views

MC4SF.Contact: execution of AfterUpdate

I've created a DLRS on contact object. In the DLRS, I have created a lookup relationship between Contact and a custom object. When I run the calculation using DLRS, some contact records are showing ...
2
votes
1answer
17 views

How do I assign task to Case Owners without breaking on a queue owned case?

Currently I have a process builder flow that is built to assign a task to the case owner when a case comment is added by someone other than the case owner. 90% of the time this works great, but when ...
1
vote
1answer
44 views

How get a value from a Visualforce page and pass it controller before calling the controller.save method?

I'm having the following snippet in the VF page: <apex:inputField id="reason" value="{!case.reason}" required="true"/> which is displaying some case reasons for me. By calling the following ...
0
votes
0answers
11 views

Unlock a record when a reference is made during approval process

We have a multi level approval process involving different users for our service cases. The record would be locked from editing for all the users except the current approver and the admin of course. ...
11
votes
1answer
593 views

Can create an Instance of Abstract Class, Salesforce Bug?

I was playing with Apex and stumbled upon this. Created an Abstract Class and made the constructor as private, so that noone can create an instance of it. This works just fine during compilation. it ...
-1
votes
0answers
23 views

Invocable Class To Return Multiple Objects Illegal Assignment Error

Missing the correct concept here and struggled too long. I am trying to optionally gather multiple multiselect inputs in a Flow, split them in Apex, and return multiple Sobject Collections. I ...
1
vote
1answer
28 views

In a Trigger, is there a way to find if SObject.addError () had been used?

In a trigger you use SObject.addError() to mark a record as not fit for processing. This information can be evaluated outside of the trigger as an exception, but is there a way within the trigger to ...
0
votes
2answers
212 views

Test coverage of active processes and autolaunched flows is 0%, but at least 75% is required. How to identify which ones require test class

With Spring 19 release we would need to have test coverage for flows as well. The question i had was how do we find out which flows which need coverage? Would flows mean just the visual flow or it ...
2
votes
0answers
20 views

Ampscript Not Working on Send SMS Journey Activity

I'm trying to create a journey to send a SMS with some personalization strings. The Journey is sending the SMS but all the ampscript variables come in empty, I'm using the following code: %%[ SET @...
0
votes
2answers
31 views

Returning to exacts view in Lightning components

In case Level, I have few List views for example: All css cases I created List button named it "TestCheck". If I click that button,It redirects to new page. The new page contains Contains cancel ...
0
votes
3answers
55 views

Sending Messages with Dynamic Content

I'm starting with AMPscript, and I need to send a batch of email messages to my customers where each one receives a slightly different content, which should be obtained dynamically for each email To ...
0
votes
1answer
20 views

Best way to store a value easily editable by apex

I want to store a text value that I can easily modify using apex. I want to use it to change the behaviour of a visual flow depending of the value in this field. I think about custom metadata type ...
0
votes
1answer
16 views

On change of designer attribute, init() handler is called again

We are using lightning components in a community. We drag drop the components into a template and configure through designer attributes. For one of such lightning component, there is an init() handler ...
0
votes
1answer
33 views

LWC push fails with error “Cannot find Lightning Component Bundle selector.”

I am trying to follow this trailhead module and I am trying to create a selector lightning web component with code import { LightningElement, track, wire } from 'lwc'; import { getRecord, ...
0
votes
1answer
27 views

How to access a dynamically generated html class name from a JS controller?

I was trying to concat a class name with index from the iteration component. If it's correct, how can I access this value from the JS controller? Component: <lightning:overlayLibrary aura:id="...
0
votes
1answer
21 views

Unexpected character ('\"' (code 34)): was expecting comma to separate OBJECT entries [on hold]

String json = '{'+ '\"FamilyMonthlyIncome\" : \"75000.00\",'+ '\"Doyouhaveyourownhouse\" : \"Yes\",'+ '\"SaralJeevanChannelAccess\" : \"Yes\",'+ '\"Remarks\":\"Good\", '...
0
votes
0answers
20 views

Lightning Community Failed to initialize a component - IE

We have recently developed a new community with lighting components on it. This community works perfect on all the browsers, but on IE 11 (11.0.90) it fails on the landing page component.(It only show ...
0
votes
1answer
18 views

pad block corrupted apex Crypto

I am facing an issue while decryption of value which is stored in custom setting. When i encrypt and decrypt value at same time then i that error is not thrown, if i get the value from custom setting, ...
1
vote
1answer
22 views

How can we convert XML to Native Objects when the XML includes “Date” and “Time” as elements?

I'm currently trying to determine whether we can replace our company's convoluted XML processing solution (based on XPath) with one based on @SfdcFox's XmlToJson solution. Unfortunately, the XML we ...
1
vote
0answers
20 views

Entire page appearing twice in the DOM in LEX?

So the two snippets in this screenshot are the same page loaded in Lightning. This is the "main div" as I can see it that holds the main contents of the page. I promise it is the same page, a standard ...
0
votes
1answer
17 views

Salesforce controllers and extensions [on hold]

how to identify controller and controller extension without refering to the visualforce page? we can easily identify it on vf page by seeing "controller" and "extension" attributes.
0
votes
0answers
13 views

Making Ajax call to another domain from a react app rendered using lightning:container

I am making a custom lightning component in which i am rendering a React app using lightning:container. In that react app i have to make ajax calls to another domain api.xyz.com to fetch and update ...
0
votes
1answer
17 views

Building Angular and React components

I have been through tons of documents, searching the web I came across some resources but it hasn't really helped me. I want to know how to ship an Angular and a React application (step by step) to ...
0
votes
0answers
19 views

onBlur for lightning:input

Trying to implement logic for lightning:input on onBlur case. I need to close this input, when it lose focus, and if I click related buttons for this lightning:input(Confirm/Cancel), want to have some ...
0
votes
0answers
13 views

Remove cookie scope from force.com

We created a custom domain using mydomain feature in salesforce and enabled communities. When I visit the login page, and view the cookie BrowserId using cookies inspector, I can see domain is set to ....
0
votes
1answer
43 views

How to send an email, three days before birthday using SQL query in salesforce marketing cloud?

I am new to salesforce marketing cloud. How to send an email, three days before birthday date using SQL query or using data filter Automation studio. Could anybody please help me.
1
vote
1answer
11 views

Is there any way to send an in Org Notification to authorized User, when Opportunity Record has Updated

Hello I'm trying to write a trigger when any fields of Opportunity__c (It is Custom in our Org) has updated , check the User's object Permission and Send relevant user for in org Notification Like : (...
0
votes
0answers
18 views

lightning:navigation not working on second launch

I have a custom lightning component that navigates to another lightning component via lightning:navigation. If I try this once it works fine but if, without refreshing the page, I try launching this ...
0
votes
0answers
20 views

How do I insert my credentials into the Client when using the ExactTarget S6 WSDL

I have imported the S6 WSDL into Visual Studio 2013 to generate the client code however I cannot figure out how to give it the clientSecret, clientId and/or auth token so that it can actually perform ...
0
votes
1answer
20 views

How to reload a custom lightning component within a lightning page?

I have created a lightning component for a lightning page. After the final save method, I am able to refresh another related list in the lightning page using 'e.force:refreshView' but I am not able to ...
-1
votes
0answers
16 views

Custom Script Eval error [SecureDOMEvent: [object Event]{ key: {“namespace”:“myorg”} }] [on hold]

I am using this js file as static resource and using in lightning component https://github.com/mino0123/salesforce-metadata.js/blob/master/salesforce-metadata.js
-1
votes
0answers
13 views

how to find this date from being greater than 14 days from the Broadcast Start Date [on hold]

Broadcast Stop Date: The latest date in which the XYZ customer wants the Commercial to be broadcast. This field defaults to 14 days from the current date on new Commercial records. A Validation Rule ...
0
votes
1answer
22 views

Using an angular build inside Salesforce [on hold]

Can I take an Angular build and using inside Salesforce within a lightning component?
0
votes
0answers
21 views

Push notification

This may be a silly question, but i have a doubt in it. please tell why i am getting reply 3 times for single update. please see the received event notifications below Received: {"event":{"...
0
votes
0answers
26 views

RecentlyViewed not working for Account for portal user

recentlviewed not working for Account for portal user listRecent = [SELECT Id, Name,Type FROM RecentlyViewed WHERE type IN('Contact','Account','Opportunity','Lead') and LastViewedDate !=null ...
-2
votes
2answers
31 views

Phone Number validation rule [on hold]

Requirement Length should be 10 digits Only numbers should be entered no alphabets Cannot be left blank Any one please help Thank you
0
votes
1answer
18 views

Not able to deploy SocialCustomerServiceSettings into scratch org

I had retrieved my source code from a sandbox and converted the into source format using the mdapi:convert command. Now, I am trying to push the code into scratch org there is an error showing "The ...
1
vote
2answers
34 views

What is the primary key in data view - sent and data view - open?

I want to create a data extension consisting of total sends, their send datetime value & total opens. There isn't any standard report in marketing cloud which provides time of send. To fetch ...
-1
votes
1answer
33 views

I want to make a picklist field required in lightning component

<div class="slds-form-element slds-form-element_edit slds-form-element_stacked slds-hint-parent"> <c:PicklistSelect objectName="Events__c" fieldName="CurrencyIsoCode" label="Currency" value="...
0
votes
1answer
20 views

System.QueryException: value of filter criterion for field 'CreatedDate' must be of type dateTime

Below my code, I want to pass date value as a parameter but I facing an error as below, message: System.QueryException: value of filter criterion for field 'CreatedDate' must be of type dateTime and ...
0
votes
1answer
27 views

Error : Attempt to de-reference a null object ; on map variable

Class.ResourceProfileController.__sfdc_mapSummary: line 137, column 1 Class.ResourceProfileController.__sfdc_listWrapperEmployee: line 162, column 1 --> Error on the Variable mapSummary Hello I'm ...
0
votes
0answers
24 views

Change Platform Event Notification on Click

We are using the platform events to deliver the custom lead notifications through apex class. Database.SaveResult result = Eventbus.publish(leads); When the user clicks on the notification message, ...
-1
votes
0answers
8 views

How to query only unlock record in apex which was not locked by the batch ? Or apart from query is there any other way [on hold]

I have a batch which queries lead records and converts it. But if back to back same batch start it's unable to convert some records since it got already converted by another batch. Please suggest a ...
0
votes
1answer
17 views

Apex method to count most used words [on hold]

I have written the method below to find the most used words in a string. It seems a little long, maybe there's a better way to do this ? public String[] getMostUsed(){ List<String> parts =...

15 30 50 per page