Answers.Body: <p>Start with <code>civix generate:page</code>. Optionally assign some smarty variables in run() in the autogenerated php class and edit the autogenerated .tpl with your html.</p>
  
  <p>Then you need to insert an entry in civicrm_dashboard that links the url you chose in generate:page. See the function addGettingStartedDashlet() in CRM/Upgrade/Incremental/php/FourSeven.php, just note the columns have changed slightly if you're on a later version.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-13T12:24:19.413Z
Answers.Text: Will you provide a snippet?
Answers.UserDisplayName: deepak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-13T12:33:13.227Z
Answers.Text: Take a look at CRM/Dashlet/Page/GettingStarted.php. Did you try using `civix generate:page`? Try it first and then if you have a specific part that isn't working you can ask about that.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-13T12:35:18.843Z
Answers.Text: I created an extension using civix tool. But I don't have any idea about the dashlet.
Answers.UserDisplayName: deepak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-13T11:32:57.250Z
Answers.LastActivityDate: 2019-03-13T11:32:57.250Z
Answers.UserDisplayName: Demerit
Answers.Body: <p>Here is an example dashlet with a search: <a href="https://github.com/CiviCooP/org.civicoop.quicksearchdashlet" rel="nofollow noreferrer">https://github.com/CiviCooP/org.civicoop.quicksearchdashlet</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-03T08:52:16.597Z
Answers.Text: I tried downloading the extension using ./cv ext:download org.civicoop.quicksearchdashlet but it does not show up in the list
Answers.UserDisplayName: harshal
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-29T11:43:58.897Z
Answers.LastActivityDate: 2019-04-01T03:28:22.337Z
Answers.LastEditDate: 2019-04-01T03:28:22.337Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I want to create a custom dashlet but I don't know how to do that.Please guide me to build a new dashlet. Any github reference or any source.
  Thanks in advance.</p>
  
Tags: <dashboard>
Title: How to create a custom dashlets?
ThreadText: # How to create a custom dashlets?
  
  (Asked by: username_0 on 2019-03-13)
  
  I want to create a custom dashlet but I don't know how to do that.Please guide me to build a new dashlet. Any github reference or any source.
  Thanks in advance.
  
  **Tags:** dashboard
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-03-13. Score: 2
  
  Start with `civix generate:page`. Optionally assign some smarty variables in run() in the autogenerated php class and edit the autogenerated .tpl with your html.
  
  Then you need to insert an entry in civicrm\_dashboard that links the url you chose in generate:page. See the function addGettingStartedDashlet() in CRM/Upgrade/Incremental/php/FourSeven.php, just note the columns have changed slightly if you're on a later version.
  
  > **Comments:**
  > **username_0**: Will you provide a snippet?  
  > **username_1**: Take a look at CRM/Dashlet/Page/GettingStarted.php. Did you try using `civix generate:page`? Try it first and then if you have a specific part that isn't working you can ask about that.  
  > **username_0**: I created an extension using civix tool. But I don't have any idea about the dashlet.  
  
  ---
  
  ### Answer by username_2 on 2019-03-29. Score: 2
  
  Here is an example dashlet with a search: <https://github.com/username_2/org.username_2.quicksearchdashlet>
  
  > **Comments:**
  > **username_3**: I tried downloading the extension using ./cv ext:download org.username_2.quicksearchdashlet but it does not show up in the list  
  
  ---
  
  