EDIName Property

Name is the final name to be associated with the contents of either the Data or FileName properties.

Syntax

ANSI (Cross Platform)
char* GetEDIName();
int SetEDIName(const char* lpszEDIName); Unicode (Windows) LPWSTR GetEDIName();
INT SetEDIName(LPCWSTR lpszEDIName);
@property (nonatomic,readwrite,assign,getter=EDIName,setter=setEDIName:) NSString* EDIName;
- (NSString*)EDIName;
- (void)setEDIName:(NSString*)newEDIName;
#define PID_AS2SENDER_EDINAME 35

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

Default Value

"rfc1767.edi"

Remarks

EDIName is the final name to be associated with the contents of either the EDIData or EDIFileName properties. This corresponds to the filename attribute of the Content-Disposition header for the EDI payload.

When constructing EDI data to be sent, EDIName will be set to the same value as EDIFileName, but can be overridden after setting EDIFileName to indicate that another name should be used in the outbound request's Content-Disposition MIME header.

When receiving EDI data, EDIName will be read out of the "filename" attribute of the inbound request's Content-Disposition MIME header.

This property is not available at design time.

Data Type

String

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