CA Service Management

Expand all | Collapse all

SMD - 'Required' check box grayed out in schema

  • 1.  SMD - 'Required' check box grayed out in schema

    Posted 06-17-2017 08:51 PM

    I can't seem to change the 'Requestor' field in the schema to not be required.  The check box is grayed out, as shown below.  Am I doing something wrong?

     

    Thanks.

    Tammy

     



  • 2.  Re: SMD - 'Required' check box grayed out in schema

    Posted 06-18-2017 04:36 PM

    As far as I know there is no way to uncheck it.

     

    As a workaround you can define a default value on a form level:

    <input type="hidden" name="SET.requestor" value="<DEFAULT_UUID_HERE>">

    Or you can set current user as defualt on schema level:

    // FileName: z_cr_dflt_req.mod
    MODIFY cr requestor
    {
    ON_NEW DEFAULT USER;
    };

     

    Regards,

    cdtj



  • 3.  Re: SMD - 'Required' check box grayed out in schema

    Posted 06-18-2017 06:33 PM

    Thanks... It just seems pretty strange that the 'Requested by' field in the incident and call request tables can be checked or unchecked, but not the 'Requestor' field in the change table....

     

    Tammy



  • 4.  Re: SMD - 'Required' check box grayed out in schema

    Posted 06-19-2017 09:05 AM

    Hi Tammy,

    I think, the difference is that the first(chg.requestor) is required on both layers (object and db schema) by default, while the requested_by attribute in the in object (Call_Req Table) is only made required (by the checkbox) on the object layer.

    Kind Regards

    ........Michael