Hot answers tagged

10 votes
Accepted

Lightning rerender a force:recordView

As of Summer '15 this component still has server-side dependencies that prevent it from updating as desired. You will need create the component in JavaScript to achieve the desired result. Here's a ...
user avatar
  • 2,560
7 votes
Accepted

Get Lightning Web Component (LWC) definition on a describe

LWC was introduced in latest release - Spring '19 and it's API number is 45.0 so if you describe your metadata using 44.0 MDAPI won't be able to see those components. You need to change "-a" parameter ...
user avatar
7 votes

Visual Studio Setup with Salesforce CLI for M1 Mac

The error message you got is helpful here, and tells you what to do. There was recently (October 22, 2020, CLI 7.77.1+, according to the release notes) a change made to the CLI to reorganize some ...
user avatar
  • 49.4k
5 votes
Accepted

Need help with NOT function

The last value in the case is the "default value", in other words, for any value not already in the case statement. Therefore, it should look like this: CASE(Lead_Source__c, "Self Generated", ...
user avatar
  • 438k
4 votes
Accepted

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

Ya, this is most likely from the CLI upgrade, and installing the plugin again probably won't help. It might be because your alias contains .'s in it which I didn't think worked in v6 either. Can you ...
user avatar
  • 593
3 votes
Accepted

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

Idea has been created regrading the Callback method for force:createRecord event to redirect or refresh after save:- https://success.salesforce.com/ideaView?id=0873A0000003V4hQAE You have to go for ...
user avatar
3 votes

Does salesforce provide autoscaling feature in cloud solution?

The Force.com platform is not a general-purpose containerized cloud service, like AWS or Heroku. As such, autoscaling does not apply with the same meaning to Salesforce CRM/Force.com. As a platform-...
user avatar
  • 87.3k
3 votes

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

It may wont work properly because of lightning out behavior Excerpt from bookshelf. While the core Lightning Out functionality is stable and complete, there are a few interactions with other ...
user avatar
  • 7,585
3 votes

difference between community Licence and Force licence

Community Users are derived from your contacts and Community license has access to only to certain objects and will not have access to the Opportunity , Leads and Campaigns Similarly partner license ...
user avatar
2 votes

Why is Force.com aimed at employees?

The platform in and of itself is not customer-averse. However, you probably don't want to buy all your customers a license, nor do you want to give them too much data access. Take a look at Community ...
user avatar
  • 143k
2 votes

What to do when Formula Field is too big to compile

If you're already using a trigger on the object for other purposes, consider using a trigger to do the heavy lifting. Otherwise, go for either a Process Builder or Workflow Field Update. The reason ...
user avatar
  • 438k
2 votes
Accepted

Salesforce Workflow Rule

You can use this formula to be evaluated as rule criteria: EventDate__c = TODAY() It will work.
user avatar
2 votes
Accepted

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

force:createRecord opens a page to create a record for the specified entityApiName, for example, "Account", or "myNamespace__MyObject__c". To display the record create page for an object, set the ...
user avatar
1 vote
Accepted

Unable to add a new Force Project on Eclipse IDE

You should not really use Eclipse as its support will be completely ended by October 12, 2019 - in about 1 month. Force.com IDE is in a maintenance-only state. We still provide support for the ...
user avatar
1 vote

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

This error can be caused if you have a -meta-xml.cls file without the corresponding source file.
user avatar
  • 11.1k
1 vote
Accepted

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

Issue was due to case sensitive nature of lightning only.It got resolved when I used recordTypeId instead of RecordTypeId
user avatar
1 vote

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

The minimum value for duration is 5000ms. If you gave value less the 5000ms value will be taken as 5000ms. https://developer.salesforce.com/docs/component-library/bundle/force:showToast/specification
user avatar
1 vote
Accepted

What happened to Force.com editions

Current Salesforce User license information can be found by the following links: User Licenses Standard User Licenses
user avatar
  • 3,054
1 vote
Accepted

Currency Type is not showing up on my Visual Force Page

In order to show the currency I believe you have to use and output field <apex:outPutField value="{!Purchase_Order__c.Total__c}"/>
user avatar
  • 53.2k
1 vote

Force IDE Can't login to production account

Assuming all values are correct then it is possible the profile has Login IP Ranges defined: Login to production via the UI. Goto the profile associated with your user Look at the "Login IP Ranges" ...
user avatar
  • 53.2k
1 vote

Lightning Components: How to refresh force:recordEdit after saving

As far as I was able to see, the only way of refreshing the component is to recreate dynamically with $A.createComponent() I'm still looking for better alternatives.
user avatar
  • 33.7k
1 vote

Salesforce Workflow Rule

You have to create Workflow rule with time-dependant action to trigger it when EVENT DATE equals Today (this could be a Field update that will trigger your Workflow rule). You have to check 'Re-...
user avatar
  • 3,054
1 vote

Why is Force.com aimed at employees?

I think it's brandability driven. Salesforce and Salesforce1 (mobile app) aren't super-brandable, so it's easier for a company to ask its employees to use Salesforce than to ask your customers to. ...
user avatar
1 vote
Accepted

Use a trigger or advanced formula field?

Too much to put into a comment, but here are some notes: If you are writing a formula for the Commission_Percentage__c field, it should not contain any references to the field's own API Name (...
user avatar
  • 143k
1 vote

Use a trigger or advanced formula field?

I'm in agreement with Anurag A, use out of the box whenever you can. In addition, you may want to look into using CASE instead of the nested if's. It makes the formula much easier to read and debug ...
user avatar
  • 11
1 vote

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

Use rendered attribute in your outputText to show and hide your field. <apex:outputText value="{!Product_Brief__c.Name}" rendered="{!IF(Product_Brief__c != NULL && Product_Brief__c.Name != ...
user avatar
1 vote
Accepted

Dynamically add page block on button click

You can use apex:repeat with a list to generate as many Page Blocks as you like. The code below will display a button called "Add Section". One new page block will be added every time you click on the ...
user avatar
  • 1,510
1 vote

Dynamically add page block on button click

Hope this example helps you <apex:page controller="TestMyPage" > <apex:form > <apex:pageBlock id="block"> <apex:pageBlockSection title="Section 1" ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible