Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: Is it possible to change 'Attachment Path' programatically?

$
0
0

Hi,

 

You can use the "PathAdmin" object of the DI API. Below is a sample code taken from the SDK documentation:

 

// Get the path admin object 
CompanyService com_service = DICompany.GetCompanyService();
oPathAdmin = com_service.GetPathAdmin();

// Set new paths
oPathAdmin.WordTemplateFolderPath = "c:\Documnets\Templates\";
oPathAdmin.PicturesFolderPath = "c:\Documnets\Pictures\";
oPathAdmin.AttachmentsFolderPath = "c:\Documnets\Data\";
oPathAdmin.ExtensionsFolderPath = "c:\Documnets\Extention\";

// Update paths
com_service.UpdatePathAdmin(oPathAdmin);

 

Beni.


Viewing all articles
Browse latest Browse all 8808


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>