Skip to main content

Inventory images import

System allows for a bulk images import.

This can only be done by a system administrator on the server that you are hosted.

Prepare a folder with all the images.

Prepare the Excel file with links to the images.

StockCode Image Description Image file Thumbnail Description Thumbnailfile
1051 1051_M c:\images\beauty\A\1051.jpg 1051_T c:\images\beauty\B\1051.jpg
1151 1151_M c:\images\beauty\A\1151.jpg 1151_T c:\images\beauty\B\1151.jpg
1271 1271_M c:\images\beauty\A\1271.jpg 1271_T c:\images\beauty\B\1271.jpg

 


Server code

  1. Copy data to server
  2. Go to the Terminal
  3. Change to Namespace

Run this code

do ##class(InventoryManagement.Attachments).Import("c:\images\Youngblood\import.txt")