Hi,
Upload and download files in Dynamics 365 AX
class ShyamFileUploadTest
{
public static void main(Args _args)
{
//upload
FileUploadTemporaryStorageResult res;
res = File::GetFileFromUser(classStr(FileUploadTemporaryStorageStrategy));
if(res && res.getUploadStatus())
{
Info(res .getDownloadUrl());
//download
new Browser().navigate(res .getDownloadUrl());
}
}
}
Reference
Reference
Reference
Upload and download files in Dynamics 365 AX
class ShyamFileUploadTest
{
public static void main(Args _args)
{
//upload
FileUploadTemporaryStorageResult res;
res = File::GetFileFromUser(classStr(FileUploadTemporaryStorageStrategy));
if(res && res.getUploadStatus())
{
Info(res .getDownloadUrl());
//download
new Browser().navigate(res .getDownloadUrl());
}
}
}
Reference
Reference
Reference
Aulbalcau_riAlbuquerque Jamal Wyn https://wakelet.com/wake/1CCG4ok8dlFjLR4nrKNDD
ReplyDeletejustwilltifi