Add Quick-Format Presets to Expression Editor for Common Data Types
52
Views
2
Comments
New
Service Studio

As a developer building Reactive Web Apps, I often find myself writing the same basic logic to format data (e.g., converting a Decimal to Currency, or a Date to a specific local string).

I propose adding a 'Quick-Format' dropdown or right-click menu directly within the Expression Editor. Instead of manually typing FormatCurrency (Product.Price, "$", 2, ".", ","), beginners could select a preset that auto-generates the function. This would speed up frontend development and reduce syntax errors for those new to the platform.

that's what functions are for.  If you want to represent price information across your whole application in a consistent way, just make an action doing that, make sure it has an easy name.  

Et voila, your developers only need to remember that name.

The presets that make sense, are defined by your company, not the tool.

Fully agree with Dorine, as her suggestion follows DRY principle. Don't repreat yourself. Avoid duplicating logic. Implement it once, reuse it everywhere.