TGI5 - Episode 051 - Communicating Broadband Availability via GIS pt.2

1357
0
03-15-2022 05:24 PM
Labels (1)
SpatialNinja
Esri Regular Contributor

Welcome back to another episode of Telecom GIS in 5 Minutes. This week we do a deeper dive into how to configure an ArcGIS Instant app for communicating broadband availability. 

 

The ArcGIS Solution used to manage the service territory layer - https://doc.arcgis.com/en/arcgis-solutions/latest/reference/introduction-to-communications-data-mana...

 

Arcade Expression for presenting an image if service is available -

 

 

var imageUrl = '';
if ($feature.Internet == 'Yes') {
    imageUrl = 'https://telecomrc.maps.arcgis.com/sharing/rest/content/items/3ab7d2bc3e8d42c7b6e9f1f877acd87c/data';
    }
return imageUrl;

 

 

 

HTML for Text section of pop-up - 

 

 

<figure>
    <figure class="table" style="float:none;">
        <table>
            <tbody>
                <tr style="display:{expression/expr0};">
                    <td style="background-color:#323232;border:1px solid white;padding:5px;width:400px;">
                        <p style="text-align:center;">
                            <span style="color:#d5dcdc;">Service Connection</span>
                        </p>
                        <p style="text-align:center;">
                            <span style="color:#FFAA00;font-size:18px;"><strong>{techcode}&nbsp;</strong></span>
                        </p>
                    </td>
                </tr>
                <tr style="display:{expression/expr1};">
                    <td style="background-color:#323232;border:1px solid white;padding:5px;width:400px;">
                        <p style="text-align:center;">
                            <span style="color:#d5dcdc;">Max Internet Speeds</span>
                        </p>
                        <p style="text-align:center;">
                            <span style="color:#FFAA00;font-size:18px;"><strong>{maxaddn} mbps</strong></span>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td style="background-color:#323232;border:1px solid white;padding:10px;width:400px;">
                        <p style="text-align:center;">
                            <a rel="nofollow ugc" href="https://web.bd.esri.com/utilities/telco/Apps/HomePage/index.html"><img src="{expression/expr0}" alt="" width="50"></a> <a rel="nofollow ugc" href="https://web.bd.esri.com/utilities/telco/Apps/HomePage/index.html"><img src="{expression/expr1}" alt="" width="50"></a> <a rel="nofollow ugc" href="https://web.bd.esri.com/utilities/telco/Apps/HomePage/index.html"><img src="{expression/expr2}" alt="" width="50"></a> <a rel="nofollow ugc" href="https://web.bd.esri.com/utilities/telco/Apps/HomePage/index.html"><img src="{expression/expr3}" alt="" width="50"></a> <a rel="nofollow ugc" href="https://web.bd.esri.com/utilities/telco/Apps/HomePage/index.html"><img src="{expression/expr4}" alt="" width="50"></a>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
    </figure>
</figure>

 

 

ArcGIS Instant App used for Service Lookup - https://www.arcgis.com/home/item.html?id=8f483bc1de854f7783495ffe96ef1ea8

 

***Publishing the Solution Template and configuring the ArcGIS Instant app requires a Creator Level User Type license.

 

Until next time, we out.

Patrick Huls

Solutions Engineer | Spatial Ninja  | GIS ️ | Telecommunications
0 Replies