In the EP , Web Menu and Web Form Web Parts use SharePoint Web Part connection mechanism to pass the information required to identify a record in Dynamics AX Database known as  record context to the pages invoked by menu items. The Web Form Web Part implements the ICellProvider interface, and the Web Menu Web Part implements the ICellConsumer interface. In the EP, the Web Part connection is an optional technique that is used when the menu needs to get the context from the Web form to pass to the invoked menu item, or when the Web form needs to control the elements displayed on the Web menu. Web Part connections are based on the notion of providers and consumers. The Web Form Web Part is the provider of record context, and the Web Menu Web Part is the consumer of this information when the Web Part connection is enabled. showMenuFunction , setMenuFunctionRecord , callMenuFunction are the important methods in the connected Web forms related to Web Part connection.