< Back
Print

Search for item IDs using attribute data

Introduction

This format searches for items based on the selected attribute using the source values and returns their IDs. This allows items to be searched for by their external keys or item numbers.

The format should not be used in a language dependend context but for searching language independend values like “SKU”.

The source value can be an array of values or a line break/comma-separated list. Note: This format always returns an array of IDs. Therefore, a loop header or Array Operation > Return First Entry should be used as the follow-up format.

Configuration

Screenshot of the configarion fields for the "Search for Item using attribute data"
FieldExplanationExample
Item type to searchThe type of the target object you want to find.
This field defines the attribute selection for the second field
“Product”, “Channel”, “DAM-File”, “User”
Search attributeThe attribute used to search for objects. The search is performed using the entered value“ExternalKey” or some SKU field
Note: Do not use language dependend values

 

Example

If you have an attribute that contais the SKU of a different product, you can use the format to identify this object and send it’s values.

Screenshot example usecase for item search field plugin

Datamap configuration:

Screenshot example datamap configuration Search For Item IDs using attribute data

The loop head is configured with “Loop for several values (of selection attributes)” as context so we are able to loop over the created array – the single value contains the PdmarticleID of the found product that we can then process further (Exporting PdmarticleId and Label)

Screenshot of the configration example search for items following loop

Example of the Output:

Screenshot example output of our configuration
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents