Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Import images to document handling

$
0
0

This method is working.  I am able to get the proper DocuRef and DocuValue records created with this method using this line of code:

DocuRef = DocuManagement::AttachFile(tablenum(InventTable),22565437142,curExt(),'Image',newImage,'image.jpg','Image','image.jpg','image notes'); where "newImage" is the file stream.  I am able to print the image on my report however.  

My only issue is that the preview in Document management doesn't work.  I am able to open the image so I assume it is stored properly.  Thanks for the input.  I will debug further tomorrow to try and discover why the preview doesn't work.


Viewing all articles
Browse latest Browse all 175888


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>