Enabling Timestamping in New Projects

When you create a new project based on the HelpDesk project, the new project inherits the original timestamping fields and new Web views are created based on the Web views of the original project.

When a new Web view is copied from an existing one, timestamping fields retain their behaviour. However, if a new, blank Web view is created by clicking New View graphics/iNew.png, then additional steps need to be taken to enable timestamping.

To make timestamping work in Web views of the new project, you must update the Html code after control attribute of the Description, Description Log, Activity, and Activity Log fields.

You need to set the Html code after control attribute of the timestamping fields. The required HTML is included below. Note that it is formatted for readability—the attribute itself takes a single line of text.

Description

<script type='text/javascript'>
     document.write(
           parent.objCustomCode.getCodeAfterField(
                 '%fieldname%',
                 'mem_29_txtDetailedDescription' )
)
</script>

Description Log

<script type='text/javascript'>
document.write(
     parent.objCustomCode.getCodeAfterField(
           '%fieldname%',
           '' )
)
</script>

Activity

<script type='text/javascript'>
document.write(
     parent.objCustomCode.getCodeAfterField(
           '%fieldname%',
           'mem_56_mem_56_ActivityLog' )
)
</script>

Activity Log

<script type='text/javascript'>
document.write(
     parent.objCustomCode.getCodeAfterField(
           '%fieldname%',
            '' )
)
</script>