Question
Creation of dynamic list using the data entered in a local data source
How to create a dynamic list using the data entered in a local data source?
For example: there is a picklist defined as "Rolename" . Presently there is only 1 option as other. After the "other" option is selected, a new textbox is shown where we can enter a new rolename(suppose-engineering trainee). The next time the case is run the picklist will show two options as- Engineering trainee and other, upon clicking engineering trainee we may proceed forward or by clicking other the aforementioned functionalities will take place.
Thank you...
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
Hi,
Here how you can similar scenario:
1) Create a data table (local data storage) with property .RoleName
2) In records create RoleName as "other".
3) In the work class create two property .RoleName and .NewRoleName
4) Fetch the .RoleName from the datapage D_RoleNameList which in turn query the table created in the first step.
5) Have refresh this section on the .RoleName change event.
6) For .NewRoleName has condition on visibility. something like .RoleName=='Other'
7) Write an activity on post processing "commitRoleName"
8) Have a when rule in the first step
9) Create a role page for data class
10) do a property-set and then obj-save. and then remove the role page.