add a new row to the html table dynamically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2012 03:29 PM
I want to add a row to the table in UI page when I click on button Add row. This table has two cells 1. checkbox and other a reference field to user table. I am trying to write a code in client script of the UI page but dont know how to create a reference field each time the button is clicked. Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2012 01:53 AM
Dynamic Reference fields
This should be a good starting point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2012 07:23 AM
Thanks, I actually took the part of code posted at the end of this thread and used in my script. Now I am able to add row and enter the reference fields but It is not cloning. When I click on Request button at the end to do the clone. It is not cloning. Can you please tell me what should I do to have cloning done for the rows I am adding using the client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 03:10 AM
Hi adiddigi,
I have checked your thread. but when i click on my "Add" button it is not creating reference field.
i am able to generate dynamic field but it's only creating text type of field
Can you please guide me?
SimonMorris ctomasi goranlundqvist
Thanks,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 09:00 AM
My first question would be.. Do this need to be in a UI Page? Since I would totally recommend building this as a Service Portal page instead with a widget.
//Göran