DMFStagingWriter::showPreview Method [AX 2012]

Shows the preview of the data in file.

server public static container showPreview(
    DMFDefinationGroupName _definitionGroup, 
    DMFExecutionId _executionId, 
    DMFSourceName _source, 
    FilePath _filePath, 
    DMFEntityName _entity, 
    DMFEntityTypes _entityTypes, 
   [boolean _fileOnServer, 
    TableId _id])

Run On

Server

Parameters

_definitionGroup
Type: DMFDefinationGroupName Extended Data Type
Definitoon group.
_executionId
Type: DMFExecutionId Extended Data Type
Execution Id.
_source
Type: DMFSourceName Extended Data Type
Source Entity.
_filePath
Type: FilePath Extended Data Type
File path.
_entity
Type: DMFEntityName Extended Data Type
Entity object to be written to staging.
_entityTypes
Type: DMFEntityTypes Enumeration
Type of entity.
_fileOnServer
Type: boolean
Check if file on server.
_id
Type: TableId Extended Data Type
Table id.

Return Value

Type: container
Returns the container with the Staging log RecId.
Show: