Sign In
Learn how you (developer, engineer, end-user, domain expert, project manager, etc.) can contribute to the creation of apps that provide real value to your work.
There are two ways in which this functionality can be used:
I With VIKTOR, out-of-the-box, using our free version.
II Without VIKTOR, in that case you create the following yourself:
This code snippet shows a part of the parametrization which uses the step-functionality of VIKTOR. With these steps, you create a guiding flow for the user, along with thorough textual (Markdown formatting) information and descriptions for the different input fields. The entire application code can be found in our GitHub repository.
1class ConfiguratorParametrization(Parametrization):
2 """Defines the input fields for the mapview (step 1) and dataview (step 2)"""
3 step_1 = Step("Step 1 Define location of your home", views="get_map_view")
4
5 step_1.text2 = Text("""## Choose location""")
6 step_1.point = GeoPointField("enter a point", description='Click a location on the map to select it for calculation')
7 step_1.text3 = Text("""Define the surface area available on the roof:""")
8 step_1.surface = NumberField("Surface area", suffix="m2", default=0, min=0,
9 description='Use the arrows to select your available surface area or enter a number '
10 ' \n (if applicable use a decimal point **\' . \'** instead of a comma **\' , \'** )')
11 step_2 = Step("Step 2 Choose your system configuration", views="get_data_view")
In this video, you can see the solar panel configurator being used in a VIKTOR web application. The step-functionality (upper part of the screen), textual information (left), and descriptions for different input fields (hovering over the information button) are shown as well.
As mentioned, this app is structured using the step-functionality. In total, the app is comprised of three different steps:
Use our free version to start using this app!