Help Center

Marini Systems Trainings - Businesswoman during presentation in board room.

Academy

Learn highly demanded skills for data integration and data management.

Type: Doc.
Component: DataEngine
Category: Features

DataEngine: Page reload after inline edit

The DataEngine offers the possibility to trigger a page reload after an inline edit. This can be useful if workflows are triggered after saving a record. For this you have to set Custom JavaScript (JS) in the admin section. This article explains briefly how this works.

You must have the appropriate admin rights to store Custom JS. Navigate to the admin section (see screenshot). There you select JavaScript.

In the admin section you can - besides many more - configure custom JavaScript.

Then you enter the following code snippet:

$(document).on(‘inlineEditSaveEvent’, function (e, module, field) {
if (module === ‘module_name’ && field === ‘module_field’) {
location.reload();
}
});

You can configure custom JavaScript to trigger a page reload after inline edit for defined fields.

You need to define the two variables:

  • module
  • field

In the code snippet we use the generic names “module_name” and “module_field”. You store the corresponding module and field name from your system that you want to apply the code to.

This triggers a page reload after an inline edit of a record.

Make sure that the inline edit function is enabled for the defined field. You can check this in the Studio via the admin area.

More documents

Category: Features

Your individual question

Have you already checked if your question has not already been answered?

Frequently asked questions and answers that arise in the course of projects are published in the Help Center. There is a high probability that the information you are looking for can be found there. If your questions have not yet been answered there, we will be happy to take the time to answer them. Just send us a support ticket.