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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Configure basic Dashboard settings for all users at the same time?
Pages: [1]

Author Topic: Configure basic Dashboard settings for all users at the same time?  (Read 476 times)

joemcl

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 1
    • Citizen Action of New York
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.6
  • PHP version: Unsure
Configure basic Dashboard settings for all users at the same time?
September 08, 2014, 11:41:18 am
Is there a setting (I looked, didn't find it ) to let the admin add reports to the Dashboard of all users at the same time? I've been masquerading to do this, which gets tedious. I can add links on the left sidebar but prefer to have the reports front and center on each users Dashboard on login. Thanks for any leads.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Configure basic Dashboard settings for all users at the same time?
September 09, 2014, 02:15:17 am
Last time I looked there wasn't a UI method.

There is, however, an API for dashboard contact which you could use.  You would need to know the contact IDs and the Dashlet IDs.

In PHP, it would be something like

Code: [Select]
$params = array(
  'version' => 3,
  'dashboard_id' => #, //replace with dashboard ID
  'contact_id' => # //replace with contact ID
);
$result = civicrm_api('DashboardContact', 'create', $params);

Or if you prefer you could use civicrm/bin/import and civicrm/bin/export

Or thinking about it, the above idea combined with API csv Import GUI probably provides a GUI way to do this -  8) https://civicrm.org/extensions/api-csv-import-gui

Please let us know how you get on :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

joemcl

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 1
    • Citizen Action of New York
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.6
  • PHP version: Unsure
Re: Configure basic Dashboard settings for all users at the same time?
September 09, 2014, 08:20:33 am
Michael, thanks so much, will check it out.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Configure basic Dashboard settings for all users at the same time?
September 10, 2014, 06:58:10 am
Quote
Last time I looked

Seems like things have changed since the last time I looked

http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_dashboard_defaults

Admittedly, this is not a setting, but this hook may also be useful for you.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

joemcl

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 1
    • Citizen Action of New York
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.6
  • PHP version: Unsure
Re: Configure basic Dashboard settings for all users at the same time?
September 29, 2014, 04:37:52 pm
Michael, thanks. Will take a look. I really need to check in here more often and/or set up forum replies to go to my work e-mail address.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Configure basic Dashboard settings for all users at the same time?

This forum was archived on 2017-11-26.