Hello
How can transfer the below code to Extension code?
Regards
Firas
/Var
//Filesystem :File
CLEAR(Filesystem);
Filesystem.SETRANGE("Is a file",TRUE);
Filesystem.SETFILTER(Path,'C:\FilePlace');
Filesystem.SETRANGE(Name); //Update virtual tabel
Filesystem.SETFILTER(Name,'',' *.xml');
IF Filesystem.FINDSET(FALSE,FALSE) THEN Repeat
Until FileSystem.next = 0;
Firas
Ms. dynamics NAV / Dynamics 365 Business Central Development Consultant
0
Answers
If you are building an extension targeted for OnPrem you can use DotNet classes/types such as FileInfo.
If you target the SaaS Environment there is no such thing as files and drives. In that case you might want to investigate how Azure BlobStorage or other similar solutions can help you solve your problem.
/Wisa
Ms. dynamics NAV / Dynamics 365 Business Central Development Consultant