I have created one custom table in details page of Document.
The data in table must be as follows-
1. 1st column should fetch the values of multi-valued attribute of the Document. This values should be displayed in different Rows one by one. Please refer the image
2. 2nd column must contains 2 actions for adding documents (insert new and insert existing action)
3. 3rd will have the reference documents added but these must be comma separated and must have infopage link