Open and Close Console App Tabs from LWC | Salesforce Developer

Поділитися
Вставка
  • Опубліковано 10 чер 2023
  • In this video, we will see how we can work with lightning console app tabs and how to open LWC component as tab or subtab.
    Also this video covers how you can use workspace API's to perform basic tab operations from LWC component without using Aura Wrapper.
    This video covers below workspace API features -
    Open a new tab
    Open a new sub tab
    Close a tab
    Refresh a tab
    Change tab label
    Change tab icon
    Code Link-
    bit.ly/42idTwC
    Salesforce Workspace API Link -
    developer.salesforce.com/docs...
    Navigate to LWC Component Without Aura Wrapper -
    • Navigate to LWC Compon...
    Introduction to Apex | Apex Fundamentals | Salesforce Developer -
    • 01. Introduction to Ap...
    Data Types in apex | Apex Fundamentals | Salesforce Developer -
    • 02. Data types in Apex...
    List in Apex | Apex Fundamentals | Salesforce Developer -
    • 03. List in Apex | Ape...
    Set in Apex | Apex Fundamentals | Salesforce Developer -
    • 04. Set in Apex | Apex...
    Build Your Own Retro Board | LWC Live Project 2 -
    • LWC Live Project 2 | B...
    LWC Live Project 1 -
    • LWC Live Project 1 | L...
    LWC Crash Course Part 1-
    • Lightning Web Componen...
    LWC Crash Course Part 2-
    • Lighting Web Component...
    New features in LWC | Spring 23-
    • New features in LWC | ...
    How to create Utility Module in LWC-
    • Create Utility Module ...
    LWC Interview Preparation Series Link-
    • LWC Interview Preparation
    Salesforce Interview Preparations Series Link-
    • Scenario Based Salesfo...
    Copado Basic Series Link-
    • Copado Basic
    Contact Details:-
    Email Address: forcefellow@gmail.com
    #lwc #lwctutorial #lightingwebcomponents #salesforce #salesforcedeveloper #workspaceapiinlwc #openlwccomponentintab #openlwccomponentinsubtab #closetabfromlwc #refreshtabfromlwc
    #changetabicon #changetablabel #lwccrashcourse #lwc #lightningwebcomponents #salesforce #salesforcedevelopment #lwcforbeginners #learnlwc #lwcbasic

КОМЕНТАРІ • 15

  • @user-yg6th1vw6y
    @user-yg6th1vw6y Рік тому

    Thanks for your video

  • @uer-yt2050
    @uer-yt2050 4 місяці тому

    Awesome and helpful, Thanks

  • @daravadirevathi7266
    @daravadirevathi7266 4 місяці тому

    Hi,
    Can you please help me to achieve below. "On click of event in lwc, how to display all the records returned from apex method in new sub tab.
    Thanks

  • @jiiiiiiiiiii7453
    @jiiiiiiiiiii7453 11 місяців тому

    hello
    Thank you so much for that video, it was very helpful.
    However, I have one question.
    Why are you converting the url to base64 and passing it instead of just passing it?

  • @user-yg1ev2pc1z
    @user-yg1ev2pc1z 10 місяців тому

    After closing tab im navigation to record page, after navigating to record page focus is changing to other tab, can you help me?

  • @user-wj4br8xw1v
    @user-wj4br8xw1v Рік тому

    The second solution does not work anymore. I think it's linked to the new version of the api. Do you experience the same thing and is there another alternative other than using the Aura wrapper ?

    • @forcefellow
      @forcefellow  Рік тому

      It should definitely work. Can you please try same code which I used(Find link in description).
      Still face issues then connect me over below mail Id - forcefellow@gmail.com

  • @colbridge
    @colbridge 2 місяці тому

    Didn't work for me.

  • @lakshminarayanabandaru5465
    @lakshminarayanabandaru5465 6 місяців тому

    Hello Good Day!
    In the above video you are opening the lwc with open sub tab method
    There you declared parameter called attributes
    With the help of this , can we pass the data to the lwc that’s getting opened in subtab
    Please confirm

    • @forcefellow
      @forcefellow  6 місяців тому

      Yes and if you face any issue there then you can connect me over below email address -
      forcefellow@gmail.com

  • @lakshminarayanabandaru5465
    @lakshminarayanabandaru5465 6 місяців тому

    Hello ,
    With the same approach, does it possible to send data also from one lwc to another lwc
    Please confirm

    • @forcefellow
      @forcefellow  6 місяців тому

      Yes this is possible. Please refer this video -ua-cam.com/video/dgWi-vTaY2k/v-deo.htmlsi=V2q4-gpQIoXb107l

    • @lakshminarayanabandaru5465
      @lakshminarayanabandaru5465 6 місяців тому

      @@forcefellowHello Good Day!
      In the above video you are opening the lwc with open sub tab method
      There you declared parameter called attributes
      With the help of this , can we pass the data to the lwc that’s getting opened in subtab
      Please confirm

  • @user-qs9js9if3f
    @user-qs9js9if3f 10 місяців тому

    Hello 'openTab function is not supported in this application' error is thrown.....do we have any workaround on this

    • @renitafernandes7836
      @renitafernandes7836 10 місяців тому

      As of now I think it only works in console app, so In your app it should be console navigation instead of standard. I am trying to figure out a way for this as well.