Skip to main content
11-Garnet
Sep 13, 2017 9:30 AM UTC
Solved

export gateway template  >> exporting a field value of an upstream item <%{Validates:item .....

Hi PTC Community,

 

we are currently hustling while trying to adapt our gateway template.

Any help regarding to the problem written in the caption is highly appreciated.

At the moment we could only achieve to export the ID of a upward traced item – but not any other field value of this item of another hierarchy level.

The code <%{Validates}key=item field value (for instance “Assigned User”"%> or <%{Validates:item field value%> did not work.

 

All the best and regards

Daniel Remmers

 

Bausch & Lomb Technolas

17-Peridot
Sep 28, 2017 2:06 PM UTC

Hello Daniel,

you are right, in Integrity Standard Gateway you cant export any field from another item level directly.

 

Option 1:

If the relationship is single only, then you can use a FVA field.

 

Option 2:

You can use Java and the so called Custom Gateway extension to retrieve any data in a standartized way.  This is a local customization which overloads the Gateway Post function, in which you can retrieve any data from everywhere.

 

Let me know if you need more details ....

Regards, Volker

2 replies

17-Peridot
Sep 28, 2017 2:06 PM UTC

Hello Daniel,

you are right, in Integrity Standard Gateway you cant export any field from another item level directly.

 

Option 1:

If the relationship is single only, then you can use a FVA field.

 

Option 2:

You can use Java and the so called Custom Gateway extension to retrieve any data in a standartized way.  This is a local customization which overloads the Gateway Post function, in which you can retrieve any data from everywhere.

 

Let me know if you need more details ....

Regards, Volker

Translate
dremmers11-GarnetAuthor
11-Garnet
Oct 16, 2017 2:18 PM UTC

Hello Volker,

 

thanks alot for your help and shared knowledge!

Unfortunately that FVA would be mulitvalued. Therefore option 2 is the only possibility to achieve our goal.

I would be grateful to know where to obtain this mentioned Custom Gateway extension.

 

Best regards

Daniel (My Xing)

 

Translate