< Back
Print

Send value of an attribute reference

Summary

This plugin SC::Reference – send specific value of an attribute reference, will send a specific value (configured by using the param field) of the reference value.
This param is only available for reference attributes types.
If you add i.e. ExternalKey into the param field. The external keys of the references will be delivered! By default the Label will be delivered value.

Special keywords for attribute references:
– i.e. PdmarticleconfigurationID = delivers the ID of the PIM attribute
– i.e. ParamA = ParamA of the attribute
– i.e ExternalKey = the ExternalKey of the attribute
– i.e Name = the technical name of the attribute
– i.e Label = the display name of the attribute

Example

Insert the attribute and select the function “SC::Reference – send specific value of an attribute reference” in the dropdown menu.

Click on the marked button for the extended settings, a new window opens.
Here you set your value that should be transfered to your system.

Value Description Example
Set attribute type Select the attribute type you have assigned in the source field Detect attribute type from source field
Attribute Select the attributes to be delivered PdmarticleconfigurationID, Name, Label, Type
Delimiter between attributes Here you configure which separator should be used between the fields of a reference.  ,
Delimiter between references Here you configure which separator you want to use between the references.  |
Start with element x for multi-references (use -1 to reverse direction) Here you configure at which reference the outpout of the values should begin (only for multi-references). Set negative numbers for the reverse direction. 2 (Output from the second reference )

-2 (Output from the second last reference)

Number of elements to be returned Here you set how much elements from a reference should be exported (in a decimal number).
Force return of the references/values as array If this is activated the plugin will set for every value or reference a new array. (please see below)
Alternative Formatierung This plugin will be executed if it is required by a condition.

Details/limitations

This param is only available for reference attributes types.
If you add i.e. ExternalKey into the param field. The external keys of the references will be delivered! By default the Label will be delivered.

Using the example of the XML connector, you can see the configuration of the plugin SC::Reference – Send specific value of a user reference (together with the SC::Loop plugin) here:

Tutorial Spezial: Mehrfach verschachtelte Referenzen mit dem SC::Schleifenplugin exportieren

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