Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is this possible to copy the table with the data?

2022_ServiceNow
Tera Expert

Hello everyone!

Is it possible to copy the existing table with the data and get the same table with the different name?

If possible, please let me know how to do the same..

Regards,

Priya

1 ACCEPTED SOLUTION

Thank you for the details.

I believe copying the table in this scenario would be highly discouraged because technically it would be different data altogether if you create a new table also, it would be hard to maintain it. Many other reasons as well.

I would suggest creating a new single line text variable and populate the value you want to display for one of the reference field into that using script and hide the reference variable using the UI policies once the request is submitted. That way one reference variable will be on the form with its actuall display value and single line readonly variable with the other display value that you want.

Please see details Multiple Reference Display values

Regards,

Muhammad

Regards,
Muhammad

View solution in original post

13 REPLIES 13

Hi @Priya

You are absolutely right there, display value for  table is global, and you can't maintain different display values for a single table

 

Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar

Hi,

I need to copy paste the table with the data so I can change the display value.

Thanks,

Priya

Yes, you will have to.

Best Regards
Aman Kumar

@Priya

Do you have any followups?

 

If no,

Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar