You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

"Submit Sample" is a "Run Process" element and "Manage Sample" is a "CRUD" element. We can combine the ability to "Run Process" into CRUD's add button. With this, we can hide the "Sample Approval Process" category.

First of all, obtain the "Custom ID" / Link ID or the "Run Process" element as shown in the figure above.

Then, insert the following script into the "Custom Footer" of the CRUD.

$("button[value='CRUD_New']").click( function(event){
    event.preventDefault();
    window.location.href = "sample_submit_process"; //replace the value with the custom ID of Run Process
});

By doing so, we have remove the default capability of "Add Record" in CRUD and points it to "Run Process".

Related Elements

 

 

 

  • No labels