DataDir Property

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

Syntax

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;
#define PID_AS2PROFILEMGR_DATADIR 3

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

""

Remarks

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

String

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