I have a button inside the dynamic component, which when clicked will open a link in an internet browser.
This link returns from a database (google spreadsheet).
But when I click on the button it opens all the links. But I would like it to open only the link corresponding to the dynamic component.
Where am I wrong?
I’ve tried it this way, but it gives an error.
You must get index of the clicked dynamic component(button) and it will act as index number.
If not an issue, show us your dynamic component procedure block
When any button click
- If the component Isdynamic
Use one local variable
Initialise local varible to replace the text (get I’d of the component ) segment (button) replace (empty text box)
So now this local variable will hold the Index number of the dynamic button which you clicked , and use this variable in the index place of the select list item list (get global link)
I Mean like this, this block will give you the index of the button you clicked
That segment must match with you what you have input for button while setting ID
Legal. I’ll test it and come back later to let you know if it worked. I will need it now…
Thank you for your help
No @dora_paz it’s another screen now.
But approach is the same since you are using dynamic components. Once you got the index you can do whatever you need. You should have learned from previous example
Yes it’s the same principle.
You are right, I will check and study this example further:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.