Answers.Body: <p>I've written an <a href="https://lab.civicrm.org/artfulrobot/case-cleanup" rel="nofollow noreferrer">extension</a> that will disable the bits that CiviCase creates.</p>
  
  <p>Install it, run it, uninstall it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-27T18:24:29.820Z
Answers.Text: are you able to change the accepted answer?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-28T12:06:11.137Z
Answers.Text: oh yeah, I am. Done.
Answers.UserDisplayName: artfulrobot
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-27T10:29:03.620Z
Answers.LastActivityDate: 2020-02-27T10:29:03.620Z
Answers.UserDisplayName: artfulrobot
Answers.Body: <p>The short answer is no. But it's a good point. I think this is mostly just left over from the original implementation when setting up civicase was difficult, and it was hard to know what it would look like without an example. There didn't used to be a UI - just hand-coded xml files.</p>
  
  <p>You might have to delete some of a case type's definition parts first before deleting the actual type, since it might consider it "in use". But you are going to need at least one case type, so as a workaround for now instead of deleting you can edit the case type.</p>
  
  <p>The relationship that is defined within the case type as the case manager has to exist.</p>
  
  <p>The Open Case activity type does need to exist since it has some semantics associated with it, along with some other activity types, e.g. "Link Cases".</p>
  
  <p>The Urgent status is used for hiliting on the Case Dashboard, but it will function fine if you delete it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-12T15:50:06.707Z
Answers.Text: we should add this to the wish list for our sprint
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-13T17:36:58.493Z
Answers.Text: Noted.                 ..           . .                               . .
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-11T21:55:41.070Z
Answers.LastActivityDate: 2019-02-13T17:35:03.227Z
Answers.LastEditDate: 2019-02-13T17:35:03.227Z
Answers.UserDisplayName: Demerit
Body: <p>When I enable CiviCase I get a whole load of sample configuration added in that I didn't want. Is there a way to (a) get rid of it easily and (b) install CiviCase without that happening in the first place?</p>
  
  <p>e.g. </p>
  
  <ul>
  <li>two case types are created. I can disable these but I don't seem to be able to delete them.</li>
  <li>several relationship types are created, I can delete them one by one...</li>
  <li>several case statuses are created (minor, only "urgent" needs to go)</li>
  <li>various other bits, I think.</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-27T10:29:52.090Z
Comments.Text: @andrea sure. But once you want rid, there's now an extension to make that quicker/easier: https://lab.civicrm.org/artfulrobot/case-cleanup
Comments.UserDisplayName: artfulrobot
Tags: <civicase>
Title: Is it possible to install CiviCase without all the sample data?
ThreadText: # Is it possible to install CiviCase without all the sample data?
  
  (Asked by: username_0 on 2019-02-11)
  
  When I enable CiviCase I get a whole load of sample configuration added in that I didn't want. Is there a way to (a) get rid of it easily and (b) install CiviCase without that happening in the first place?
  
  e.g.
  
  * two case types are created. I can disable these but I don't seem to be able to delete them.
  * several relationship types are created, I can delete them one by one...
  * several case statuses are created (minor, only "urgent" needs to go)
  * various other bits, I think.
  
  **Tags:** civicase
  
  > **Comments:**
  > **username_0**: @andrea sure. But once you want rid, there's now an extension to make that quicker/easier: https://lab.civicrm.org/username_0/case-cleanup  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2020-02-27. Score: 2 | Accepted answer
  
  I've written an [extension](https://lab.civicrm.org/username_0/case-cleanup) that will disable the bits that CiviCase creates.
  
  Install it, run it, uninstall it.
  
  > **Comments:**
  > **username_1**: are you able to change the accepted answer?  
  > **username_0**: oh yeah, I am. Done.  
  
  ---
  
  ### Answer by username_2 on 2019-02-11. Score: 5
  
  The short answer is no. But it's a good point. I think this is mostly just left over from the original implementation when setting up civicase was difficult, and it was hard to know what it would look like without an example. There didn't used to be a UI - just hand-coded xml files.
  
  You might have to delete some of a case type's definition parts first before deleting the actual type, since it might consider it "in use". But you are going to need at least one case type, so as a workaround for now instead of deleting you can edit the case type.
  
  The relationship that is defined within the case type as the case manager has to exist.
  
  The Open Case activity type does need to exist since it has some semantics associated with it, along with some other activity types, e.g. "Link Cases".
  
  The Urgent status is used for hiliting on the Case Dashboard, but it will function fine if you delete it.
  
  > **Comments:**
  > **username_3**: we should add this to the wish list for our sprint  
  > **username_2**: Noted.                 ..           . .                               . .  
  
  ---
  
  