<?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 Re: Select features of sharepoint list layer via query in ArcGIS for SharePoint Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160644#M442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you get the values back from the SharePoint list, you'll need to convert them to strings before adding them to the attributes collection.&amp;nbsp; For instance, if memory serves, SharePoint hyperlink fields come back with two values - one for the description, one for the URL.&amp;nbsp; If you want to show the URL in the pop-up, you'll need to extract this value as a string and put this in the attributes collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to selection, you should get this as part of adding your graphics layer to the map.&amp;nbsp;&amp;nbsp; Note however, if you are defining the symbol programmatically, you'll have to make sure that the symbol has a selected state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Nov 2010 10:34:56 GMT</pubDate>
    <dc:creator>RichZwaap</dc:creator>
    <dc:date>2010-11-12T10:34:56Z</dc:date>
    <item>
      <title>Select features of sharepoint list layer via query</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160641#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I am attempting to write a query tool that allows the users to search by attributes of a sharepoint list layer.&amp;nbsp; Presently the tool searches the sharepoint list and creates a graphic layer using the data (thanks Rich for your examples), however because I am utilizing a lot of lookup fields and URLs in the SharePoint list, those links are not coming through into the graphic layer.&amp;nbsp; So I am hoping there is a way I can interact with the SP List layer and select the features that meet the search criteria. Optionally, ideas on how to get links populating in a graphics layer may be a workaround solution too.&amp;nbsp; Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Chad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 13:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160641#M439</guid>
      <dc:creator>ChadCollins</dc:creator>
      <dc:date>2010-11-05T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select features of sharepoint list layer via query</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160642#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure I understand exactly what you're having trouble with.&amp;nbsp; You should be able to access any of the fields in the list using SharePoint's Silverlight Client OM as shown in the samples.&amp;nbsp; If you're having difficulty constructing the CAML query, you could try the &lt;/SPAN&gt;&lt;A href="http://www.u2u.be/Res/Tools/CamlQueryBuilder.aspx"&gt;U2U CAML Query Builder&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I haven't tried it against 2010 myself, but many folks online say it still works.&amp;nbsp; Which makes sense, given that it communicates using SharePoint's asmx services, where are still there at 2010.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to getting links into a graphics layer, if you add a URL to a graphic's attributes collection, it should show up as a hyperlink in the graphic's pop-up (i.e. when you hover over it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 09:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160642#M440</guid>
      <dc:creator>RichZwaap</dc:creator>
      <dc:date>2010-11-10T09:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select features of sharepoint list layer via query</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160643#M441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Rich.&amp;nbsp; I have been able to write CAML to interact with the SharePoint lists (and consequently create graphic layers).&amp;nbsp; What I was curious about doing was interacting with list layer within the map (not adding a new layer comprised of the 'selected' features, but selecting\highlighting features from an existing layer that is sourced from the SharePoint list).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for adding the URL, when I add a hyperlink column from my list when building the graphic layer, it merely populates the field with 'Microsoft.SharePoint.Client.FieldUrlValue' in both the map table and pop-up.&amp;nbsp; There must be some sort of conversion that can extract the actual URL, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Chad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 12:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160643#M441</guid>
      <dc:creator>ChadCollins</dc:creator>
      <dc:date>2010-11-10T12:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select features of sharepoint list layer via query</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160644#M442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you get the values back from the SharePoint list, you'll need to convert them to strings before adding them to the attributes collection.&amp;nbsp; For instance, if memory serves, SharePoint hyperlink fields come back with two values - one for the description, one for the URL.&amp;nbsp; If you want to show the URL in the pop-up, you'll need to extract this value as a string and put this in the attributes collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to selection, you should get this as part of adding your graphics layer to the map.&amp;nbsp;&amp;nbsp; Note however, if you are defining the symbol programmatically, you'll have to make sure that the symbol has a selected state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 10:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/select-features-of-sharepoint-list-layer-via-query/m-p/160644#M442</guid>
      <dc:creator>RichZwaap</dc:creator>
      <dc:date>2010-11-12T10:34:56Z</dc:date>
    </item>
  </channel>
</rss>

