The article explains how to create a command bar to clone a record with many-to-many relationships in Model-Driven-Apps using PowerFX. The author creates two tables for the demonstration and creates many-to-many relationships between them. They then initiate the command designer and create a button with the label name "Clone Record". The author uses the Confirm method to give a dialog for the user to select and if the user approves it, then they use the With function to give variables scope and formula that they want to run. Finally, they loop all the allSubjects and make an association (N-to-N) between the new record and the allSubjects using the Relate function. The article includes screenshots and code snippets to help readers understand the process.
Login now to access my digest by 365.Training