Answers.Body: <p>I think the fix is in 4.7 - I have the same problem in 4.6.10.</p>
  
  <p>There is a workaround - you can set any of the other fields as a link to the activity.</p>
  
  <p>In your chosen field (I used the Activity Subject), go to 'Rewrite results' and select 'Output this field as a link'. In the Link path field, add:</p>
  
  <p>civicrm/activity?action=view&amp;reset=1&amp;id=[id]&amp;cid=!1</p>
  
  <p>Then apply the change and save your view. This gives a link to the activity - if you want an edit link, try:</p>
  
  <p>civicrm/activity/add?reset=1&amp;atype=&amp;action=update&amp;reset=1&amp;id=[id]&amp;cid=!1&amp;context=activity</p>
  
  <p>Views will replace [id] with the activity ID and !1 with the contact ID</p>
  
  <p>(If you want a text link separate from the other fields, add a Global custom text field and set it to rewrite as a link)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-17T16:35:23.297Z
Answers.LastActivityDate: 2015-11-17T16:35:23.297Z
Answers.UserDisplayName: liblogger
Body: <p>When creating a view in Drupal 7 to display CiviCRM activities (v 4.6) there is a text-link field available.</p>
  
  <p>On selecting this field it can be configured to perform contact actions or activity actions (view, edit, delete) and set the link text as well as label.</p>
  
  <p>I'd expect this to provide one of the text links we are all familiar with from the CiviCRM interface - however, when configured for activities, the result is that no data is displayed at all. There is no error message, the content is no longer displayed.</p>
  
  <p>This happens regardless of the display settings (table, grid, calendar etc) for the view.</p>
  
  <p>Is this field known to be broken, or should I persevere?</p>
  
  <p>I have come across a similar problem before although this is marked as fixed in 4.6:</p>
  
  <p><a href="https://issues.civicrm.org/jira/browse/CRM-15008" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-15008</a></p>
  
Tags: <drupal-views>
Title: Is the text-link field broken in D7 views integration?
ThreadText: # Is the text-link field broken in D7 views integration?
  
  (Asked by: username_0 on 2015-11-17)
  
  When creating a view in Drupal 7 to display CiviCRM activities (v 4.6) there is a text-link field available.
  
  On selecting this field it can be configured to perform contact actions or activity actions (view, edit, delete) and set the link text as well as label.
  
  I'd expect this to provide one of the text links we are all familiar with from the CiviCRM interface - however, when configured for activities, the result is that no data is displayed at all. There is no error message, the content is no longer displayed.
  
  This happens regardless of the display settings (table, grid, calendar etc) for the view.
  
  Is this field known to be broken, or should I persevere?
  
  I have come across a similar problem before although this is marked as fixed in 4.6:
  
  <https://issues.civicrm.org/jira/browse/CRM-15008>
  
  **Tags:** drupal-views
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-11-17. Score: 2
  
  I think the fix is in 4.7 - I have the same problem in 4.6.10.
  
  There is a workaround - you can set any of the other fields as a link to the activity.
  
  In your chosen field (I used the Activity Subject), go to 'Rewrite results' and select 'Output this field as a link'. In the Link path field, add:
  
  civicrm/activity?action=view&reset=1&id=[id]&cid=!1
  
  Then apply the change and save your view. This gives a link to the activity - if you want an edit link, try:
  
  civicrm/activity/add?reset=1&atype=&action=update&reset=1&id=[id]&cid=!1&context=activity
  
  Views will replace [id] with the activity ID and !1 with the contact ID
  
  (If you want a text link separate from the other fields, add a Global custom text field and set it to rewrite as a link)
  
  
  ---
  
  