Reputation: 35255
How can I access information about Imports (which you can access via Workplace => Imports, see picture), using SDK? Partucularly I'm interested in a list of errors associated with each Import entry. Even a hint at which classes I should look/check would also be great.
Upvotes: 2
Views: 151
Reputation: 15138
The main entity is ImportFile
, you can check the structure here:
MSDN - ImportFile Entity Metadata
you can check the fields totalcount
successcount
failurecount
partialfailurecount
the errors are inside the entity ImportLog
, you can check the structure here:
MSDN - ImportLog Entity Metadata
you can check the fields importfileid
(the lookup that contains the relationship with importfile
) linenumber
errornumber
Upvotes: 3