DataDir Property

The directory that the AS2ProfileMgr uses to store self and trading partner profiles.


ANSI (Cross Platform)
char* GetDataDir();
int SetDataDir(const char* lpszDataDir); Unicode (Windows) LPWSTR GetDataDir();
INT SetDataDir(LPCWSTR lpszDataDir);
@property (nonatomic,readwrite,assign,getter=dataDir,setter=setDataDir:) NSString* dataDir;
- (NSString*)dataDir;
- (void)setDataDir:(NSString*)newDataDir;

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value



AS2ProfileMgr uses DataDir to store self and trading partner configuration. The self profile is stored in the XML file me.cfg and the trading partner profiles are stored in the XML file partner.cfg. The partner.cfg is stored in a separate sub-directory for each trading partner. The sub-directory name is derived from the parameter PartnerOrganization of SaveProfile.

Data Type


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8162]