Hi @HelesicPetr
I am doing one POC.
Requirement is I have to update specific iba on ECN.
Basically we have global iba on ECN and Container and IBA of container having value so now our requirement is we want to copy paste that value on ECN IBA while creating the ECN.
So here can we use OIR or any custom algorithm to achieve this .
reference topic: https://community.ptc.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/829884#M2883
Hi @VK_1647
I would just recapitulate your requirement>
You have a container (context product/library) with IBA that have some value and you want to copy this value to a new ECN IBA attribute?
If I am right then it is not possible by OIR, but you can achieve it by 1) own DataUtility on a creation Wizard where you can prepopulate your value from the container.
2) Or you can write a code, that will populate the value in your workflow. I do it normally by workflow, it is easier 😄 and user does not care about that attribute.
PetrH
If you just need to display the attribute on the ECN, maybe you could try an Alias Attribute: https://www.ptc.com/en/support/article/CS357101?source=search
try to use an alias on ECN with mapping containerReference^wt.pdmlink.PDMLinkProduct~<Global_Attribute_Internal_Name>
This will copy attribute value from product IBA into alias
Hi @Fadel
If you need to work with this information in a workflow the alias is not the perfect solution
PetrH
Yes you are right we need to to use a REST call from the java using WRSCaller
Hi @VK_1647,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag
