Questions tagged [force]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 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 ...
user avatar
  • 165
0 votes
0 answers
24 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. ...
user avatar
  • 1,410
0 votes
0 answers
38 views

How to retrieve and pass lookup record id

I'm currently overriding the edit button with the lightning record edit component for a custom object named 'Schedule' which has a lookup relationship with the lead record. My requirement is to get ...
user avatar
  • 1,410
0 votes
0 answers
494 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/...
user avatar
0 votes
0 answers
82 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 ...
user avatar
1 vote
1 answer
673 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://...
user avatar
  • 11
0 votes
1 answer
110 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 qwerty@mycompany.org to find proper id ...
user avatar
  • 25
0 votes
1 answer
59 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 ...
user avatar
1 vote
0 answers
198 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....
user avatar
-2 votes
1 answer
199 views

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

Like AWS, does salesforce provide autoscaling?
user avatar
0 votes
1 answer
57 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 ...
user avatar
0 votes
1 answer
579 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 ...
user avatar
  • 51
0 votes
1 answer
510 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 ...
user avatar
  • 771
7 votes
1 answer
278 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 ...
user avatar
6 votes
2 answers
1k 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 ...
user avatar
2 votes
2 answers
3k 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 ...
user avatar
  • 3,167
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 ...
user avatar
0 votes
1 answer
71 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.
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:...
user avatar
  • 1,107
1 vote
0 answers
102 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....
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", ...
user avatar
-2 votes
1 answer
117 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 ...
user avatar
0 votes
0 answers
180 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 ...
user avatar
  • 185
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 ...
user avatar
1 vote
2 answers
1k 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? ...
user avatar
1 vote
1 answer
131 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. ...
user avatar
1 vote
2 answers
444 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 ...
user avatar
5 votes
0 answers
112 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:...
user avatar
  • 33.5k
2 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 ...
user avatar
  • 33.5k
0 votes
1 answer
188 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 ...
user avatar
  • 389
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.
user avatar
  • 389
1 vote
2 answers
296 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 && ...
user avatar
  • 389
1 vote
1 answer
38 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 ...
user avatar
  • 389
0 votes
2 answers
61 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 ...
user avatar
  • 389
1 vote
3 answers
103 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 ...
user avatar
  • 389
1 vote
1 answer
72 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 ...
user avatar
0 votes
1 answer
89 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; ...
user avatar
  • 389
2 votes
0 answers
133 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. ...
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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 131
2 votes
1 answer
214 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 ...
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.
user avatar
3 votes
1 answer
11k 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 ...
user avatar