Saturday, June 18, 2011

Document Handling functionality in EP for a new table in AX 2009

To display/upload the documents for a record in a newTable through EP in AX 2009, we can use the existing Web menu items like EPDocuList, EPDocuListPopUp, EPDocuListFromInfo etc., 

But if these menu items are directly used on our new EP pages then it doesn't work properly. The solution would be to add a relation with the new table on DocuRef table as shown in the below screenshot:

 
Remember to set the Validate Property to No. Now, the standard EPDoculist etc., web URL's can be used on the Web Pages to view/download the list of documents attached for a record of the new table.