Questions tagged [force]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
1k views

Replace Due Date with Completed Date/Time field at Activity History

Is it possible to add Completed Date/Time to Activity History on the layout instead of Due Date? Normally, the Due Date is displayed on the Activity History Page, with the order descending from the ...
lochana's user avatar
  • 27
0 votes
1 answer
25 views

Why is it asking for a log-in? [closed]

i want to implement payment in salesforce billing and the requirement is that user Without logging into Salesforce make payments on their invoice. I implemented the following solution from the "...
tanuj23199's user avatar
0 votes
1 answer
2k views

Lightning component modal window with fixed size and proper closing buttons

I want to use a salesforce modal window using a lightning component, fixing its size to 90% width AND height of the screen to display larger content (a pdf preview). The standard modal component seems ...
HeXor's user avatar
  • 215
0 votes
0 answers
176 views

Force:record is returning null results

I'm overriding an edit button on a custom object named schedule, which has a lookup relationship with the lead object. But when I try to lead fields through force:recorddata is returning null values. ...
Pavan tej's user avatar
  • 1,439
0 votes
0 answers
749 views

force:source:deploy : only error "Unknown"

After a branch merge, while deploying to an org or trying to create a new scratch org, I also see the same following error "unknown" sfdx force:source:deploy -x /tmp/sfdx-hardis-1g1ugd/...
Nicolas Vuillamy's user avatar
0 votes
0 answers
327 views

"Managed Packages", can we integrate with these with an API?

A client has a web app which is built on the salesforce platform. They used custom objects and managed packages that are unique to a particular domain. The client would like us to integate using APIs ...
David W's user avatar
1 vote
1 answer
876 views

Visual Studio Setup with Salesforce CLI for M1 Mac

Getting a below error message while using the command "Authorise and Org" Starting SFDX: Authorize an Org 18:34:11.754 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://...
Rohan's user avatar
  • 11
0 votes
1 answer
306 views

Yaml variable to store result of sfdx command

Throughout execution yaml file for CI/CD process in GitLab I am using sfdx force:data:soql:query -q "SELECT id FROM UserRole where name='CER' " -t -u [email protected] to find proper id ...
SFguru's user avatar
  • 25
0 votes
1 answer
225 views

Sobject tree parent field update

I have a child record called Order, Account is Parent of Order. I am trying to insert a Order via sObject tree and at the same time I am trying to update its parent field but it throwing an error, any ...
Pankaj Mishra's user avatar
1 vote
0 answers
580 views

Get force.com site URL in Custom Formula Fields

Trying to populate the Site URL in Custom Field. Eg: siteUrl/ RecordId For this, I created New Custom setting and added the value in that filed and accessing the URL as below. $Setup....
SFDC_Beginner's user avatar
-2 votes
1 answer
369 views

Does salesforce provide autoscaling feature in cloud solution? [closed]

Like AWS, does salesforce provide autoscaling?
Manoj Patil's user avatar
0 votes
1 answer
73 views

How to include reminder in custom visualforce page with apex class

I am working on a visualforce page with custom pop & other requirements. But I am not able to include the Follow up time field. Now I am able to include remainderset checkbox. But how to add the ...
Balaji karthik's user avatar
0 votes
1 answer
652 views

Unable to add a new Force Project on Eclipse IDE

I am trying to take Metadata backup from a sandbox before refreshing it, I used to take this metadata backup using Eclipse Force IDE on other computer and now I have a new one and I have installed ...
Abby's user avatar
  • 51
0 votes
1 answer
768 views

RecordType selection list not available in $A.get("e.force:createRecord")

I'm trying to create a Contract from an Opportunity record via $A.get("e.force:createRecord") but it's not displaying RecordType selection list. User has access to two different RecordTypes so it ...
molinet's user avatar
  • 877
7 votes
1 answer
379 views

Get Lightning Web Component (LWC) definition on a describe

I need to describe a Salesforce Org that contains LWC, but the JSON obtained with the command: sfdx force: mdapi: describemetadata -a 44.0 -u username does not define me the LWC that should be ...
xxpls97xx's user avatar
6 votes
2 answers
2k views

Unusual error when I try to sfdx force:source:convert

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error. VS Code, latest version; sfdx extensions, latest versions. I want to convert my source to ...
PatMcClellan__c's user avatar
2 votes
2 answers
4k views

ERROR running force:source:push: No org configuration found for name

Not sure why this stopped working but all of the sudden sfdx forgot my org configuration. I pulled down the latest changes from the master branch and went to push them into my checked out branch and ...
Olivia's user avatar
  • 3,431
0 votes
1 answer
1k views

I want to set record type while creating record in lightning component through e.force:createRecord. But I am not able to do so

I want to set record type while creating record in lightning component through e.force:createRecord. But I am not able to do so. I tried using custom label and even I tried hardcoding still It is not ...
Sharmila's user avatar
0 votes
1 answer
75 views

What is the purpose/example for force:navigateToReactNativeApp event?

I'm wondering the idea behind this as I don't understand which kind of situation you will use this. More info here.
danigonlinea's user avatar
1 vote
1 answer
3k views

Callback after the record was created using e.force:createRecord

Are there a way to add callback after the user created a record and clicked the Save button? I am using a custom tab and custom components and open the Create a record modal window using e.force:...
iloveseven's user avatar
  • 1,105
1 vote
0 answers
119 views

Unable to set Null to any dateType field to Salesforce using Force.com

I have tried the below code. This works when I assign some valid date to the field (of Date Type), but unable to set null to it : var auth = new AuthenticationClient(); await auth....
CuriousBuddy's user avatar
5 votes
1 answer
2k views

How to create a timed fade out message using force:showToast

So this is pretty simple to create. I have the code: showMessage : function(){ var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({ mode : "dismissable", ...
Nicolas O's user avatar
-2 votes
1 answer
177 views

What happened to Force.com editions

I don't know if this topic has been already discussed here, or if this is the right place to be discussed. I would like to ask for an explanation what is exactly Force.com platform is and are there ...
R.Paunova's user avatar
0 votes
0 answers
260 views

CTI Logout User

We use CTI (with adapter). The adapter is configured to logout users when no activity for 30 minutes (management doesn't want to change this setting) The issue we're running into is some users ...
user20719's user avatar
  • 195
2 votes
0 answers
2k views

How to show help text on hover in lightning component?

I have used force:recordView to display the record detail in lightning component.I am not getting help text option over there. Do I need to do some additional work for that.I have confirmed through ...
saurabh gupta's user avatar
1 vote
2 answers
2k views

force:inputField does not work in lightning component rendered on VF page

I got very simple lightning component that works fine as quick action but when I place the component on VF page it does not render properly. I am not sure why it would add loading spinner on VF page? ...
Mitesh Sura's user avatar
1 vote
1 answer
196 views

Currency Type is not showing up on my Visual Force Page

Multi Currency is turned on in my org.  I have a Visual Force Page with a Currency Field on it but the Currency type is not showing.  The page needs to show if the amount is in GBP, USA, HKD, AUS etc. ...
Mary Clevidence's user avatar
1 vote
2 answers
465 views

Force IDE Can't login to production account

I'm getting killed by this bug. I can log into my developer account and my sandbox account from Force IDE. When I try to log into the production account I get the following error: Unable to ...
Charlie Youakim's user avatar
3 votes
0 answers
122 views

Lightning Component: Why component.find() does not find a dynamically created component? [duplicate]

SIMPLIFIED EXAMPLE I want to find the dynamically created component "test2": Markup <aura:component access="global" implements="flexipage:availableForAllPageTypes,force:hasRecordId,force:...
Uwe Heim's user avatar
  • 28.3k
0 votes
3 answers
4k views

Lightning Components: How to refresh force:recordEdit after saving

I have a Lightning Component displaying a force:recordEdit on a flexipage. The flexipage itself is used to display a Contact View. Now my lightning component should add a recordEdit for the ...
Uwe Heim's user avatar
  • 28.3k
0 votes
1 answer
252 views

How to connect Salesforce to Quickbooks?

I am wondering is there a way to connect Salesforce with Quickbooks for free. I have seen a few applications that do the job however, they are just trails and must be bought. Is there any way that I ...
Alias311's user avatar
  • 399
1 vote
3 answers
67 views

Salesforce Workflow Rule [closed]

I am new to salesforce and I was wondering how could you set the rule criteria to be evaluated when the current date is equal to chosen date in the EVENT DATE field in the opportunity object.
Alias311's user avatar
  • 399
1 vote
2 answers
703 views

Need help with NOT function

Hi I am a beginner at apex coding and salesforce. Here is my code that I would like to use the NOT() function. CASE(Lead_Source__c, "Self Generated", IF(Markup__c >= 0 && ...
Alias311's user avatar
  • 399
1 vote
1 answer
47 views

What to do when Formula Field is too big to compile

So I am having a problem. I already have written a formula for a field that I would wish to calculate. But the problem is that the I can't add any more code to that Formula field because then it gives ...
Alias311's user avatar
  • 399
0 votes
2 answers
71 views

Formula is to big to execute...What else can I use to write a formula for a field

Hi I am just wondering if I wanted to write a formula that computes a number for specific field, how else can I go about doing this? I am currently using the advanced formula section for the field and ...
Alias311's user avatar
  • 399
1 vote
3 answers
108 views

Use a trigger or advanced formula field? [closed]

I am new to Apex programming and salesforce. I just want to know if I want a field to have a lot conditions; should I do that in the advanced formula section or should I create a trigger. Basically, I ...
Alias311's user avatar
  • 399
1 vote
1 answer
81 views

difference between community Licence and Force licence

I have a special question this time. in our organization, there is some data (visualforce Charts with buttons to change some fields), and we want to make this data not just visible to a group of ...
Merabti iBRAHIM's user avatar
0 votes
1 answer
109 views

Automate Commission Field For Each Opportunity

guys I am a beginner to apex coding in salesforce. I want a guide on how to automate a commission's field for every opportunity that I have. However, there are factors to calculating the commission; ...
Alias311's user avatar
  • 399
1 vote
0 answers
136 views

VF TabPanel activeTabClass and disabledTabClass not working

Using the attached example code, none of the classes seem to work. If I look carefully when the page loads the TABS are coloured but then some code or SF style sheets switches my tab colours off. ...
skiesnpies's user avatar
2 votes
2 answers
103 views

Why is Force.com aimed at employees? [closed]

I am new to Salesforce and am reviewing it for an organisation who are planning to build a customer-facing application. I notice in several places in the Salesforce marketing material that Force.com ...
DatsunBing's user avatar
0 votes
1 answer
27 views

How to Sign up for Force Platform User Licence

When I hit the Force.com URL and sign up for a 30 day trial - I was given a Salesforce user licence subscription. However, I only wanted a Force platform user licence. How do I ensure that I have a ...
Tickle Me's user avatar
  • 131
2 votes
1 answer
243 views

How to show a field when user click on save button?

I have a standard field called Product Brief Number ({!Product_Brief__c.Name}). This field is Auto Number, after saving it will generate a number. I want show this field when some after click on ...
Suneth's user avatar
  • 338
3 votes
3 answers
4k views

Dynamically add page block on button click

How to add Dynamically page block on button click.? pleas can any one help me. thanks In Advance.
Parth Thakkar's user avatar
3 votes
1 answer
12k views

Lightning rerender a force:recordView

I've got a page that has a search box; selecting a result sets {v.id} Underneath all that, I've got these two outputs: <force:recordView recordID="{!v.id}" type="MINI"/> <ui:inputText ...
Shane McLaughlin's user avatar