View details control on ax 2012 form

Deadly 提交于 2020-05-24 04:57:05

问题


I would like to bring view details button in my form when right clicked on my form view details should be shown like in standard any form for example when we right click on item number field on the form we have view details option when clicked that opens the details form of that item.

I tried using the normal right click method but could not succeed, please help me how to bring the view details functionality in my custom form.


回答1:


You have to create Display Menu Item with the selected form.

Then you can set newly created menu item for the FormRef property of the Table.




回答2:


To have the "View details" standard context menu, the following must be true:

  1. The foreign key (FK) must have a relation defined on the table of the key
  2. The table pointed to by the FK must have a form
  3. The form must have a display menu item
  4. The menu item must have the same name as the table or the FormRef property must be set
  5. The menu item must have security set up, and the user must have read access (or better)

Running the Best Practice check will usually spot the errors.

This blog entry explains it nicely.



来源:https://stackoverflow.com/questions/27143050/view-details-control-on-ax-2012-form

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!