"Source request" UI action in Procurement process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2016 01:01 AM
Hi,
I installed procurement plugin and when I click on "source request" UI action present on catalog task it is redirecting to a page which is asking for some details. Code of UI action is below
function openSourceRequestPage() {
var gr = new GlideRecord("sc_task");
gr.get(g_form.getUniqueValue());
var url = new GlideURL('$source_request.do');
url.addParam('sysparm_stack', 'sc_task.do?sys_id='+gr.sys_id);
url.addParam('sysparm_req_sysid', gr.parent);
url.addParam('sysparm_sc_task',gr.sys_id);
url.addParam('sysparm_nostack', 'true');
window.location.href = url.getURL();
}
What is glide URL? What will '$source_request.do' do. I tried to remove "$" and verified that it is redirecting to "source_request" page, but '$source_request.do' is redirecting to a page which I am not able to find in UI pages.
I want to edit the content in '$source_request.do' page. Is there anyone who worked on this?
Thanks,
Bhargava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017 05:44 AM
Curious, did you ever find a solution for this? We have the same need, would like to adjust the source_request UI page, but I know that could cause me issues. But we need to fill out another systems "Request #" within somewhere, I was thinking SN's PO creation too and your idea seemed like a good idea.
Did you idea work? And how did you execute it?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2017 02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 09:14 AM
Did you implement this ? if so, please let us know if that worked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 10:56 AM
@rohit2926 please see my answer in the below post:
https://community.servicenow.com/community?id=community_question&sys_id=cf74162ddbc4bf48d82ffb2439961954
In short you cannot edit or view the code for the OOB source_request UI page. You can however create new functionality and a new page which utilizes the OOB functionality as per your requirements. Is is definitely more work as you mostly have to 're-invent' the wheel so to speak but it is possible.