CA Service Management

Expand all | Collapse all

How to disable editing Activity Log in detail_alg ???

Jump to Best Answer
  • 1.  How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 02:37 AM

    Hi all!

    Have a question:

    How to disable editing Activity Log in detail_alg ??? Hide "edit" button ?

    Is any way by data partition or function access?



  • 2.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 03:02 AM

    Hi,

     

    There are two ways to do:

     

    1) Remove the 'Edit' option of the activity log htmpl file

    2) Use data partition to restrict editing

     

    Regards,

    Mohtesham



  • 3.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 03:16 AM

    Thanks for reply!

    Could you plese tell me how can i do it in detail by step???

    1)

    1.

    2.

    3.

    4.

    2)

    1.

    2.

    3.

    4.

    Thanks!



  • 4.  Re: How to disable editing Activity Log in detail_alg ???

    Broadcom Employee
    Posted 11-06-2014 03:58 AM

    Hi,

     

    Another way to achieve this is to enable the option activity_log_security in the Options Manager under Request-Change_Issue.

    This option allows/prevents the activity log fields from being edited. The exception being the 'Internal' field which will always be editable.


    Although this options is only available for request, change and issue. The Edit button is still visible but no fields can be update except the internal field.


    Best regards,

    Peter



  • 5.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 05:06 AM

    HI! Thanks for your reply.

    Also I am interesting in other 2 ways of solving my question!



  • 6.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 06:15 AM

    Best option is to enable the option activity_log_security in the Options Manager



  • 7.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 06:28 AM

    But in this way, - nobody can edit Activity Log. I want to disable it to role -  Analyst 2 Level, but Administrator can edit.



  • 8.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 06:39 AM

    1. Add act_log table in control table of data partition

    2. Create a Pre-Update\Update constraint for a data partition

    3. You may require to recycle the services since a act_log is added to control table

    4. Now try to update the activity log which will prevent upon type of constraint



  • 9.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 06:51 AM

    I did 1 action. But i don`t know what constraint I should type?

    I tried id=1, than id=0 ... but data partition doesn`t work.


    2. Create a Pre-Update\Update constraint for a data partition

    Can you write an example ???



  • 10.  Re: How to disable editing Activity Log in detail_alg ???

    Posted 11-06-2014 07:02 AM

    have you put obj_name as 'alg' ?

     

    If yes put the constraint type as 'Pre-Update' with 'id = 1'



  • 11.  Re: How to disable editing Activity Log in detail_alg ???
    Best Answer

    Posted 11-06-2014 07:21 AM

    pdm_load ctab.txt -i

    ctab.txt:

    TABLE Controlled_Table

      del desc obj_name sym

      { "0" ,"Activity Log Table" ,"alg" ,"ALG" }

    and after added constraint type as 'Pre-Update' with 'id = 1'

    It works. ))) thanks

     

    I was near solution))) (Before it i created constraint type as 'Update' with 'id = 1' and it didn't`t work).