How to Create Any Design Using Dynamic Components Extension

When cardview clicked you’re only getting the last id of the created view from your blocks above.
Secondly, the way you create your view will not be easy for you to get their respective id’s you know what I mean… instead of Horizontal Arrangement15 global Id use Horizontal Arrangement fifteen global Id. With this you’ll be able to replace all text with the segment for you to be able to get the Id.

1 Like

thanks Powertech. Sorry but i dont know how to your answer. you can put a example for understand what i wrong. Thank yoy for your response…

edit answer: Changue any code, more and lees undertand your response. Find a code example and adapt it form my proyect… Now, receive other error, at least detect the click is an avance for me… thank you

this is my button.

blocks change

Am not on PC, I’d have shown you with some blocks but since you’re able to get it from my explanation above you’d be able to get this also.
To get the Id, I see you want to get the text from component titulo_prod_01
Do this- label.text of component = replace all text = get Id by component = titulo_prod_01 segment= titulo_prod_01 and replace it with =" " by doing this you’d get only the Id of that component.

1 Like

this work for me… all done… thank you powertech…

can you give aia file?

I added this to a procedure, incrementing the ‘global tracker’ each time it is called and modifying text to see what is updated. It is called and ‘global tracker’ increments however no new components are visible when testing.

Great tutorial, keep up the good work. I do ha a question about Fore each item in list that I am using to generate dynamic list from decoded JSON.

I have made for each item from list loop that takes items from created list variable. My question is: do I have to nest all this create and setup blocks in this loop before I take data from list items or it needs to be separated like when I initilize screen to setup the layout and then in foreach block I only have population of each?


First blocks to generate layout and properties (not all the properties are setup yet but just for purpose of this post)


foreach item in list loop is messed up at the moment and nothing seems to be working ok, but I will try to get it work

The Guide is very useful and many other info explained clearly !

Really Helpful guide to create design :kissing_heart: