<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I search for Graphics added to map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-search-for-graphics-added-to-map/m-p/309959#M28511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added some map locations by creating a Graphic and added it to the map. They all have attributes like Title and Description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pointGraphic = new Graphic({
 geometry: point,
 symbol: markerSymbol,
 attributes: {
 Title: currentObj.title,
 Description: currentObj.description
 },
 popupTemplate: graphicPopUpTemplate
});

view.graphics.add(pointGraphic);

Is it possible to add it as a search source?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:19:32 GMT</pubDate>
    <dc:creator>LarsFagerbakke</dc:creator>
    <dc:date>2021-12-12T16:19:32Z</dc:date>
    <item>
      <title>Can I search for Graphics added to map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-search-for-graphics-added-to-map/m-p/309959#M28511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added some map locations by creating a Graphic and added it to the map. They all have attributes like Title and Description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pointGraphic = new Graphic({
 geometry: point,
 symbol: markerSymbol,
 attributes: {
 Title: currentObj.title,
 Description: currentObj.description
 },
 popupTemplate: graphicPopUpTemplate
});

view.graphics.add(pointGraphic);

Is it possible to add it as a search source?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-search-for-graphics-added-to-map/m-p/309959#M28511</guid>
      <dc:creator>LarsFagerbakke</dc:creator>
      <dc:date>2021-12-12T16:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I search for Graphics added to map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-search-for-graphics-added-to-map/m-p/309960#M28512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Unfortunately the answer is No. The Search widget can have&amp;nbsp;FeatureLayerSearchSources and LocatorSearchSources. But the&amp;nbsp;&lt;SPAN&gt;FeatureLayerSearchSource has this note:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;Feature layers created from client-side graphics are not supported.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 14:14:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-search-for-graphics-added-to-map/m-p/309960#M28512</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-01-04T14:14:04Z</dc:date>
    </item>
  </channel>
</rss>

