CA Service Management

  • 1.  How to hide "Tenant" field in list_zForm.htmpl

    Posted Nov 21, 2018 04:22 PM

    Hello, I created a table "zForm" with "tenant optional" :

     

    and the list_zForm related to that table, shows the tenant field, but I can't see where is the code about that field in the form:

     

     

    I need to hide it!

     

    Thanks in advance!

     

    Ana KBS



  • 2.  Re: How to hide "Tenant" field in list_zForm.htmpl

    Posted Nov 21, 2018 05:31 PM

    Since the list_zForm.htmpl file was created by your customization nobody else on this forum has it. Perhaps you could attach it to the post so others can see?

    Also, I see that you did not specify a Default Display Field (common name) or Foreign Key Field (rel attr) in your table definition. These will be important if you create a field on another table that is an SREL to this table.



  • 3.  Re: How to hide "Tenant" field in list_zForm.htmpl

    Posted Nov 22, 2018 07:41 AM

    Thanks Lindsay_Estabrooks

     

    The table was a example to show the "tenant optional" option.

     

    The original table has Default Display Field (common name) and Foreign Key Field (rel attr).

     

    This is the code of the list form:

     

    <PDM_MACRO name=lsStart>
    <PDM_MACRO name=lsCol hdr="Email" attr=email disp_entities="yes" export="no" startrow="no">
    <PDM_MACRO name=lsCol hdr="Solicitud #" attr=zcodigoSR disp_entities="yes" export="no" exportFmt="ShowLink" fmtfunc="CallSYS" keeplinks="yes" keeptags="yes" link=yes startrow="no">
    <PDM_MACRO name=lsCol hdr="cliente" attr=email startrow="no">
    <PDM_MACRO name=lsCol hdr="Inc/Sol/Pro #" attr=object_id startrow="no">
    <PDM_MACRO name=lsCol hdr="Sec. Tarea" attr=task_id.sequence startrow="no">
    <PDM_MACRO name=lsCol hdr="Tarea" attr=task_id.task.sym startrow="no">
    <PDM_MACRO name=lsEnd>

     

    As you can see, the "Tenant" field is not shown in the design form but in execution does.

     

     

    I'd like to know if there is any option to hide it in the execution time.

     

    Thanks and regards.

     

    Ana KBS.



  • 4.  Re: How to hide "Tenant" field in list_zForm.htmpl

    Posted Nov 24, 2018 06:25 PM

    Without seeing all the code of the form it is difficult to tell. For instance, I see a reference fmtfunc="CallSys" and have no idea what that will do.

    Also, I am curious why you are showing the attribute email in two columns.