Link in the table column
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2015 03:29 AM
Hi All,
I have a requirement to have a column in the table which should be of type link/button and that link/button will be linked to store few data in another table.
Below shown table is my "Training" table in that I need to have a link "Register". How can I do this?
Thanks,
Sowmya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2015 03:50 AM
Sowmya,
You can create a field on your table with a type URL and store the link there. Then you can personalize the list view and add that field on the list. This should do it.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2015 05:01 AM
Hi Sergiu,
My requirement is as shown below. where "Link" column should have a "Register" button/link for all the new entries too(automatically get added). Once I click on register button/link the status of another table will get set into "Enrolled". I tried with type "URL" but I think I can't achieve below requirement using "URL" type. So, can you please look into this and help me out.
Thanks,
Sowmya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2015 05:40 AM
Yes, you can still achieve that with a URL type field. This field will be present automatically on all new records for that table.
Have a look at this example:
Create a new URL field, add it to your form, Personalize Dictionary on that field, check the "Calculated" checkbox, and put the following in the "Calculation" field:
<span>
javascript:"</span><a class="jive-link-external-small" href="https://community.servicenow.com/external-link.jspa?url=https://demonightlyus.service-now.com/nav_to..." rel="nofollow" target="_blank">https://demonightlyus.service-now.com/nav_to.do?uri=</a><span>" + current.getLink(true)
</span>
Replace "demonightlyus" with your instance.
from this post:
In your case when you add that field to the list view, it should display the link you want.
Regards,
Sergiu