最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Dynamics 365 财务和运营 在扩展中调用菜单名 / Calling menu name in Extensions Dynamics 365 for finance and operations

D365fO alirazazaidi 127浏览 0评论
In Ax 2012 we get menu name with element.Args().CallMenu name, using  taking decision on menu name.   But same logic we need to apply in Extension. But in D365 For finance and operations we did not overlay. Following code snippet helps me to implement similar logic in Extension.  
  [ExtensionOf(formStr(CustTable))] final class IaLogisticsContactInfoGrid_Extension {     /// <summary> /// /// </summary> /// <param name=”sender”></param> /// <param name=”e”></param> [FormEventHandler(formStr(LogisticsContactInfoGrid), FormEventType::Initialized)] public static void LogisticsContactInfoGrid_OnInitialized(xFormRun sender, FormEventArgs e) {   FormRun formRun = sender;   ;   info(formRun.args().menuItemName()); }   }
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址