Since you appear to be able to read/write xdata and dictionary data, you should have all the tools you need. Taking gile's function all you have to do is:
1.
Change "DynDisplayData" to your application name.
2.
Remove the (if (assoc 1070 lst) ...) section.
3.
Extract the right info from lst (= xdata).
4.
Use that info to retrieve the right dict. data.
5.
Update the (vla-put-TextString (vlax-ename->vla-object text) ...) line.