- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:07 PM
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
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:33 PM
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
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:27 PM
Hi,
I want to use the same table with the data in the 2 fields in Service Catalog. So, in one of the field, I need to change the display value to email and in another the display value to name.
To do this, I thought of copying the table with the data. If I use the same table and change the display value, it will be changed everywhere wherever we are using the same table.
Please correct me if I'm wrong somewhere!
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:33 PM
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
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 09:33 AM
@Priya - I hope that you are able to understand the best practice and followed the steps to achieve your goal. If so, please close the thread by marking the best-suited response as correct to help benefit others in the future.
Feel free to ask if you have any questions.
Have a nice one 🙂
Regards,
Muhammad
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:24 PM
Hi,
I agree to the point mentioned by Muhammad.
Please provide some details on your use-case
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:28 PM
Hi,
I want to use the same table with the data in the 2 fields in Service Catalog. So, in one of the field, I need to change the display value to email and in another the display value to name.
To do this, I thought of copying the table with the data. If I use the same table and change the display value, it will be changed everywhere wherever we are using the same table.
Please correct me if I'm wrong somewhere!
Thanks,
Priya
