I changed some things around, because even though the dashlet worked in my test environment, it didn't work reliably in our production environment. Possibly I didn't upload a needed file. I don't know exactly, because I am not adhere to proper control methods.
The key seems to be in include\Dashlets\DashletGeneric.php, inside buildWhere(), around line 244. I'm still learning, though.
Code:
// JAT 1/25/08 - Issues, follow Issues
if($name == 'created_by'){
$module = get_class($this);
if($module == 'mycreatedcasesdashlet'){
array_push($returnArray, $this->seedBean->table_name . '.' . "created_by = '" . $current_user->id . "'");
continue;
}
}
// END JAT 12/10/07 - 1/25/08 There's still testing to do, so I'll keep you posted!
- Jackie
Bookmarks