All Questions

0
votes
0answers
4 views

Reload Visualforce page on session lost

Im trying to reload a Visualforce page when session is lost, due to another login, and sessionId created in a different browser tab. I have code that makes constant calls to the controller methods, ...
0
votes
1answer
17 views

Platform Events and Transaction

I want to trigger an Event from Apex Trigger, but since Platform event cannot be rollbacked, is there a way to publish it only when the transaction is successfull?
2
votes
0answers
13 views

Is it possible to re-import the result of a SOQL query without writing code?

When working with SFDX, we hit the wall using sfdx force:data:tree:export which failed when we had lookups and master-detail relationships. We had to resort to writing some custom code to ensure we ...
-1
votes
0answers
15 views

Display list with combinations in visual force page before saving the record

I have a requirement, Suppose in visual force page these is a text box has a,b,c,d values display these values in rows like A-B,B-C,C-D,D-A before saving the record
0
votes
1answer
26 views

Trailhead : Lightning Web Components basic error when deploying

Can't create lightning component bundle if there is already an aura definition bundle with the same name and namespace. Cannot find Lightning Component Bundle paginator. force-app\main\default\...
1
vote
0answers
20 views

How to query for lightning-combox items in a lwc-jest test?

I can reference a collection of p tags in lwc-jest, but am not able to do so for a lightning-combobox's items. This gives me values: const cats = element.shadowRoot.querySelectorAll('p'); expect(...
1
vote
1answer
18 views

How to get Community Url in a Visualforce email template

Background I would like to display the Community Url within a visualforce email template. Standard templates use: {!Community_Url} But I cannot find an equivalent field for visualforce email ...
0
votes
1answer
29 views

Issue with REST API in Production

We have a mobile app(Not Salesforce1) where the data is pulled from Salesforce using REST API. The basic functionality of the app is to return GranChild records when any Search Term is entered in ...
0
votes
1answer
17 views

How do we set up the subscriber key in Marketing Cloud

I am new to Marketing cloud and recently started working on it.I have Service cloud org where i have my contact data.Now i want to connect my service cloud with marketing cloud Org.For this i Used ...
0
votes
1answer
25 views

How to generate pptx files with the VisualForce page and Apex Controller

Unable to open the generated file in OpenOffice unfortunately. My requirement is to generate a ppt file using dynamic data from Salesforce. Here is my snippet of Visualforce Page. <apex:page ...
0
votes
2answers
20 views

Marketing cloud sub-domain

How i can find the sales-force Marketing cloud sub-domain ? I was trying to use the sub domain for API call purposes but i am not able to find the sub-domain.
0
votes
2answers
36 views

Dynamically set columns on pageBlocksection and pageBlockSectionItem?

Page : <apex:page id="ContactDetails" extensions="ContactsController" standardController="Case"> <script> function showFieldsOnClickAction() { showFieldsAction();...
0
votes
0answers
13 views

Creating a Pie Chart In an Opportunity

We'd like to build a pie chart that can be displayed on the Opportunity Page Layout that calculates the following: Custom Field 1 + Custom Field 2 + Custom Field 3 = Amount I imagine we would start ...
0
votes
1answer
20 views

Help creating process builder or trigger for updating task created from Opportunity

Happy Friday. I am trying to create a trigger to map fields from an opportunity to the task that was created from it.  The Related to field will be populated with the Opporunity name, but I cant seem ...
0
votes
1answer
37 views

Queueable Apex in a Before Trigger

I am attempting to create logic that, on Contact record insert or update, will compare the Phone value of the record to another reference object and conditionally populate a checkbox as a result of ...
1
vote
1answer
14 views

How to validate a encrypted field

on the best practice section of this documentation: https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/fields_about_encrypted_fields.htm it says: You can ...
1
vote
1answer
22 views

Lightning action(Email & Task) buttons not showing on Lead

I have the following configuration set and still Email and Task buttons not showing in the chatter lightning Lead Object: 1- Deliverability = All Emails 2- Task Has a record type 3- Feed Tracking ...
0
votes
2answers
31 views

Sendable DE Column passed as String Parameter in CloudPage URL

We are working on implementing APP Inbox messages. When we create an Inbox message in MobilePush studio it generates a CloudPage URL. I am looking for editing this auto-generated CloudPage URL to ...
0
votes
0answers
7 views

Identify Last Created Email Related to Case (Received or Sent)

I am trying to identify the last (most recently created) email related to a specific case. My purpose is run queries on cases and then for related emails and only show the last created email related ...
0
votes
2answers
31 views

Error when trying to show Toast from lightning out through Site

I get this error on the bottom of the page when trying to show a toast message This page has an error. You might just need to refresh it. Error in $A.getCallback() [$A.getEvt(...) is undefined] ...
0
votes
0answers
10 views

How to activate the FFA Billing Contract status in test class

I have installed FFA Accounting package in my org and now i have write some code on that, so when i tried to write the Test class so in my condition i want billing contract as active, but when i set ...
2
votes
1answer
26 views

Error not bubbling up from delete trigger

I need to prevent deletion of our dummy account, which is part of the Lead conversion process under certain conditions. And it does prevent deletion. However, the error I am adding to the account ...
1
vote
0answers
26 views

Need to reconfigure Process builder formula

Person Accounts is enabled Have multiple record types on Accounts (a few for 'Accounts' and a few for 'Person Accounts' They have an old process that was implemented, but we re-architected the ...
0
votes
0answers
5 views

How to add a Send Email Activity to an Automation with FuelSDK-Python?

I unable to associate an Email Send Activity when creating an automation in Fuel-SDK Python. Below is my props dictionary setup. When posted the Automation is created but there is no Send Email ...
0
votes
1answer
20 views

How to Import Data from Publication list to a Data Extension Automatically

I have data stored in Publication lists, and I want to import this data into a data extension automatically. How and what method will be useful to achieve this?
2
votes
1answer
31 views

Where is the Data Import Wizard Error Log

I am using Salesforce Professional Edition. I am trying to locate the data import wizard log file. Can someone point me in the right direction? I have import errors and want to see what they are.
1
vote
1answer
27 views

Unable to setup custom javascript detail page button

I am working on detail javascript button in the lead object. But now I am facing the below issue. Javascript code: {!REQUIRESCRIPT("/soap/ajax/30.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/24.0/...
0
votes
0answers
8 views

Heroku ps:exec cannot connect or ssh into dyno

heroku ps:exec -a homehost-demo Establishing credentials... error ▸ Could not connect to dyno! ▸ Check if the dyno is running with `heroku ps' running ps returns Free dyno hours quota ...
0
votes
0answers
9 views

Help Text on a Configuration Attribute in CPQ Line Editor

I am trying to accomplish what I think would be a simple task. Is it possible to add help text of some sort to a configuration attribute in the line editor of Salesforce CPQ?
0
votes
0answers
6 views

SDK SOS version to use for App Android 8.1.0?

We are a Salesforce customer on behalf of a large group in the banking industry, we opened a ticket with the salesforce support who guided our team in charge of the salesforce Mobile section.   For ...
0
votes
1answer
17 views

LC build attribute name on run time

Can we dynamically build attribute name on run time in the lightning component? Use case- <aura:iteration items="{!v.attributeA}" var="key"> {!v.attributeB + "!key" + .length} </aura:...
1
vote
0answers
15 views

Lightning Runtime Flow URL retURL to any page on salesforce is broken because of CORS

CORS Error: CORS: No 'Access-Control-Allow-Origin' header is present on the requested resource. Access at XMLHttpRequest at 'https://domain-dev-ed--c.na94.visual.force.com' from origin 'https://...
2
votes
1answer
13 views

How to update child in Master-Detail relationship with REST API?

I have a Master-Detail relationship with Accounts and Locations. I am able to create the child using upsert, but when I try to update the Account__c field I get (INVALID_FIELD_FOR_INSERT_UPDATE: ...
1
vote
0answers
24 views

Lightning Component UI switch back to old code

Almost every day the LC I am building in a developer sandbox start showing the old version of the code. Then I have to wait 30 mins or so, for it to start reflecting the new code. The LC is embedded ...
0
votes
1answer
23 views

Trigger is only updating one record per batch

I have a trigger that creates an AccountTeamMember object every time there is an update to an Account_Ownership__c object (this is a custom object that we've created in house to act more in line with ...
-1
votes
0answers
37 views

Calling Tooling Api From Apex with Named Credentials,Auth,Connected App

We need to get some custom field ids thru apex - we are doing it by the tooling api - but this needs to run from the admin user because of the permissions View Setup and Configuration. We cant use ...
0
votes
1answer
24 views

How to See Scheduled Job Run History

I have a scheduled job that is supposed to run every night at midnight. Recently users have said that the job didn't run; however this is sporadic, some nights it works and others it doesn't. Is ...
0
votes
0answers
17 views

Replace null values in JSON

I'm using a compare table and some values in my datasets doesn't exists. So when I'm trying to calculate the percentage between two rows I got no values. For example I got this image : In the forst ...
0
votes
1answer
15 views

Launch Flow from Button in Lightning Community - “down for maintenance” error

Summary: I'm getting a "down for maintenance" error in my Lightning community when I click a custom button that launches a screen flow to create a user from an existing contact. The button works in ...
0
votes
0answers
9 views

Can you confirm the SDK SOS version to use?

We have opened leticket 22464515 with Salesforce Support because of the bug encountered in the Android General Company mobile app that crashes the app. After analysis, we found that this bug in the ...
2
votes
0answers
19 views

Yes/Maybe/No buttons not appearing for ICS calendar visualforce email attachment

Background I am using <messaging:attachment to generate a .ics calendar invite as an attachment as part of a visualforce email template. <messaging:attachment filename="invite.ics" renderAs="...
1
vote
1answer
24 views

How to deploy a lightning community alongwith its standard pages between orgs

We have a lightning community that is made up of standard pages(Blank standard pages). I want to deploy this community along with all its properties(most importantly pages) from one sandbox to other. ...
0
votes
0answers
16 views

Assign home page in a lightning app in managed package

I have managed package with its own app. I want to assign a lightning page as the home page of that app. How can we set it up?
0
votes
0answers
23 views

Date Formula Field

I am tryging to solve for following: Update revalidation Due date (formula field) which on Enrollment object based on risk score field of provider object (contact), risk score field of Org object (...
0
votes
1answer
22 views

Distributed Marketing Tracking Data in Sales Cloud

We are using Distributed Marketing to send emails. But we want tracking to be visible in sales cloud. Anyone has any idea how to get tracking data in Sales cloud? Thanks
0
votes
1answer
28 views

Is it possible to create a user from one Org to another automatically?

I am trying to Create an Org to manage all of the user records for a POC. So from my POC org I have an Object called People (can also be the user record) and have a related list called Org Access (...
0
votes
0answers
17 views

PDF Page break and Adding footer line

Hi please help me how to fix this <style type="text/css" media="print"> @page { margin-left: 1cm; margin-right: 1cm; margin-top: ...
0
votes
1answer
20 views

AuraEnabled returning success records instead of failed records

I have apex AuraEnabled function which is inserting records for a junction object, however due to some validation rules, some of the records may get failed. So I have a solution to maintain a list of ...
0
votes
2answers
44 views

How to get the response data in @future(Callout=true)

I need to catch the response of a callout method and insert it into a database. But what the problem is, the callout method called from a trigger. Therefore, I have to add the annotation @future(...
1
vote
0answers
17 views

How do I update record of DataExtension in Marketing Cloud (ExactTarget) and trigger a push notification if certain criteria are met?

I need to understand if this is possible to implement the following flow in Marketing Cloud. A User opens mobile app and performs some action. A new record to custom object ( I guess to custom ...

15 30 50 per page