Forum Discussion

Dayanand_Languti's avatar
5 months ago

Concatenate 'V' with foreign property

Hi,

I have created item type with one foreign property, it will display version number of referred item type, i want to concatenate 'V' with that foreign property and display in default grid, please can you help me on this.

 

Thanks.

 

1 Reply

  • Hello
    You need to create new string property that will be calculate with a method adding the prefix to the value of the foreign.

    My recommendation would be to make the proxy on the source_item, the one with version number. then add method onAfterAdd and onAfterUpdate server event of this Item Type to update the string property.
    On the other Item Type, change the source of the foreign from the version Number to the string calculated property.
    Regards

    Michael