unitxchanger
Reactive icon

UnitXChanger

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 1 May
 by 
5.0
 (2 ratings)
unitxchanger

UnitXChanger

Documentation
1.0.1

Short Description:
A smart and lightweight unit conversion Forge component that lets users convert values from one unit to another with ease. Supports dynamic conversions based on user-defined source and target units. Just provide the current unit, target unit, and the value — UnitXChanger does the rest.


Detailed Description:

UnitXChanger is a reusable and extensible unit conversion component built for OutSystems applications. It allows developers to perform on-the-fly conversions between various units of measurement (e.g., length, volume,gas, weight, temperature, etc.) by simply specifying:

  • Source Unit

  • Target Unit

  • Input Value

This component abstracts the complexity of unit conversion logic and supports dynamic behavior, making it adaptable to a wide range of use cases, such as forms, calculators, dashboards, and reporting tools.

Key Features:

  • Dynamic unit conversion between different types of units.

  • Simple input: current unit, target unit, and value.

  • Extendable unit definitions via the Service Action :  UnitOfMeasures from UnitXChanger_Service module.

  • Centralized logic using a Service Action: UnitXChanger from UnitXChanger_Service module.

  • Easy integration into any module with minimal setup.


How to Use in Your Application:

  1. Add Dependency:

    • In your target module, add a dependency from the Forge component for:

      • Service Action: UnitXChanger

      • Service Action: UnitOfMeasures

  2. Prepare Your Data:

    • Ensure the Units data from UnitOfMeasures service action is seeded with relevant name and symbols.

  3. Call the Action:

    • From your screen action or logic flow, call the UnitXChanger service action, passing the appropriate unit IDs and value.

  4. Use the Result:

    • Display or store the converted result as needed.



1.0.0

Short Description:
A smart and lightweight unit conversion Forge component that lets users convert values from one unit to another with ease. Supports dynamic conversions based on user-defined source and target units. Just provide the current unit, target unit, and the value — UnitXChanger does the rest.


Detailed Description:

UnitXChanger is a reusable and extensible unit conversion component built for OutSystems applications. It allows developers to perform on-the-fly conversions between various units of measurement (e.g., length, weight, temperature, etc.) by simply specifying:

  • Source Unit

  • Target Unit

  • Input Value

This component abstracts the complexity of unit conversion logic and supports dynamic behavior, making it adaptable to a wide range of use cases, such as forms, calculators, dashboards, and reporting tools.

Key Features:

  • Dynamic unit conversion between different types of units.

  • Simple input: current unit, target unit, and value.

  • Extendable unit definitions via the UnitOfMeasures entity.

  • Centralized logic using a Server Action: UnitXChanger.

  • Easy integration into any module with minimal setup.


How to Use in Your Application:

  1. Add Dependency:

    • In your target module, add a dependency from the Forge component for:

      • Server Action: UnitXChanger

      • Entity: UnitOfMeasures

  2. Prepare Your Data:

    • Ensure the UnitOfMeasures table is seeded with relevant name and symbols.

  3. Call the Action:

    • From your screen action or logic flow, call the UnitXChanger server action, passing the appropriate unit IDs and value.

  4. Use the Result:

    • Display or store the converted result as needed.