Today I am going to share with you sample code for updating the caller datasource on list page action menu item. We normally refresh the caller data source on a normal form like this way.
Thanks to read the post and hope that will help you in refresh the caller data source both for list page and normal form.
FormRun callerForm;
callerForm = element.args().caller();
callerForm.dataSource().refresh();
callerForm.dataSource().reread();
callerForm.dataSource().research();
void main(Args _args)
{
FormDataSource   callerDataSource;
callerDataSource = _args.record().dataSource();
callerDataSource.refresh();
callerDataSource.reread();
callerDataSource.research(true);
}
Thanks to read the post and hope that will help you in refresh the caller data source both for list page and normal form.
 
No comments:
Post a Comment