Hi,
I am trying to IMPORT 'Item Picture' for a particular Item present in NAV by using XMLPORT. I can't find out how to do it. Can anyone suggest the C/AL required for this operation?
Best,
Souvik
*This post is locked for comments
Hi,
I am trying to IMPORT 'Item Picture' for a particular Item present in NAV by using XMLPORT. I can't find out how to do it. Can anyone suggest the C/AL required for this operation?
Best,
Souvik
*This post is locked for comments
Check the code under the action "Import Picture" on the item card, you need use IMPORTFILE option to import the file,
FileName := FileManagement.UploadFile(SelectPictureTxt,ClientFileName);
IF FileName = '' THEN
EXIT;
CLEAR(Picture);
Picture.IMPORTFILE(FileName,ClientFileName);
MODIFY(TRUE);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156