I can confirm that the onGet Method will also work for relationships. But I would recommed the version I posted above. But of course I would be happy to hear about experiences from others. In our environment the original version used in a Part relationship produced some problems in MPP. It wasn´t possible to drag'n'drop Parts in the Process Plan anymore, as the MPP somehow tried to read the federated content, but failed.
I can confirm that the onGet Method will also work for relationships. But I would recommed the version I posted above. But of course I would be happy to hear about experiences from others. In our environment the original version used in a Part relationship produced some problems in MPP. It wasn´t possible to drag'n'drop Parts in the Process Plan anymore, as the MPP somehow tried to read the federated content, but failed.