POC (list of Request items should be displayed under a Request Item)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 02:20 PM
Hi Developer Community,
Please go through this document and give your thoughts and ideas if any ...
Example :
I have a request item 'RITM0407164'. Which is having a Variables section where I am creating a request (button from UI page) which opens a new window to request another Request Item. So all those requests I make by clicking the button should be displayed as shown below( i have hardcoded them )
Here is the new request screenshot in a new window:
after Ordering
On clicking on the request it shows the Request Item number
This 'RITM0407649' should be displayed on my first screen under the list, it has to do the same whenever I create a request under 'RITM0407164'. (Like parent request item).
Please feel free to ask any questions you have. I can use the best possible approach, my thoughts were to use Restful request
Thanks,
Harsha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2017 11:28 AM
Quick answer, don't! (create a new Request from a Request!)
REQ -> RITM -> TASK always works, otherwise you might not be doing it right.
Look into how to add new tasks to your REQ instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 07:35 AM
Thanks for the reply Stefan Ojeblom.
The logic was already initiated, I don't think I can reimplement the whole thing.
I have used localStorage to store the Parent Request Item Number and fetched it in the child request item to store it in the sc_req_item database(parent id is stored in correlation id of a child record so that i can make a parent-child relationship). I am able to fetch the child records making a REST call.
The problem is that logic only works when I drive down all the way to child record page, as I have used g_form to get&set the values. It should be more dynamic to fetch the child results.