Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Implement an Interface in a standard form via extension

$
0
0

Hello together,

in order to make a standard list page capable of reacting on custom tile filters, I need to implement two interfaces in a standard form (e.g. "SalesQuotationListPage"):

SysIFilterConsumerForm, SysIFilterEventHandler

How could I achieve this?

In the extension class it is possible to add the required methods but an interface is not allowed to be implemented:

[ExtensionOf(formStr(SalesQuotationListPage))]
final class SalesQuotationListPage_Extension
{
    public void registerDatasourceOnQueryingEvent()
    {
        SalesQuotationTable_ds.OnQueryExecuting += eventhandler(this.parmFilterFormQueryEventHandler().applyFilter);
    }

    public void onFilterChanged()
    {
        SalesQuotationTable_ds.executeQuery();
    }

}

The customization is based on the following very helpful blog:

http://www.enavate.com/the365blog/microsoft-dynamics-365-filtering

Thanks in advance for any ideas.

Sebastian

SysIFilterConsumerForm, SysIFilterEventHandler


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>