My requirement is to Create a table based on some inputs values. I Have “Number start” and “Number End” inputs. If fill data like Number start=1 number end=6 below image
Hi @NagarjunaS16644648: Hope the table is sourced with a page list property. This would be a data manipulation to add new pages into the pagelist. Looking into this this is a for loop, so you may need to use activity in the refresh action of add button to use for loop and append new page into the page list.
Technically this can be done using data transform too.
Let us know if you are facing issues in the implementation.
Step 1: Property set - Set the Number start and number end in parameter (Integer)
Step 2: In loop select for loop, in minimum and maximum use the parameter set in step 1 and increment as 1. Step method is as property set. Expand method and set. YourListProperty().Your propertyname with value (Sno). In the same method add item to set the other properties using () instead of append keyword so that it will set in the same page.
Please try this and let us know if you are facing issue.
@NagarjunaS16644648 sure, for achieving for loop activity is easier. In the activity if you see for loop you will get to know how to do it. For loop expects starting and ending number which is entered by user.
So you pass those starting and ending values from user to the activity as parameter and use that in for loop.
Now within the loop, if its 1 to 5, data will be looped from 1 to 5 within the loop. You just need to get that data. That is by-> within the for loop you need to append each of the data to the pagelist. So your pagelist will have 1-5 records.
Now the table sourced with that pagelist will have this data.
@Anoop Krishna But I don’t have much knowledge on activities. If you don’t mind can you tell me step by step ? One more how increase knowledge on activities and data trasfer
No SNO for all records and Apply this activity OnCLick of Add Button. But only one record was added into table No Start=1 No End=6 when click ADD button
@NagarjunaS16644648 In step 3 property-set, after S. No=Temp.numberstart. You can set temp.numberstart = temp. numberstart= temp. numberstart+1.
You can also maintain this counter using a param. Counter (of integer type). After S.no property set, you can set temp. Numberstart to a param. Counter, then you can increment by 1.
@NagarjunaS16644648 you can become good activities and DT by practice. With whatever steps I have provided, try to implement using activity. Then if you are stuck anywhere, you can post your doubts. Then you will understand activities and DT more
@NagarjunaS16644648 Can you trace the activity on click of button? And check if data is getting copied to your pagelist. Action should be like->
On click-> Refresh this section(within that call your activity)
Also check if parameter is getting passed from your section to your activity. Define your parameters in parameter tab and pass parameters from the place where you are calling this activity(refresh this section).