LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

*fsc-navigation-button* - No longer working with Winter 23

Open btruong82 opened this issue 3 years ago • 8 comments

Steps to reproduce

  1. Create a screenflow and on 3 screen components. With the navigation button component on screen 1
  2. Create a decision element to check if button was fired "button1.fired = true"
  3. If true go to screen 2, default screen 3
  4. It always goes to screen 3

Expected behaviour

Goes to screen 2

Actual behaviour

Goes to screen 3

Note: This is still working in production but in the sandbox where it's already winter 23, it's no longer working. We are on version 1.0. In an attempt to upgrade, the package is not ungradable, we have to delete it first, but since we have many screenflows that use it we cannot just delete it without removing all the navigation components for the existing flows

btruong82 avatar Sep 09 '22 00:09 btruong82

Fix on the way.

ericrsmith35 avatar Sep 09 '22 00:09 ericrsmith35

https://unofficialsf.com/fsc-navigation-button/

ericrsmith35 avatar Sep 09 '22 12:09 ericrsmith35

https://unofficialsf.com/fsc-navigation-button/

Hi Eric. What's the process for upgrading the package? The link only gives option to install new version. We are currently at v1.1 and it gave us errors when we tried to install v1.6. I'm looking to upgrade the package to the latest version.

nitheeshkurapati avatar Sep 09 '22 14:09 nitheeshkurapati

What are the errors? One option is to uninstall the 1.1 version then install the 1.7 version.

ericrsmith35 avatar Sep 09 '22 15:09 ericrsmith35

Here are the errors we get when installing v1.7

"This package can’t be installed. There are problems that prevent this package from being installed.

Duplicate Name | The name "navigationButtonFSC" is already used on component type: Aura Component Bundle. Please rename existing component. Duplicate Name | The name "UIThemeControllerTest" is already used on component type: Apex Class. Please rename existing component. Duplicate Name | The name "UIThemeController" is already used on component type: Apex Class. Please rename existing component.

We can't uninstall older version because we have dependencies in current flows.

nitheeshkurapati avatar Sep 09 '22 15:09 nitheeshkurapati

Your only option then is to click on the Source Code link and use Developer Console to update the source code in your org for those components.

ericrsmith35 avatar Sep 09 '22 15:09 ericrsmith35

Thank you! Does this apply for other components from UnOfficialSF too? Datatable,navigateeverywhere etc? No option to upgrade?

nitheeshkurapati avatar Sep 09 '22 15:09 nitheeshkurapati

No, most packages should be upgradeable.

ericrsmith35 avatar Sep 09 '22 16:09 ericrsmith35