How to hide 'Save' button from the 'Add Record' page.

How to hide 'Save' button from the 'Add Record' page.

book

Article ID: KB0082129

calendar_today

Updated On:

Products Versions
TIBCO MDM ALL

Description

There is a use case where customer wants to hide the 'save' option from UI while creating a record.In that case they can click save and process button instead of save,so that record can be added as confirmed version.From this we can avoid unconfirmed version records in a repository to overcome mistakenly or unintentional record addition.

This can be utilized whenever user wants to have only confirmed state records.

Environment

ALL

Resolution

-Create customInit.html file in 'Enterprise folder' under 'htmlprops',if it doesn't exist.
-Open that file and write below code:

<SCRIPT type="text/javascript">
function customInit()
{
        var divsave = document.getElementById("btnSaveImage");
            divsave.style.display = 'none';
  
}
</script>
                                             
-Above code removes 'Save' button from the 'Add Record' Page. For checking only refresh that page, there is no need to restart the JBOSS server.

Issue/Introduction

Hide the 'Save' option at the time of record creation.

Additional Information

MDM Boot Camp in that unit 19 record UI,Lab P Custom UI