With version 2.4, we’re introducting version 0.1 of the new InVision Desktop Designer that lets you develop Web Functions and customize the Home Page Layout without editing the deployed .cshtml-file. We will gradually port (and improve) every feature from the SL designer to the new desktop designer, but for the time being, you’ll have to use both tools to develop InVision solutions. All significant new platform features will be added to the desktop designer, while the SL designer will only be getting minor enhancements and bug fixes.
NOTE! If you are upgrading to 2.4 from a previous version, you need to update Profitbase Installation Manager to the latest version (22.214.171.124) first.
- Version 0.1 of the InVision Desktop Designer. You need to use it for the new Web Function and Home Page Layout features coming in this release. These features are not available in the Silverlight designer. Version 0.1 of the InVision Desktop Designer has support for the following features:
- Windows and Azure AD web api authentication
- Home Page Layout configuration
- Creating and Opening Solutions
- Creating Folders
- Web Functions
- Sql Scripts
- Executing Data Flows
- Local Dimensions (beta)
- You can now customize the order, icon and style of individual Workbook tiles on the Home page without manually editing the deployed .cshtml-file. We will add support for grouping tiles in the next version.
- Web Functions enables you to easily write, test, host and execute custom Web Services in InVision. Typical use cases for Web Functions are:
- You need to call external Web Services, such as Azure Functions, Microsoft Cognitive Services or any other 3rd party (web) APIs, and return the result to the InVision backend or a Workbook.
- You need to call external web services that requires authentication.
- You create microservices to handle custom business logic in customer projects, and you want to call these services from Workbooks.
- You need to combine the execution of external web services and internal resources, such as SQL scripts.
- Support for calling arbitrary HTTP web services (for example Web Functions) from Workbooks using the new WebApi Action. In the WebApi action, you use one of the following methods to specify the route to the HTTP web service and optionally the contents of the request body.
- HttpPost(url, httpContent)
- HttpPut(url, httpContent)
- HttpPatch(url, httpContent)
- Support for specifying tab order for Input, Form, Button and File Upload Workbook components.
- You can now apply css classes to Workbook pages using the new Css Class property, so that you can style pages individually.
- When loading data to a Form Element, you can now set its state to ‘Modified’ by calling SetDataModified(true) in the LoadData action. This is useful in cases where you load a default value from the server, and wants the default value to be saved even when there’s been no user interaction.
FIXES and ENHANCEMENTS
- Support for unbound columns in Excel export of spreadsheets.
- Added support for the step attribute for Input Elements
- Added support for accept attribute (Accept Media Type) for Input Elements, so that the file picker dialog only shows files of the specified media type (images, videos, etc)
- When setting a button to disabled, a disabled-style is now automatically applied. The colors of the disabled state can be changed in the App Theme.
- Fixed issue with Filter configuration that caused the Data ID column property to change to an invalid value when the Hierarchy was changed.
- Fixed an issue that caused numeric values with decimals in drop down columns to be set to the wrong value if the decimal delimiter of the selected language was not “.”.
- Fixed issue with Input element horizontal stretching
- Workbook Download File Action – Fixed issue with downloading files less than 520 bytes
- Fixed issue in Drop Down Form Elements that caused the selected item to not be set when the value of the Value Member was 0 or false.
- Fixed issue with copying a column of numeric values (more than one cell) from Excel to a spreadsheet.
- Fixed issue with Excel export when column widths was not deserializable as integers
- When you add a filter to a Workbook, the LoadData action is no longer automatically added to the Loading event of the Workbook. The reason for this is that we want solution developers to consider when the filter data is actually needed, instead of just accepting a default behavior that rarely provides the best user experience.
The Cloud and Applications Team