VB Apps has seen the removal of the Value Binding. Instead, users should now use the App variable to transmit and retain their data.
Issue description:
The latest release of VB Apps has seen the removal of the Value Binding. Instead, users should now use the App variable to transmit and retain their data. In addition, VB expressions (lambdas) can be used to bind control values to data and to transform data, just like in UiPath Studio. The system allows for the creation of dynamic and responsive user interfaces that can react to real-time user input. There's also the migration of legacy apps to VB expressions which is explained in detail here.
Resolution:
- Steps to Resolve:
-
- Create a new app from the Apps home page.
- Select 'VB' as your expression language.
- Add a Textbox and a Label control to your app.
- Select the Label control.
- In the General properties panel, for the 'Text' property, click the "tune" icon. This will open the Expression editor.
- Write 'MainPage.Text.Value'. This instructs the app to take the value your users input in the Textbox control and display it in the Label control at runtime.
- Preview your app and type something in the Textbox control, then hit Enter. The label control should now automatically update with the text you typed.
- Steps to Migrate Legacy Apps to VB Expressions:
-
- Open the legacy app that you want to migrate.
- Click on the 'Upgrade Now' button.
- In the 'Upgrade App to VB Expressions' window, read the provided information and then click on the 'Upgrade' button.
- After the upgrade, check the entire app for any necessary adjustments. Make sure all the functionalities of the app are working as expected.