CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Activity types don't load
Pages: [1]

Author Topic: Activity types don't load  (Read 1142 times)

Geoffrey

  • Guest
Activity types don't load
November 16, 2010, 03:07:58 am
I have created some activity types for civiCase and addes those activity types to the xml-configuration files of my case types.

Unfortunately, those activities don't appear in my list of new activities for a case.

What could be wrong?


Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Activity types don't load
November 16, 2010, 03:16:51 am
Could you give some examples of activity type names as you write them in both UI and XML files? Naming of both cases and activity types is a bit sensitive in CiviCase. Also make sure you selected right component for your activity types.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Geoffrey

  • Guest
Re: Activity types don't load
November 16, 2010, 03:30:51 am
Hello,

This is my xml-configuration file for the case type I'm using:

Code: [Select]
<?xml version="1.0" encoding="iso-8859-1" ?>

<CaseType>
  <name>SVK</name>
  <ActivityType>
      <name>Open Case</name>
      <max_instances>1</max_instances>
     </ActivityType>
        <ActivityType>
      <name>Change Case Type</name>
    </ActivityType>
    <ActivityType>
      <name>Change Case Status</name>
    </ActivityType>
        <ActivityType>
      <name>Follow up</name>
    </ActivityType>
    <ActivityType>
      <name>Dossiergegevens</name>
    </ActivityType>
     <ActivitySets>
       <ActivitySet>
      <name>standard_timeline</name>
      <label>Standard Timeline</label>
      <timeline>false</timeline>
      <ActivityTypes>
        <ActivityType>
          <name>Open Case</name>
          <status>Completed</status>
        </ActivityType>
      </ActivityTypes>
    </ActivitySet>
    </ActivitySets>
    <CaseRoles />
</CaseType>

My Activity type is called "Dossiergegevens". It's written exactly the same (with capital D) as I entered it in the UI and I have selected civiCase as the component for this activity.

Thanks for your help!!

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Activity types don't load
November 16, 2010, 05:42:33 am
You have a malformed xml file. The list of activity types at the beginning of the file (start immediately after case type name) should be enclosed in <ActivityTypes></ActivityTypes> tag.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Geoffrey

  • Guest
Re: Activity types don't load
November 16, 2010, 06:15:58 am
Well, this solved my problem ideed...

Thank you very very much!!  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Activity types don't load

This forum was archived on 2017-11-26.