Dynamic Component Not Working

Modified with less blocks

Joba_1.aia (219.6 KB)

@bohan tested and works

Who :stuck_out_tongue_winking_eye:

If you are trying to create the same components (for example: refreshing a timeline in social media apps) you need to delete the old components before creating new ones. However, if you don’t want to delete the old ones and don’t want to deal with IDs too, then you can use GenerateID block to create random ID.

3 Likes

Dora mam tested it seems… :crazy_face:

1 Like

1 Like

You are creating with dynamicComponent1 but removing with 2

1 Like

You are absolutely right ! I must use my glasses :slight_smile: , but no error was shown . Replaced dynamic components2 with dynamic components 1 still no error in companion

Joba_2.aia (219.6 KB)

Why not just use those procedures on screen initialize, then no need to delete or recreate same thing over and over again…

2 Likes