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 Profiles (Moderator: Dave Greenberg) »
  • Creating a new activity via a profile
Pages: [1]

Author Topic: Creating a new activity via a profile  (Read 1480 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Creating a new activity via a profile
August 14, 2011, 05:10:25 pm
when I create a profile with both individual fields ( first name and last name) and activity fields (such as date, subject, etc )  I am unable to use the profile as a stand-alone profile form.

How is this feature meant to be used?   What I would like to happen:  Every time some one files out the profile,  a new activity record is created, linked to the person that filled out the form.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Creating a new activity via a profile
August 14, 2011, 11:26:55 pm

The create mode vi profile is not supported as yet. Currently edit/view mode is supported (thanx to the ARMS project which sponsored this functionality)

If your org / client would like to contribute code and or sponsor this feature that would be great. I suspect its a 20-40 hour project

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Creating a new activity via a profile
August 15, 2011, 05:54:04 am
How is the existing functionality mean to be used?

I tried using the profile in "edit" mode, but got the error message:
"This activity cannot be edited or viewed via this profile. "
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Creating a new activity via a profile
August 15, 2011, 07:25:11 am

q=civicrm/profile/edit?reset=1&gid=PROFILE_ID&id=CONTACT_ID&aid=ACTIVITY_ID

the profile needs to match the activity type of ACTIVITY_ID

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Creating a new activity via a profile

This forum was archived on 2017-11-26.