End-user scripting engine

StatusIDPriorityType
Open36921MinorQuestion
ProfileReply
keradinidesClient

Hello dear Galaktikasoft team

We are about to start developing our applications with xaf framework (XPO) and we want to give to the end (advanced) user the ability to customize several things.
Xaf has the way to add at run time new fields, forms and reports.
What we are looking to implement is a "scripting" engine for the end user/supporter, that will enable him to customize or introduce new procedures.
For example creating a new action to calculate some totals, or create a new Task in a CRM module.
Maybe customizing a "Xafari Business Operation" but at run-time.
Is this possible with Xafari?

Thank you

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello keradinides!

You are welcome.

I do not quite understand what you want to do.

Can you describe some example of use and describe how it should work?

Feel free to contact us if you need further assistance or have additional questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

keradinidesClient

Hello Mariya

I think one of the simplest examples, but also common is the following.

Lets say we have a typical Customer, Product, Order, OrderLine scenario.
Typically we implement at design, an action to calculate the summary of OrderLine.Quantity * OrderLine.Price and place it to the Order.Amount

We ship the application and one customer (who doesn't have the source code) would like to include a Customer.DiscountPercentage property, and modify/override our default action and set the Order.Amount equal to Sum(OrderLine.Quantity * OrderLine.Price) * (1-Customer.DiscountPercentage).

MariyaVoytovichAgent

Hello keradinides!

I apologize for the delayed response.
Thanks for your patience.
We have investigated the issue and have prepared an example where the user can specify how to calculate some totals.

See attached documents.

We hope that this solution will suit you.

Feel free to contact us if you need further assistance or have additional questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

Attached files:
Write US