<?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 How to add Feature Layer for SenceView in AWAB? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-feature-layer-for-senceview-in-awab/m-p/775789#M2102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I try to add feature layer in AWAB, but error is "no add function" for the feautre layer i created.&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"routeLayer"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;geometryType&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"polyline"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;objectIdField&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;fields&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"name"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"alias"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"type"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"oid"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[],&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;hasZ&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;elevationInfo&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;mode&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"relative-to-ground"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;offset&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;ROUTE_OFFSET&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;opacity&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;0.7&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;renderer&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;SimpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;LineSymbol3D&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;symbolLayers&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;size&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;5.0&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;material&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;color&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Color&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;named&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;gold&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;sceneView&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;routeResponse&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;routeResults&lt;SPAN style="color: #ffffff;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;];&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #736f5c;"&gt;// ROUTE GEOMETRY //&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGeom &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Polyline&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;hasZ&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;paths&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;lang&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;clone&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;route&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;geometry&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;paths&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;spatialReference&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;});&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #736f5c;"&gt;// ROUTE GRAPHIC //&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGraphic &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGeom&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;route&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 May 2016 01:25:09 GMT</pubDate>
    <dc:creator>lilexie</dc:creator>
    <dc:date>2016-05-07T01:25:09Z</dc:date>
    <item>
      <title>How to add Feature Layer for SenceView in AWAB?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-feature-layer-for-senceview-in-awab/m-p/775789#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I try to add feature layer in AWAB, but error is "no add function" for the feautre layer i created.&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"routeLayer"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;geometryType&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"polyline"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;objectIdField&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;fields&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"name"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"alias"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;"type"&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"oid"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[],&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;hasZ&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;elevationInfo&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;mode&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffe792;"&gt;"relative-to-ground"&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;offset&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;ROUTE_OFFSET&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;opacity&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;0.7&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;renderer&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;SimpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;LineSymbol3D&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;symbolLayers&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;[&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;PathSymbol3DLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;size&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;5.0&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;material&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;color&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Color&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;named&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;gold&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;sceneView&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;routeResponse&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;routeResults&lt;SPAN style="color: #ffffff;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;];&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #736f5c;"&gt;// ROUTE GEOMETRY //&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGeom &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Polyline&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;({&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;hasZ&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;paths&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;lang&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;clone&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;route&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;geometry&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;paths&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;spatialReference&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;});&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #736f5c;"&gt;// ROUTE GRAPHIC //&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGraphic &lt;/SPAN&gt;&lt;SPAN style="color: #f72671;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #bf9bf8;"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGeom&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeResult&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;route&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;routeLayer&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8; font-weight: bold;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #6ccab8;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a6e22e;"&gt;routeGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 01:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-feature-layer-for-senceview-in-awab/m-p/775789#M2102</guid>
      <dc:creator>lilexie</dc:creator>
      <dc:date>2016-05-07T01:25:09Z</dc:date>
    </item>
  </channel>
</rss>

