Posts

Showing posts from May, 2021

FTP, SFTP explore , placing/pushing files integration through code with d365fo

 class SSC_DataEntityXmlGeneration {      // Generate XML file from DMF Project     public static System.IO.StreamReader generateXml(Name entityName,DMFSourceName sourceName,container queryData = conNull())     {        SharedServiceUnitFileID     fileId;         System.IO.Stream            fileStream;         Description255              filepath;         str                         definitionGroupName = "SSC XML Generation";                      #DMF         DMFDefinitionGroup::find(definitionGroupName, true).delete();         DMFEntityExporter exporter = new DMFEntityExporter();         fileId = exporter.exportT...