Hey there, i have a question about whether i can use components for the application i am developing. I am still learning how to leverage their power, and they seem like they should work, but i can't figure out how to make it happen.
[see screenshot of one screen below]. The application is meant as a step by step guide for project managers on my team. Projects are broken down into phases, phases to processes, and processes to steps. In this screen shot, you can see six repeating buttons, each with the name of a step for that process. To the right of that is an html text box with the details of that step. All of this is in a gallery, reading filtered data from a sharepoint list. If i can make those four buttons components than it will be easier to manage them.
I know i can set a variable inside the component, and read that variable somewhere else. So I could have button_1.variable1, button_2.variable1, button_3.variable1, etc as output properties of the component. My problem here is that i want the html text box for example to read the value of any of the button(x).variable1's, so that it knows which detail text to grab from the sharepoint list. on thinking about it a little more, i am thinking that i might need to create the gallery inside the component, rather than components inside the gallery.
Does this make sense? am i setting this up right? Can components help me?


Report
All responses (
Answers (