AllegrettoA, you are right; my answer did not really help.
I can't offer a working solution for your issue. UDT is in first place a table - it has columns and rows where you can store your values inside a cell. Usually you store just one value in each table cell.
It happens that the UDT has some more specialized data types like images, URL, html text or currency - these are not the standard data types like in System.Data.SqlDbType. It was not a too difficult job to introduce that kind of data types because they were already build in the DNN core or could be easily extended. But they always give us the possibility to store one value in each cell. The only other possibility is to store a value global for the whole module (for example the maximal width of the image).
So there are some attributes still missing for the new data types. You can’t define an alt tag inside an image type or a title for URL. What should we do? We still have one value for each cell. I could add a “hidden” column – only for the missing attribute or I will be tricky and store my settings in a XML fashion like <URL value=”file=7” description=”cool, it works”/> inside each cell.
I think that would not be too difficult to implement, but I, speaking for myself, don’t like that approach. Next time somebody will ask for an image hyperlink data type….
I would vote to have the possibilities of custom views. There should be possibilities to set up my own way of rendering the content of the UDT.
Stefan