Want to create a landing page for incidents same as change when click on Create New
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
I have two types of incidents
one is Normal one
and second one is for someother type
when i click on create new incidents i want a landing page same as change where we can selecr standard and Normal change.
Is it possible to do
please let me know the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
hi @BokkalaS ,
Yes, that's possible and also refer out of the box interceptor for Change Table
Refer this link
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi @BokkalaS ,
I tried your problem in my PDI and it is working fine for me please check below solution.
Navigate to All> UI Pages, create New
Name : incident_landing
In HTML add below code
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div class="container">
<h2>Select Incident Type</h2>
<br/>
<button class="btn btn-primary" onclick="redirectTo('normal')">Normal Incident</button>
<button class="btn btn-info" onclick="redirectTo('special')">Special Incident</button>
</div>
<script>
function redirectTo(type) {
if (type == 'normal')
window.location = '/incident.do?sys_id=-1&incident_type=normal';
else
window.location = '/incident.do?sys_id=-1&incident_type=special';
}
</script>
</j:jelly>Now you can create a new Module under Incident application:
Navigate to sys_app_application_list table and open incident record and try to add new module under this please check link below
Create new Module from related list and give any name and type as URL(from Arguments) and give the name of your UI Page that created above.
Result:
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
