Answers.Body: <p>You are speaking of the Element Selector Modal. It is javascript and available to use by third-party devs, but the code is specific to Craft Elements (Entries, Assets, Users, etc.). I don't think you'll get it to work with information polled from a third-party API. </p>
  
  <p>There's a post about it in the Craft Dev Google+ group (invite only), but I'm not sure if the info exists anywhere else.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-22T09:52:26.413Z
Answers.Text: @aran Could you post the URL to the post on the Craft Dev Google+ group?
Answers.UserDisplayName: Magne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-23T15:03:11.960Z
Answers.Text: @Magne are you apart of the Craft Dev Google+ group (invite only)? If so you can search for "Element Selector Modal" it would be the post with the most comments.
Answers.UserDisplayName: a-am
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-24T07:56:49.687Z
Answers.Text: @aran I'm afraid I'm not. I only found this: https://plus.google.com/communities/106505340287442511226/s/Element%20Selector%20Modal
Answers.UserDisplayName: Magne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-10T21:03:34.470Z
Answers.Text: Thanks, I found the post on the Craft Dev Google+ group.  I guess I will need to create the same functionality and use Garnish for the modal.
Answers.UserDisplayName: a-am
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-10T20:52:42.290Z
Answers.LastActivityDate: 2015-02-10T20:52:42.290Z
Answers.UserDisplayName: Bryan Redeagle
Body: <p>Is it possible to use the Entries FieldType widget in my plugin and populate the modal with data from a third party REST API? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-10T19:15:21.013Z
Comments.Text: Can you explain more what you're trying to achieve? Not following from your existing description.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-10T19:36:18.803Z
Comments.Text: I am wanting to use the Categories/Entries field type widget in my plugin with the model data originating from third party REST api. So when the user clicks the "Add a cateogory" button the modal will show the data from the third party api and because it is using that same fieldtype widget they can select multiple items.
Comments.UserDisplayName: a-am
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-11T16:48:40.770Z
Comments.Text: Have you found a solution to your problem? I have basically the same problem now in Craft3: https://craftcms.stackexchange.com/questions/28749/element-type-vs-field-type-or-element-type-without-database-storage If you have found a solution to your problem, I would be very glad to hear about it.
Comments.UserDisplayName: Luke
Tags: <plugin-development>
Title: Use Entries fieldtype functionality in plugin populated by REST api data
ThreadText: # Use Entries fieldtype functionality in plugin populated by REST api data
  
  (Asked by: username_0 on 2015-02-10)
  
  Is it possible to use the Entries FieldType widget in my plugin and populate the modal with data from a third party REST API?
  
  **Tags:** plugin-development
  
  > **Comments:**
  > **username_1**: Can you explain more what you're trying to achieve? Not following from your existing description.  
  > **username_0**: I am wanting to use the Categories/Entries field type widget in my plugin with the model data originating from third party REST api. So when the user clicks the "Add a cateogory" button the modal will show the data from the third party api and because it is using that same fieldtype widget they can select multiple items.  
  > **username_2**: Have you found a solution to your problem? I have basically the same problem now in Craft3: https://craftcms.stackexchange.com/questions/28749/element-type-vs-field-type-or-element-type-without-database-storage If you have found a solution to your problem, I would be very glad to hear about it.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-02-10. Score: 3
  
  You are speaking of the Element Selector Modal. It is javascript and available to use by third-party devs, but the code is specific to Craft Elements (Entries, Assets, Users, etc.). I don't think you'll get it to work with information polled from a third-party API.
  
  There's a post about it in the Craft Dev Google+ group (invite only), but I'm not sure if the info exists anywhere else.
  
  > **Comments:**
  > **username_0**: Thanks, I found the post on the Craft Dev Google+ group.  I guess I will need to create the same functionality and use Garnish for the modal.  
  > **username_4**: @aran Could you post the URL to the post on the Craft Dev Google+ group?  
  > **username_0**: @username_4 are you apart of the Craft Dev Google+ group (invite only)? If so you can search for "Element Selector Modal" it would be the post with the most comments.  
  > **username_4**: @aran I'm afraid I'm not. I only found this: https://plus.google.com/communities/106505340287442511226/s/Element%20Selector%20Modal  
  
  ---
  
  