The main difference among the usage of Data transform and Set-Value comes with code re-usability which the data transform provides to you in your application, apart from this both can do the initialization functionality.
Posted: 3 years ago
Posted: 11 Sep 2017 9:19 EDT
Umamaheshwar Reddy Midthuru (Mahesh Midthuru)
Sr. Software Solutions Engineer
Adding to the above information, if your initialization of the properties can be re-used then placing this code in data transform is the better approach than placing it in multiple Set-Value controls in different places and if your initialization of the property is very specific to your use case and it doesn't needs to be re-used any other place then you can go for Set-Value control.
Hope this gives you more idea about the both usage.