get the sys_id of the form in widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 06:19 AM
Hi,
I have a record producer. After submitting it is going to a page. Inside that page a simple widget is there showing registration successful.
I want to bring the sys_id of the submitted record inside the widget so that I can do other stuffs. Can you help how to to do?
RP Script:
HTML in widget:
<div>
<!-- your widget template -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<div class="container">
<span class="glyphicon glyphicon-ok-circle"></span>
</div>
<br>
<br>
<br>
<p class="text">
Registration successful. Thanks for registering!
<p>
<br>
<hr/>
<a href = "{{data.addToCalender}}+{{ ---SYS_ID I WANT--- }}" target="_blank"> <span class="fa fa-calendar-plus-o"></span> Add to calendar</a>
</div>