• Abhinav Sharma.
  • NEWBIE
  • 20 Points
  • Member since 2015
  • Sr. Associate - Projects
  • Cognizant


  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 6
    Replies
Can someone share his/her experience to use BroadcastChannel to post message using Lightning Component?

I'm trying below code snippit but not working.

Component:
<aura:component implements="flexipage:availableForAllPageTypes">
    <lightning:button label="Navigate" onclick="{!c.handleClick}"/>
</aura:component>

JavaScript Controller:
({
    handleClick : function(component, event, helper) {
        console.log('Navigation');
        const channel = new BroadcastChannel("api_softphone_NavigationChange");
        
        channel.postMessage({
            messageType: "onNavigationChange"
        });      
    }
})

BroadcastChannel Error
Getting the error bad value for restricted picklist field: F2F while sending email from sandbox.

In sandbox Enhanced email is enabled.

Did someone faced the same issue and found the solution (what need to be done to resolve this).

Error
Hi All,

We have an requirement where we have to open a custom lightning component once we click on the standard save button in LEX.

If someone implemened the solution or have an idea please share.

Regards,
Abhinav Sharma
I have used force:CreateRecord to open a case form with some default values autopopulated and am using the that lightining component with quick action in service console.

Here the issue is that default value which i have set is clearly visible as the URL parameter in salesforce service console.

Looking forward for some solution where default values should not be visible as URL parameters.

User-added image
I have a requirement where i have to filter the SOQL on the basis of encrypted field.
Is there any possiblity to achieve this as by default encrypted field 'Account_Number__c' can not be filtered in a query call.
Geeting Below Error on superbadge_lightning_platform_app_builder Step 2:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: OTKUFUVK
Close errors.

Can someone help on this?
User-added image
Hi All,

I got stuck with the error mentioned above in Lightning Component Framework Specialist- Step 8 even after trying multiple time.
Can some one please share resolution for the same?
Hi All,

My requirementt is to update the multiple records at the same time on the click of a button with the value which is input by the user from front end in lightning component.

Please let me know if any one face the scenario and provide the solution/ implemented code for the same.

Regards,
Abhinav Sharma
Hi All,

I have a scenario where i have to pass one variable value from parent component to child component controller to perform further execution on the basis of that variable value which we passed from parent.

Please let me know the solution/syntax for the same.

Thanks,
Abhinav Sharma
Hi

I want to call multiple methods in client side controller synchronously i.e. in a particular sequence so that I can use the response from one in second one and so on.

How can I achieve this in lightning client side components?

Regards,
Abhinav Sharma
Hi All,

My requirementt is to update the multiple records at the same time on the click of a button with the value which is input by the user from front end in lightning component.

Please let me know if any one face the scenario and provide the solution/ implemented code for the same.

Regards,
Abhinav Sharma
Hi All,

I have a scenario where i have to pass one variable value from parent component to child component controller to perform further execution on the basis of that variable value which we passed from parent.

Please let me know the solution/syntax for the same.

Thanks,
Abhinav Sharma
Hi All,

We have an requirement where we have to open a custom lightning component once we click on the standard save button in LEX.

If someone implemened the solution or have an idea please share.

Regards,
Abhinav Sharma
Geeting Below Error on superbadge_lightning_platform_app_builder Step 2:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: OTKUFUVK
Close errors.

Can someone help on this?
Hi All,

My requirementt is to update the multiple records at the same time on the click of a button with the value which is input by the user from front end in lightning component.

Please let me know if any one face the scenario and provide the solution/ implemented code for the same.

Regards,
Abhinav Sharma
Hi All,

I have a scenario where i have to pass one variable value from parent component to child component controller to perform further execution on the basis of that variable value which we passed from parent.

Please let me know the solution/syntax for the same.

Thanks,
Abhinav Sharma