Results 1 to 7 of 7

Thread: Export Disabled.. is this a bug!?!

  1. #1
    sherlock is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    13

    Exclamation Export Disabled.. is this a bug!?!

    When I login as "admin" I can export no problem in the CASES module.. when I login as a normal user that has all permissions set for the "CASES" module set to ALL, this user cannot export data!?!? I am taken to the export.php page and shown "Exports Disabled."

    Reading back there have been previous bugs relating to the Export feature not working, but this was a year ago.. anyone else having the same problem for the latest version of SugarCRM?
    Last edited by sherlock; 2007-11-09 at 02:51 PM.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Export Disabled.. is this a bug!?!

    While logged in as Admin, click "Admin", then "System Settings."

    Scroll down and verify that the option for "Disable Export" and "Admin export only" are not checked. If they are, uncheck them and save your settings.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    sherlock is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    13

    Default Re: Export Disabled.. is this a bug!?!

    Thank you Angel Magaņa!

  4. #4
    telania is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    12

    Default Re: Export Disabled.. is this a bug!?!

    You know I have been having this issue with exporting contacts out my account.

    All I get is header columns and all blank after that.

    Any ideas what might be wrong?

    I have the latest version of sugars open source.
    Attached Files Attached Files
    Last edited by telania; 2007-11-13 at 09:58 PM.

  5. #5
    sebs is offline Member
    Join Date
    Aug 2008
    Posts
    6

    Default Re: Export Disabled.. is this a bug!?!

    Hello,

    I have problem with export functionality in Sugar 5.0f CE. There are no "select" menu, "export" and "delete" buttons also check boxes are missing in Project list and Project Tasks list when I log as normal user (non admin). "Admin export only" and "disable export" are set to false. User is assign to role with full access to Project (option "enable" or "all" in role rights). All others modules allow exporting for this user. When logged as admin exporting projects/project tasks is available.

    I think that problem is in file view.list.php. When this file is removed export is working correctly.

    What should I do to turn on export for Project/Project tasks without removing view.list.php?
    Attached Images Attached Images     

  6. #6
    sebs is offline Member
    Join Date
    Aug 2008
    Posts
    6

    Default Re: Export Disabled.. is this a bug!?!

    There are two ways to solve this problem. I tested it on Sugar 5.0f CE and it works. Rights set by roles are also applied.

    Solution 1 (very easy)

    Remove or rename two files: modules/Project/views/view.list.php and modules/ProjectTask/views/view.list.php. It seems that those files are not necessary for those modules to work correctly. I noticed only one change - mass update will appear.

    Solution 2 (easy)

    Edit two files: modules/Project/views/view.list.php and modules/ProjectTask/views/view.list.php Both of them are identical except class name and constructor. Changes must be applied to both of them.
    Change this
    PHP Code:
            global $current_user;
            
            if (!
    is_admin($current_user)){
                
    $params = array( 'massupdate' => false );
                
    $lv->export false;
            }
            else{
                
    $params = array( 'massupdate' => true'export' => true);
            } 
    to this
    PHP Code:
            global $current_user;
            
            if (!
    is_admin($current_user)){
                
    //$params = array( 'massupdate' => false );
                //$lv->export = false;
                
    $params = array( 'massupdate' => false'export' => true );
            }
            else{
                
    $params = array( 'massupdate' => true'export' => true);
            } 
    also change this
    PHP Code:
            if(empty($_REQUEST['search_form_only']) || $_REQUEST['search_form_only'] == false){
                
    $this->processQuickSearch();
                if (!
    is_admin($current_user)){
                    
    $lv->setup($seed'include/ListView/ListViewNoMassUpdate.tpl'$where$params);
                }
                else {
                    
    $lv->setup($seed'include/ListView/ListViewGeneric.tpl'$where$params);
                }
                
    $savedSearchName = empty($_REQUEST['saved_search_select_name']) ? '' : (' - ' $_REQUEST['saved_search_select_name']); 
    to this
    PHP Code:
            if(empty($_REQUEST['search_form_only']) || $_REQUEST['search_form_only'] == false){
                
    $this->processQuickSearch();
    /*            if (!is_admin($current_user)){
                    $lv->setup($seed, 'include/ListView/ListViewNoMassUpdate.tpl', $where, $params);
                }
                else {*/
                    
    $lv->setup($seed'include/ListView/ListViewGeneric.tpl'$where$params);
                
    //}
                
    $savedSearchName = empty($_REQUEST['saved_search_select_name']) ? '' : (' - ' $_REQUEST['saved_search_select_name']); 
    In this solution mass update will not appear.

  7. #7
    manfredpw is offline Member
    Join Date
    Sep 2010
    Posts
    9

    Wink Re: Export Disabled.. is this a bug!?!

    Quote Originally Posted by Angel View Post
    While logged in as Admin, click "Admin", then "System Settings."

    Scroll down and verify that the option for "Disable Export" and "Admin export only" are not checked. If they are, uncheck them and save your settings.


    Just a tip that may help someone: I'm using SugarCRM 6.0, and the export options mentioned above are located in "Admin" -> "Locale", not in "Admin" -> "System Settings"

    Greetings

    Manfred P. Wilke

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem: Exports Disabled
    By greeksugar in forum Help
    Replies: 7
    Last Post: 2011-09-17, 11:16 PM
  2. Replies: 0
    Last Post: 2006-04-21, 02:48 PM
  3. Export Search results (bug??)
    By dkikalis in forum Feature Requests
    Replies: 0
    Last Post: 2005-10-20, 10:49 AM

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
  •