• Li Lee
  • NEWBIE
  • 100 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 22
    Questions
  • 20
    Replies

Hi all, 

I post issue at Salesforce Stack Exchange, link as follow: https://salesforce.stackexchange.com/questions/384077/lighting-app-builder-throw-error-component-xxx-has-an-invalid-value-for-property

I really hope someoen can answer my questions or share some document about it. 
 

Thanks.

  • August 29, 2022
  • Like
  • 0
Hi all,
In my Apex code, I have follow SOQL
SELECT ID FROM Publisher Order By ID
In API 49 I can run this SOQL, bug upgrade to API 54 it will throw "column Id is not supported in ORDER BY clause" error message.
We use Salesforce Manufacturing Cloud for our business. We create a VF page show SalesAgreementProductSchedule record and edit those records.
To get and update records, we use JavaScript Remoting.During test, we found follow weird behavior in Salesfoce.
If we send SalesAgreementProductSchedule like { PlannedQuantity: 48, ID: 0YC8b0000008SDiGAM }, Salesforce Database.update throw error and we can not update this record. But if we put ID at first field in record like { ID: 0YC8b0000008SDiGAM, PlannedQuantity: 48 } we can success update this record.
I want to ask you why cause this behavior? Is there any document about it?
Hi all,

We has an object with more 50000 records, in this object Name field is auto number. Display all data on the page no good experience for read, so we create a paging element split these records in serval pages, in our design we show 2000 records in on page.

When we test this page we found duplicated records display in diference page. After research we found in SOQL same record in LIMIT 2000 and LIMIT 4000 will have different index.

This is our test code:
 
Integer index1 = 0;
for(Member__c member : [SELECT ID FORM Member__c WHERE Industry__c = 'Bank' OR Industry__c = 'Stock' OR Type__c = 'Futures' LIMIT 2000]) { 
	if(String.valueOf(member.Id) == 'a0D5e00000EXpOmEAL') { 
		break;
	}
	index1++;
}
System.debug('LIMIT 2000');
System.debug(index1);
Integer index2 = 0;
for(Member__c member : [SELECT ID FORM Member__c WHERE Industry__c = 'Bank' OR Industry__c = 'Stock' OR Type__c = 'Futures' LIMIT 4000]) { 
	if(String.valueOf(member.Id) == 'a0D5e00000EXpOmEAL') { 
		break;
	}
	index1++;
}
System.debug('LIMIT 4000');
System.debug(index2);
In Apex Log we get follow result:
LIMIT 2000
1248
LIMIT 4000
2249

Then we change LIMIT 2000 to LIMIT 6000, the Log result as follow:

LIMIT 6000
2249
LIMIT 4000
2249

Also we found if we remove WHERE seen this issue disappeared. This issue only observed with SOQL query with WHERE. And if we query all records at once, we can't reproduced this issue too.

We been search Salesforce SOQL Help document by serval days, we don't found any detail about how SOQL result order, and how LIMIT and WHERE effect query result's order. I want to ask you about does Salesforce has such document? Is Limit 4000 some kind of special value in Salesforce? Why WHERE effect query's order?
  • March 25, 2022
  • Like
  • 0

Hi all,

We want to get notifications information from Salesforce in our VF component. 

After search we found Streaming API and REST API can get notifications information. But both of them have issue.

For Stream API:
User-added image
From above image you can see read and seen state always show as false, event I already read and seen it. This is incorrect result.

For REST API

User-added imageUse this API we can get correct read and seen state, but unfortunately, this REST API only can get custom notifications, no system notification result returned by use this method.

Other Found
During research we found we get just call "/ltng/notifications" to get corect notifications result. Please see follow image.
User-added image
But we don't found any Salesforce Official Document about this "/ltng/notifications". 

So  my questions as follow:
1. Is there anyway can let Streaming API get correct read and seen state? 
2. Is there anyway can let REST API get System Notifications?
3. Can you tell me if there are any Salesforce document about "/ltng/notifications" ?
4. Is there any new idea to get Salesforce Notifications?

  • December 22, 2021
  • Like
  • 0
I use SOAP api to get RecordType's information in my VF Page. When I use this VF Page in Experience Cloud with Partner user it will throw "Error 405 Only POST allowed".

Error Message as follow:
 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 Only POST allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /services/Soap/u/40.0. Reason:
<pre>Only POST allowed</pre></p><hr /><br/>
<!-- Body events -->
<script type="text/javascript">function bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken="null";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}</script>
</body>
</html>
I try debug this error and I found it's in Salesforce's "connection.js" file.
User-added image"envelope" value as follow:
<se:Envelope xmlns:se=\"http://schemas.xmlsoap.org/soap/envelope/\">
<se:Header xmlns:sfns=\"urn:partner.soap.sforce.com\">
<sfns:SessionHeader>
<sessionId><--!My SessionId--></sessionId>
</sfns:SessionHeader>
<sfns:CallOptions>
<client><--!My Client--></client>
</sfns:CallOptions>
</se:Header>
<se:Body>
<describeLayout xmlns=\"urn:partner.soap.sforce.com\" xmlns:ns1=\"sobject.partner.soap.sforce.com\">
<sObjectType>Account</sObjectType>
<layoutName xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:nill=\"true\"/>
<recordTypeIds>0125f000000tguIAAQ</recordTypeIds>
<recordTypeIds>0125f000000tgu8AAA</recordTypeIds>
</describeLayout>
</se:Body>
</se:Envelope>
Since Winter 19 I use SOAP api to get RecordType information, and as far as I know, this error never been meet before. I think maybe current Salesforce's update cause this issue.

Another found about this issue is SOAP api works fine when in Visualforce + Tabs type Experience.

Do you have any fix idea about this issue?
 
  • November 02, 2021
  • Like
  • 0

I try use Scope in SQOL to query out all account assigned to account team.

Document Link:

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_using_scope.htm


I take a look above document so I write code like follow in Apex Class:
SELECT Name,Phone,Site,Type FROM Account USING SCOPE team

But I don't get correct result. Please see follow image:

Salesforce Standard "My Account Team" List View

User-added image

My debug result in Develop Console

User-added image

You can see looks like all record been query out in Apex. So I want to ask is there something I misunderstand in this document? Where I can found correct scope value?

  • August 27, 2021
  • Like
  • 0

Hi all,
I was investigating Batch Apex recently. I been little confused by Salesforce document about QueryLocator limit.

In "Execution Governors and Limits (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm#!)", it said: "Total number of records retrieved by Database.getQueryLocator 10,000".
But in "Using Batch Apex (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm)", it said: " For example, a batch Apex job for the Account object can return a QueryLocator for all account records (up to 50 million records) in an org.".

So I want to ask if I code like follow, and my org have 30,000 account, how many account record return from getQueryLocator, 30000 or 10000? If 10000, how to change code to let it return 30000 recors?
 

public class BatchAccountProccess implements Database.Batchable<sObject> {
    
    public Database.QueryLocator start(Database.BatchableContext bc) {
        return Database.getQueryLocator([SELECT ID,Name,Type FROM Account]);
    }
    
    public void execute(Database.BatchableContext bc, List<Account> records) {
	// do my own process
    }
    
    public void finish(Database.BatchableContext bc) {
	// send email.       
    }
}

Hi all,

We want to upgrade our 1GP package to 2GP package, we have some question about move to 2GP package:

  1. Will the new package ID be different from the existing package ID?
  2. Is it possilbe for extisting user to updgrade the package version as usual?
  3. In our package we have some custom objects in our Package, if our customer use 2GP package to upgrade current version, in my understand the existed records in custom object will not been effect right?


Thanks for your help.

Hi all,

I try use Salesforce DX create a Scratch Org and use "sfdx force:org:open" command to open it.

Then I reset password for this user. And success reset it. But I can't use test.salesforce.com to login this Scratch Org, it always show error message: Please check your username and password.

May I ask is there any solution to fixed this issue? 

I found same issue in force.com github but it not helped.
https://github.com/forcedotcom/cli/issues/583 

  • April 06, 2021
  • Like
  • 0
I use Lightning Out to run a Flow in VF Page. In test I found some issue in my demo.
Case 1: Footer Top Border missing
User-added imageCase 2: White Mask show
User-added imageCase 3: Layout maybe broken
I also found some slds css will changed when flow start.
My source code about run Flow
function excuteFlow() { 
        var handleFlowStatusChangeCore = function(event) { 
            closeModalDialog();
        };
        var handleFlowStatusChange = function(event) { 
            var status = event.getParam("status");
            switch(status) { 
                case "FINISHED": 
                case "FINISHED_SCREEN":                        
                    handleFlowStatusChangeCore(event);                        
                    break;
                case "STARTED":
                case "PAUSED":
                case "ERROR":                       
                    break;
            }
        };
        $Lightning.use("c:FlowApplication", function() {
            $Lightning.createComponent("lightning:flow",{"onstatuschange": handleFlowStatusChange }, "flow-modal-content", 
              function (component) {
                 showModalDialog();
                 component.startFlow("Create_Opp", []);
              }                 
            );
        });                
    }
My source code about Lightning Application
<aura:application access="global" extends="ltng:outApp">
    <aura:dependency resource="lightning:flow" />
</aura:application>
In my research I think these issue all related to this app.css. Please take a look follow image.
User-added imageDo you have any idea how to let Salesforce not load app.css?
 
  • March 04, 2021
  • Like
  • 0
Hi All,

I install an unmanged package with lightning component in it. 
I create a Lightning Component Tab in Salesforce Setup Tabs. And this Tab's component is the lightning component in unmanaged package.
I uninstall this unmanaged package, there is no error show and I success uninstall it.
May I ask is this behaivor correct? I remeber when a package compenent used in Salesforce tab, we need delete this tab frist then can uninstall it.
 
  • February 05, 2021
  • Like
  • 0
Hi all,

I try to use Salesforce Tooling API or Metadata API to get Flow metadata information. I check follow salesforce documents: 

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flow.htm
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm

Both of document has a similar description: 

Metadata:
You can’t use Metadata API to access a flow installed from a managed package, unless the flow is a template.

Tooling:
If the flow is part of a managed package this field will be Null. Metadata isn’t returned for flows in managed packages, unless the flows are templates.

I test in develop console please see follow image about result: 

User-added image

User-added image

You can see two flow in managed package and not template can query out, but another flows in managed flow and is template can not query out. It looks not match document's description. 

Please corrected me if I have some misunderstand and share your idea about these. 
  • January 21, 2021
  • Like
  • 0
Hi All,

I use Salesforce API to check Flow's input variables information. In my org I install a managed package which have 2 Flows, each of them has one input variables.

I can get these Flows Metadata info by use Tooling API, but the variables in these Flow always show empty array. 
For unmanaged flow this Tooling API works corrected. I can get flow input variable information.

May I ask is there any way to get input variables information for a flow in managed package?
  • January 21, 2021
  • Like
  • 0
Hi all, 

I want to show a Modal dialog in my aura component, and I find document in Lightning Component Library, here is the link: https://developer.salesforce.com/docs/component-library/bundle/lightning:overlayLibrary/documentation
I follow the code under Display Modal topic. My code as follow: 
Lightning Application
<aura:application extends="ltng:outApp" > <aura:dependency resource="c:ModalComponent"/> </aura:application>
Lightning Component ModalComponent
<aura:component> <lightning:overlayLibrary aura:id="overlayLib"/> <lightning:button name="modal" label="Show Modal" onclick="{!c.handleShowModal}"/> </aura:component>
ModalComponentController.js
({ handleShowModal: function(component, evt, helper) { var modalBody; $A.createComponent("c:modalContent", {}, function(content, status) { if (status === "SUCCESS") { modalBody = content; component.find('overlayLib').showCustomModal({ header: "Application Confirmation", body: modalBody, showCloseButton: true, cssClass: "mymodal", closeCallback: function() { alert('You closed the alert!'); } }) } }); } })
Lightning Component modalContent
<aura:component> <lightning:icon size="medium" iconName="action:approval" alternativeText="Approved" /> Your application has been approved. </aura:component>
Visualforce Page to embed lightning
$Lightning.use("c:TestModalDialog", function() { $Lightning.createComponent("c:ModalComponent", {}, "flow-component-container"); });
But when I check Button it show follow error in Browser console.

User-added image
Please corrected me if my code is wrong and may I ask for any idea how to fixed this? 
 
  • January 13, 2021
  • Like
  • 0
Hi all,

As I as konw IE-11 with Lightning Experience ending 2020/12/31. But today when I login my Org with IE-11, I still can change to Lightning Experience. 

May I asked is this IE-11 Lightning Experience extended again? Or do I missunderstand something? 
  • January 04, 2021
  • Like
  • 0
We want to use the standard lookup search page for lookup field in our own customized component. We will call something in javascript like the following:
javascript: openLookup('/_ui/common/data/LookupPage?lknm=CF00N30000001BYw0&lkfm=editPage&lktp=…’)

We find there are many query parameters in the url such as:
  1. lkfm
  2. lknm
  3. lktp
  4. lkent
  5. Lkfield
  6. lksrch
  7. lkid
Does anybody know if there is any official document to introduce these parameters?
Will these parameters and the url keep be supported in future?
If not, is there any plan for it?
Thanks in advance.
  • December 21, 2020
  • Like
  • 0
Hi all,

I want to use one SOQL to query my own records and all records shared to me. But I don't know how to write this SOQL, do you have any idea how to write this SOQL? 

Thanks for you help.

Best wishes,
Lee
  • October 22, 2020
  • Like
  • 0

Hi all, 

After upgrade to Winter 21, I found Lightning Design System show weird in IE-11. Please see follow image.

User-added imageAnd this is my code.

<apex:page sidebar="false" lightningStylesheets="true" showHeader="false" docType="html-5.0">
    <apex:slds></apex:slds>
    <button class="slds-button">Button</button>
    <button class="slds-button slds-button_neutral">Neutral Button</button>
    <button class="slds-button slds-button_brand">Brand Button</button>
    <button class="slds-button slds-button_outline-brand">Outline Brand Button</button>
    <button class="slds-button slds-button_destructive">Destructive Button</button>
    <button class="slds-button slds-button_text-destructive">Text Destructive Button</button>
    <button class="slds-button slds-button_success">Success Button</button>    
</apex:page>
You can see all SLDS style not work.

I check Winter 21 Release Note and I found "Customize Components with Lightning Design System Styling Hooks (Beta)" update in Lightning Design System. Here is the Link: https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_slds_styling_hooks.htm

In this document I found follow content:

Styling hooks make it easy to customize component styling and express your brand, especially when working with web components and shadow DOM. For a list of component blueprints that support styling hooks, see the Lightning Design System website.

As far as I know IE-11 not support this feature, please see this link: https://developer.mozilla.org/en-US/docs/Web/CSS/var

And I try open Lightning Design System's Button component page in IE-11, but I got a blank area.

User-added image
I also found some error in Browser's console. But I don't know if it related to this case.

User-added image
Since this is a beta function may I ask how to disabled it? Or if this is a knowing issue in Salesforce? 

Best wishes,

Lee

  • October 14, 2020
  • Like
  • 0

Hi all,

I try to update Custom Settings in my sandbox org. And I meet CUSTOM_SETTINGS_LIMIT_EXCEEDED error message.
I found Custom Settings in my Sandbox allow limit is 0MB. Please see follow picture.

User-added imageMay I ask how to resolved this issue? Can I change allow limt for Custom Settings?

Best wishes,

Lee

  • September 25, 2020
  • Like
  • 0
We use Salesforce Manufacturing Cloud for our business. We create a VF page show SalesAgreementProductSchedule record and edit those records.
To get and update records, we use JavaScript Remoting.During test, we found follow weird behavior in Salesfoce.
If we send SalesAgreementProductSchedule like { PlannedQuantity: 48, ID: 0YC8b0000008SDiGAM }, Salesforce Database.update throw error and we can not update this record. But if we put ID at first field in record like { ID: 0YC8b0000008SDiGAM, PlannedQuantity: 48 } we can success update this record.
I want to ask you why cause this behavior? Is there any document about it?
We use Salesforce Manufacturing Cloud for our business. We create a VF page show SalesAgreementProductSchedule record and edit those records.
To get and update records, we use JavaScript Remoting.During test, we found follow weird behavior in Salesfoce.
If we send SalesAgreementProductSchedule like { PlannedQuantity: 48, ID: 0YC8b0000008SDiGAM }, Salesforce Database.update throw error and we can not update this record. But if we put ID at first field in record like { ID: 0YC8b0000008SDiGAM, PlannedQuantity: 48 } we can success update this record.
I want to ask you why cause this behavior? Is there any document about it?
I use SOAP api to get RecordType's information in my VF Page. When I use this VF Page in Experience Cloud with Partner user it will throw "Error 405 Only POST allowed".

Error Message as follow:
 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 Only POST allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /services/Soap/u/40.0. Reason:
<pre>Only POST allowed</pre></p><hr /><br/>
<!-- Body events -->
<script type="text/javascript">function bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken="null";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}</script>
</body>
</html>
I try debug this error and I found it's in Salesforce's "connection.js" file.
User-added image"envelope" value as follow:
<se:Envelope xmlns:se=\"http://schemas.xmlsoap.org/soap/envelope/\">
<se:Header xmlns:sfns=\"urn:partner.soap.sforce.com\">
<sfns:SessionHeader>
<sessionId><--!My SessionId--></sessionId>
</sfns:SessionHeader>
<sfns:CallOptions>
<client><--!My Client--></client>
</sfns:CallOptions>
</se:Header>
<se:Body>
<describeLayout xmlns=\"urn:partner.soap.sforce.com\" xmlns:ns1=\"sobject.partner.soap.sforce.com\">
<sObjectType>Account</sObjectType>
<layoutName xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:nill=\"true\"/>
<recordTypeIds>0125f000000tguIAAQ</recordTypeIds>
<recordTypeIds>0125f000000tgu8AAA</recordTypeIds>
</describeLayout>
</se:Body>
</se:Envelope>
Since Winter 19 I use SOAP api to get RecordType information, and as far as I know, this error never been meet before. I think maybe current Salesforce's update cause this issue.

Another found about this issue is SOAP api works fine when in Visualforce + Tabs type Experience.

Do you have any fix idea about this issue?
 
  • November 02, 2021
  • Like
  • 0

Hi all,

I try use Salesforce DX create a Scratch Org and use "sfdx force:org:open" command to open it.

Then I reset password for this user. And success reset it. But I can't use test.salesforce.com to login this Scratch Org, it always show error message: Please check your username and password.

May I ask is there any solution to fixed this issue? 

I found same issue in force.com github but it not helped.
https://github.com/forcedotcom/cli/issues/583 

  • April 06, 2021
  • Like
  • 0
I use Lightning Out to run a Flow in VF Page. In test I found some issue in my demo.
Case 1: Footer Top Border missing
User-added imageCase 2: White Mask show
User-added imageCase 3: Layout maybe broken
I also found some slds css will changed when flow start.
My source code about run Flow
function excuteFlow() { 
        var handleFlowStatusChangeCore = function(event) { 
            closeModalDialog();
        };
        var handleFlowStatusChange = function(event) { 
            var status = event.getParam("status");
            switch(status) { 
                case "FINISHED": 
                case "FINISHED_SCREEN":                        
                    handleFlowStatusChangeCore(event);                        
                    break;
                case "STARTED":
                case "PAUSED":
                case "ERROR":                       
                    break;
            }
        };
        $Lightning.use("c:FlowApplication", function() {
            $Lightning.createComponent("lightning:flow",{"onstatuschange": handleFlowStatusChange }, "flow-modal-content", 
              function (component) {
                 showModalDialog();
                 component.startFlow("Create_Opp", []);
              }                 
            );
        });                
    }
My source code about Lightning Application
<aura:application access="global" extends="ltng:outApp">
    <aura:dependency resource="lightning:flow" />
</aura:application>
In my research I think these issue all related to this app.css. Please take a look follow image.
User-added imageDo you have any idea how to let Salesforce not load app.css?
 
  • March 04, 2021
  • Like
  • 0
Hi All,

I install an unmanged package with lightning component in it. 
I create a Lightning Component Tab in Salesforce Setup Tabs. And this Tab's component is the lightning component in unmanaged package.
I uninstall this unmanaged package, there is no error show and I success uninstall it.
May I ask is this behaivor correct? I remeber when a package compenent used in Salesforce tab, we need delete this tab frist then can uninstall it.
 
  • February 05, 2021
  • Like
  • 0
Hi all,

I try to use Salesforce Tooling API or Metadata API to get Flow metadata information. I check follow salesforce documents: 

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flow.htm
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm

Both of document has a similar description: 

Metadata:
You can’t use Metadata API to access a flow installed from a managed package, unless the flow is a template.

Tooling:
If the flow is part of a managed package this field will be Null. Metadata isn’t returned for flows in managed packages, unless the flows are templates.

I test in develop console please see follow image about result: 

User-added image

User-added image

You can see two flow in managed package and not template can query out, but another flows in managed flow and is template can not query out. It looks not match document's description. 

Please corrected me if I have some misunderstand and share your idea about these. 
  • January 21, 2021
  • Like
  • 0
Hi all, 

I want to show a Modal dialog in my aura component, and I find document in Lightning Component Library, here is the link: https://developer.salesforce.com/docs/component-library/bundle/lightning:overlayLibrary/documentation
I follow the code under Display Modal topic. My code as follow: 
Lightning Application
<aura:application extends="ltng:outApp" > <aura:dependency resource="c:ModalComponent"/> </aura:application>
Lightning Component ModalComponent
<aura:component> <lightning:overlayLibrary aura:id="overlayLib"/> <lightning:button name="modal" label="Show Modal" onclick="{!c.handleShowModal}"/> </aura:component>
ModalComponentController.js
({ handleShowModal: function(component, evt, helper) { var modalBody; $A.createComponent("c:modalContent", {}, function(content, status) { if (status === "SUCCESS") { modalBody = content; component.find('overlayLib').showCustomModal({ header: "Application Confirmation", body: modalBody, showCloseButton: true, cssClass: "mymodal", closeCallback: function() { alert('You closed the alert!'); } }) } }); } })
Lightning Component modalContent
<aura:component> <lightning:icon size="medium" iconName="action:approval" alternativeText="Approved" /> Your application has been approved. </aura:component>
Visualforce Page to embed lightning
$Lightning.use("c:TestModalDialog", function() { $Lightning.createComponent("c:ModalComponent", {}, "flow-component-container"); });
But when I check Button it show follow error in Browser console.

User-added image
Please corrected me if my code is wrong and may I ask for any idea how to fixed this? 
 
  • January 13, 2021
  • Like
  • 0
public class GetSetDemo 
{
Private Integer AccountBalance;
     public integer getAccountBalance()
   {
       Return AccountBalance;
   }
   
       public Void setAccountBalance(Integer AccountBalance)
       {
       
           this.AccountBalance=new AccountBlance;
       }   
}


If i am going to save this compiler shows the error like Unexpected token ";"
Why this error how can we acheive this.?
Hi all,

As I as konw IE-11 with Lightning Experience ending 2020/12/31. But today when I login my Org with IE-11, I still can change to Lightning Experience. 

May I asked is this IE-11 Lightning Experience extended again? Or do I missunderstand something? 
  • January 04, 2021
  • Like
  • 0
We want to use the standard lookup search page for lookup field in our own customized component. We will call something in javascript like the following:
javascript: openLookup('/_ui/common/data/LookupPage?lknm=CF00N30000001BYw0&lkfm=editPage&lktp=…’)

We find there are many query parameters in the url such as:
  1. lkfm
  2. lknm
  3. lktp
  4. lkent
  5. Lkfield
  6. lksrch
  7. lkid
Does anybody know if there is any official document to introduce these parameters?
Will these parameters and the url keep be supported in future?
If not, is there any plan for it?
Thanks in advance.
  • December 21, 2020
  • Like
  • 0

Hi all, 

After upgrade to Winter 21, I found Lightning Design System show weird in IE-11. Please see follow image.

User-added imageAnd this is my code.

<apex:page sidebar="false" lightningStylesheets="true" showHeader="false" docType="html-5.0">
    <apex:slds></apex:slds>
    <button class="slds-button">Button</button>
    <button class="slds-button slds-button_neutral">Neutral Button</button>
    <button class="slds-button slds-button_brand">Brand Button</button>
    <button class="slds-button slds-button_outline-brand">Outline Brand Button</button>
    <button class="slds-button slds-button_destructive">Destructive Button</button>
    <button class="slds-button slds-button_text-destructive">Text Destructive Button</button>
    <button class="slds-button slds-button_success">Success Button</button>    
</apex:page>
You can see all SLDS style not work.

I check Winter 21 Release Note and I found "Customize Components with Lightning Design System Styling Hooks (Beta)" update in Lightning Design System. Here is the Link: https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_slds_styling_hooks.htm

In this document I found follow content:

Styling hooks make it easy to customize component styling and express your brand, especially when working with web components and shadow DOM. For a list of component blueprints that support styling hooks, see the Lightning Design System website.

As far as I know IE-11 not support this feature, please see this link: https://developer.mozilla.org/en-US/docs/Web/CSS/var

And I try open Lightning Design System's Button component page in IE-11, but I got a blank area.

User-added image
I also found some error in Browser's console. But I don't know if it related to this case.

User-added image
Since this is a beta function may I ask how to disabled it? Or if this is a knowing issue in Salesforce? 

Best wishes,

Lee

  • October 14, 2020
  • Like
  • 0

Hi all,

I try to update Custom Settings in my sandbox org. And I meet CUSTOM_SETTINGS_LIMIT_EXCEEDED error message.
I found Custom Settings in my Sandbox allow limit is 0MB. Please see follow picture.

User-added imageMay I ask how to resolved this issue? Can I change allow limt for Custom Settings?

Best wishes,

Lee

  • September 25, 2020
  • Like
  • 0

Hi all,

Today I test my Winter 21 Sanbox, my user's profile is System Administrator, when I try to new Community, I got follow error.
User-added image

Repro Steps

Setup -> All Communities
Click new
Choose Partner Central Template
Input Name and Url
Click Create.

I already have 4 communities before Sanbox update to Winter 21.
May I ask why these happened, and how to resolved it?


Best wishes,

Lee

  • September 16, 2020
  • Like
  • 0

Hi all,

I face an issue after Summer 20 release. Currently looks like slds-icon-utility-xxx class not work in both Lightning Experience and Classic Mode.

My Sample Code

<apex:page >
    <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
        <apex:slds />
        <span class="slds-icon_container">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
        
        <span class="slds-icon_container slds-icon-utility-announcement">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
        
        <span class="slds-icon_container slds-icon-standard-account">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
    </html>
</apex:page>
Phenomenon

ClassicLightning

You can see only icon wiht slds-icon-standard-xxx class can show. May I ask you idea about this issue?

Notes: This code works fine before Summer 20 release.

Best wishes,
Lee

Best wishes,

Lee

Hi there,

I got following error on Set Your Org's External Org-Wide Defaults step.

Step not yet complete... here's what's wrong:
Your external org-wide defaults aren't configured correctly. Repeat the steps to make sure they are.

I tried with two new playgrounds.
Is there any other settings except below?

1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
2. Click Enable External Sharing Model.
3. Click Edit in the Organization-Wide Defaults area.
4. For the Opportunity and Account and Contract objects, set the Default Internal Access to Public Read Only and the Default External Access to Private. Click OK if you get any popups or warnings.
5. Click Save.

<Trailhead : Share CRM Data with Your Partners>
https://trailhead.salesforce.com/projects/communities_share_crm_data/steps/set_external_owd

Thanks for any idea.
Regards,
LinThaw
  • September 28, 2018
  • Like
  • 2