Results 1 to 4 of 4

Thread: Remove Relationships

  1. #1
    matt.stannard is offline Sugar Community Member
    Join Date
    Apr 2010
    Posts
    57

    Default Remove Relationships

    Hi there,

    We deployed some modules using the Module Loader.

    They have some relationships but I can't remove them, I've tried the methods described and done the Repair / Rebuild they don't seem to work :-(

    Can anyone help me?

    M

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

    Default Re: Remove Relationships

    Delete Relationship

    The following table lists the files to review where

    lhs = left hand side of relationship (table/lowercase module name)
    rhs = right hand side of relationship (table/lowercase module name)
    lhsmn = lhs module name (==lhs for Ivy modules)
    rhsmn = rhs module name (==rhs for Ivy modules)

    Module names follow the case of the name, e.g. Meetings
    The actual files found vary on the type of relationship, e.g. less rhs files for One-Many than for Many-Many.

    Note: If action is EDIT and only find details for the relationship being deleted, then DELETE
    File Action
    custom/Extension/modules/lhs/Ext/Language/en_us.customlhs_rhs.php DELETE
    custom/Extension/modules/lhs/Ext/Layoutdefs/customlhs_rhs.php DELETE
    custom/Extension/modules/lhs/Ext/Vardefs/customlhs_rhs.php DELETE
    custom/Extension/modules/rhs/Ext/Language/en_us.customlhs_rhs.php DELETE
    custom/Extension/modules/rhs/Ext/Layoutdefs/customlhs_rhs.php DELETE
    custom/Extension/modules/rhs/Ext/Vardefs/customlhs_rhs.php DELETE
    custom/Extension/modules/relationships/language/lhsmn.php EDIT
    custom/Extension/modules/relationships/language/rhsmn.php EDIT
    custom/Extension/modules/relationships/layoutdefsmn/lhs.php EDIT
    custom/Extension/modules/relationships/layoutdefsmn/rhs.php EDIT
    custom/Extension/modules/relationships/relationships/lhs_rhsMetaData.php DELETE
    custom/Extension/modules/relationships/vardefs/lhsmn.php EDIT
    custom/Extension/modules/relationships/vardefs/rhsmn.php EDIT
    custom/Extension/application/Ext/TableDictionary/customlhs_rhs.php DELETE
    custom/metadata/lhs_rhsMetaData.php DELETE

    Drop the table lhs_rhs_c from the database.
    Delete the relationship entry (relationship_name of lhs_rhs) from the relationships table.
    Perform Sugar Repair.

    Use Studio to remove fields from Layouts, both view and search definitions, that were retrieved using the relationship; Deploy & test.
    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
    ashu_ju is offline Member
    Join Date
    Jul 2010
    Posts
    11

    Default Re: Remove Relationships

    Hi,

    I am new to sugar CRM CE 6.0, In studio-> account module -> relationships many to many relation already defined but I need one-to-may relation to display the accounts pop-up in projects and projects list in accounts subpanel. while I adding the new relation one-to-many the Accounts details view displays two projects subpanel. I don't want the many-to-many one in accounts.

    please help

  4. #4
    knoop is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    79

    Unhappy Re: Remove Relationships

    I'm facing the same problem. How to remove, disacctive or change the default relationship
    Prod: Version 6.1.0 (Build 5389)
    Test: Version 6.4.2 (Build 7526)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to remove "Edit" and "remove" buttons from subpanel
    By marko.kocic in forum Developer Help
    Replies: 9
    Last Post: 2011-12-19, 08:50 PM
  2. To remove "edit" and "remove" button in the Subpanels?
    By jollyguy77 in forum Developer Help
    Replies: 0
    Last Post: 2009-11-23, 03:55 PM
  3. How to Remove Relationships
    By thisisyoyo in forum General Discussion
    Replies: 1
    Last Post: 2008-10-30, 07:31 PM
  4. one-to-many relationships
    By lee1974 in forum Developer Help
    Replies: 2
    Last Post: 2007-08-24, 03:09 AM
  5. Replies: 0
    Last Post: 2006-04-19, 04:37 PM

Tags for this Thread

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
  •