简体   繁体   中英

Lookup on ListPage Dynamics AX 2012

我试图用查找创建控件,以便客户端可以选择供应商并使用此数据过滤网格,但是当我无法覆盖任何方法时,我不知道如何在ListPage上创建查找。

A ListPage is a very special form only to search and find a record with few fields and parts to validate you're on the right record.

Also, a ListPage can be deployed as is on EP. So, you can't have any code in it as the web browser will not be able to run X++ code.

My first answer will be to check if the field you want to filter on is currently in the query and showed in the ListPage. If so, you can filter using the standard filter already in your ListPage or activate the grid filter (ctrl+G).

If you really want to add a new control (which seems not to be in the ListPage best practices), you can look at interaction class. It's a helper class to add some code at server side in which you can handle the form. For example, modifying the query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM