I am trying to populate FDM data model using Transformation.
I am using direct relationship in my model. Let say EntityRelationship View has two fields to and From which referes to Entity view.
These fields are coming as Struct<String,String> as destination type intransformation.
I was trying to add Space:externalId in this field. However it is giving Incompatible type error.
Can you please help.
Best answer by Vu Hai NguyenView original
Normally you can use this UDF node_reference for this.
In your case
If that doesn’t work you can try
@Vu Hai Nguyen ,
Thank you for your reply.
I tried both way, it is still showing as invalid type
There’s a bug that we need to fix when validating data for direct relation property, can you try to run the transformation in both way to see? The node_reference should work.
@Vu Hai Nguyen
I tried running transformation directly ignoring the warning and was able to run it successfully with both ways.
Thanks a lot for help!