Results 1 to 4 of 4

Thread: Problem binding a report to a module

  1. #1
    ngutierrez is offline Member
    Join Date
    Mar 2008
    Posts
    5

    Exclamation Problem binding a report to a module

    I have a report made in ireport and added to sugarcrm as a jasperreport template by zucker report. I bind the report to the Accounts module and I cant get the shortcut menu in Accounts main menu: it appears as a shortcut when I select an account from the list of accounts. What am I doing wrong?

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Problem binding a report to a module

    I have the same problem

    In the end I added the report manually to the menu

    Code:
    $module_menu[]=Array("index.php?module=ZuckerReports&action=ReportOnDemand&record=d5bb5a7e-6ae3-119f-9bb8-482034d6076b&return_module=zz_jobh&return_action=ListView", 'Job Sheet', "target=blank");
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  3. #3
    ngutierrez is offline Member
    Join Date
    Mar 2008
    Posts
    5

    Default Re: Problem binding a report to a module

    Thanks for answering; you mean putting that in menu.php of Module Accounts? where I have something like this:


    if(ACLController::checkAccess('Accounts', 'edit', true))$module_menu[]=Array("index.php?module=Accounts&action=EditView& return_module=Accounts&return_action=DetailView", $mod_strings['LNK_NEW_ACCOUNT'],"CreateAccounts", 'Accounts');

    ??

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Problem binding a report to a module

    Quote Originally Posted by ngutierrez
    Thanks for answering; you mean putting that in menu.php of Module Accounts? where I have something like this:


    if(ACLController::checkAccess('Accounts', 'edit', true))$module_menu[]=Array("index.php?module=Accounts&action=EditView& return_module=Accounts&return_action=DetailView", $mod_strings['LNK_NEW_ACCOUNT'],"CreateAccounts", 'Accounts');

    ??
    Yes thats what I did
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2008-06-19, 10:36 AM
  2. Replies: 4
    Last Post: 2008-05-28, 07:59 PM
  3. Problem with custom fields in contact module
    By moschap in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-05-27, 03:48 PM
  4. Can't report on custom module
    By hubcrm in forum Developer Help
    Replies: 1
    Last Post: 2008-04-18, 12:03 PM
  5. Replies: 1
    Last Post: 2006-10-12, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •