How to reload the detail in form page after adding a new record to the detail

Hello Community, 

 

I wanted to refresh the detail in a form page after adding/updating a detail.

Here all the fields in the detail is added/updated in a separate page. On click of save button, the record gets added/updated. But I wanted to refresh entire detail.

 

Thanks

Like 0

Like

3 comments

Hello, 



Please check the discussion regarding your question here.

Bogdan,

Hello Bogdan, 

 

Thank you for your response.

But I wanted to reload the detail in Freedom UI, the detail is in the form page and on click of '+' we add the new details which is in other form

 

Once I save the details the page automatically moves the parent form page. But the detail is not refreshed, Only the record gets added to the detail.

 

I wanted to refresh entire detail after click of Save while saving a new record in child form.

 

const handlerChain = sdk.HandlerChainService.instance;

                             await handlerChain.process({

                            type: "crt.LoadDataRequest",

                            $context: request.$context,

                            config: {

                                loadType: "reload"

                            },

                            dataSourceName: "datasourcename"

                        });

 

This works in the current form page. But i wanted to refresh the detail in parent form page once I click on save button in child form page.

 

GargeyiGnanasekhar,

 

Unfortunately, we don't have ready examples of the implementation of your business task.

 

We've registered it in our R&D team backlog for consideration and implementation in future application releases.

 

Thank you for helping us to improve our product. 

Show all comments