- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I am sure I'm missing something obvious here but hoping you can help.
I have a particular catalog item which I want to add to a custom workspace. I have added a page to the workspace and used the "catalog item" option from the content.
On the right, I set the sys_id for the one that I wanted. This then loads the form appropriately on the page.
The issue comes when I submit the catalog item. It works - the workflow does process and finish, the request is created fine. The form, however, hangs. You can see the submit button is now greyed out, but it never moves from there.
As I mentioned, I'm sure I'm missing something obvious. Am I missing the right method of doing this?
I have tried adding an event handler to move it to a record form after (which I don't really want) instead and also added a client script in that refreshes the form. The refresh works (it just refreshes the page) but it comes with the issue of generating hundreds of instances of the associated workflow.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks for the replies - this is what I ended up going with. On the catalog item you need refreshing upon submit, create an onSubmit catalog client script.
function onSubmit() {
// Alert user the form has been submitted.
alert("This has been submitted and the page will now refresh.");
// Refresh the form after submission
setTimeout(function() {
location.reload();
}, 1000); // Adjust the timeout value as needed
}This will then show a message that its been submitted, and refreshes the page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks for the replies - this is what I ended up going with. On the catalog item you need refreshing upon submit, create an onSubmit catalog client script.
function onSubmit() {
// Alert user the form has been submitted.
alert("This has been submitted and the page will now refresh.");
// Refresh the form after submission
setTimeout(function() {
location.reload();
}, 1000); // Adjust the timeout value as needed
}This will then show a message that its been submitted, and refreshes the page.
