Hi All,
We have a requirement to create Calculator in AEM (for Loans).
Is there anything out of box available for Computing Formulas in AEM or any customization we can do in something already existing.
We dont want to use AEM forms.
We want to create in AEM itself.
Any Approach/Guidance is appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
@Sb2512 As these calculations involve inputs from user, its preffered to be calculated via js from frontend side only.
You could probably use a loan calculator js which can be called on the component and the values changes based on the inputed data.
You could also have multiple files for different caculations for each type of loans and call the required ones based on the selection or pages.
You could get dynamic values via dialogs and make it configuarable say - interest rates, min/max amount, loan amount etc.
@Sb2512 As these calculations involve inputs from user, its preffered to be calculated via js from frontend side only.
You could probably use a loan calculator js which can be called on the component and the values changes based on the inputed data.
You could also have multiple files for different caculations for each type of loans and call the required ones based on the selection or pages.
You could get dynamic values via dialogs and make it configuarable say - interest rates, min/max amount, loan amount etc.
@Sb2512, I do recommend creating a "micro-frontend". This is a javascript application you can create in AEM that compiles into an AEM client library that can be deployed automatically as part of your AEM deployment live-cyle. You would only need to create a new maven project that utilizes the AEM front-end, an architecture that you can checkout on Adobe's own documentation, https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetyp...
It's a great idea to create a JavaScript application because you can leverage npm modules, write complicated logic, and have JavaScript unit tests. You can employ code coverage, linting, and much more. More modern front-end developers can jump straight into this project without much understanding of AEM, so you can have a non-AEM resource to work on this item.
Views
Likes
Replies