Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Worklog field that is like what's on ITRs

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Languages
Octocat-spinner-32 custom
Octocat-spinner-32 include
Octocat-spinner-32 scripts
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 changelog
Octocat-spinner-32 manifest.php
README.md

SugarCRM Custom Field - Worklog (v1.0)

By Jon Whitcraft - Engineer at SugarCRM

Updates and Information

Please note that this will not be supported in Sugar7. Sugar7 has the awesome new feature of ActivitySteams which provide simular functionality, but with better features. You can find out more about Sugar7 here: http://www.sugarcrm.com/sugar7

How To Use:

1 Download the add-on from https://github.com/downloads/sugarcrm/SugarFieldWorkLog/SugarFieldWorklog-v1.1.1.zip

2 Install the zip file via the Module Loader in the Admin Section

3 Add the custom code found below.

If you are adding a new field add a textarea field and then add the following lines to a file in custom/Extension/modules//Ext/Vardefs/.php

<?php

// new way that will store the data as a note attached to the record
// this is the recommended way to do this
$dictionary['Bug']['fields']['work_log']['type'] = 'notesworklog';
$dictionary['Bug']['fields']['work_log']['dbType'] = 'text';

// legacy way that will store the data in the field on the recored
$dictionary['Bug']['fields']['work_log']['type'] = 'worklog';
$dictionary['Bug']['fields']['work_log']['dbType'] = 'text';

You can also convert a current textarea field to a worklog field by adding the above code to a file.

ToDos

  • Attachment Support in Display
  • Display in Portal checkbox if portal is enabled on instance.
  • Inline Editing

License

SugarFieldWorklog by Jon Whitcraft is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. http://creativecommons.org/licenses/by-sa/3.0/

Something went wrong with that request. Please try again.