📚 SAP Business One SDK Help

XMLFileFolderPath Property
See Also  Example

Description

Sets or returns the path to the XML files created with the Export Form to XML function.

Field name: XmlPath

Property type

Read-write property

Syntax

Visual Basic
Public Property XMLFileFolderPath() As String

Remarks

To set the XML path in the application, go to Administration --> System Initialization --> General Settings --> Path tab.

Example

Setting attachment paths (C#)Copy Code
// Get the AdminInfo object  
CompanyService com_service = DICompany.GetCompanyService(); 
oAdminInfo = com_service.GetAdminInfo(); 
 
// Set Excel and XML attachment paths 
oAdminInfo.ExcelFolderPath = "c:\Excel\"; 
oAdminInfo.XMLFileFolderPath = "c:\XML\"; 

See Also