|
POST
|
I am upgrading some web maps using the JavaScript API to 4.27. The use of HTML <br> is not working in the title with this release. No problems in the content. Any work around? "<b>Trail:</b> <br><b>City:</b> <br><b>Cross Street:</b> <br><b>Parking:</b> <br><b>Elevation:</b> ft"
... View more
08-16-2023
09:15 AM
|
1
|
10
|
3706
|
|
POST
|
Yes you can do all this with the JavaScript API. Labels: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-and-label-visibility-js-api-4/td-p/1135639 Yes a feature table is what you are looking for. I don't have an example off hand, but you will want to use selectRows(), zoomToSelection(), ect... Essentially if you can do it in web app or experience, you can configure it with the API.
... View more
04-12-2023
08:19 AM
|
1
|
1
|
1963
|
|
POST
|
Get values and populate dropdown. QueryFilter queryDef = new QueryFilter
{
SubFields = "field"
};
List<String> listbld = new List<string>();
using (var rowCursor = FeatureTable.Search(queryDef, false))
{
while (rowCursor.MoveNext())
{
using (Row row = rowCursor.Current)
{
string data = Convert.ToString(row["field"]);
listbld.Add(data);
}
}
}
BldList = listbld; Zoom MapView.Active.ZoomToSelected(TimeSpan.FromSeconds(1.5), true);
... View more
04-11-2023
08:49 AM
|
1
|
1
|
3773
|
|
POST
|
Divide by "From start/end of line". https://pro.arcgis.com/en/pro-app/latest/help/editing/divide-a-polyline-by-a-value.htm Or Split if you don't need the precision of Divide. https://pro.arcgis.com/en/pro-app/latest/help/editing/split-a-feature.htm
... View more
03-20-2023
09:02 AM
|
0
|
2
|
2007
|
|
POST
|
I add this at the end of the function to replace the image with a note if no image found. .fail(function() { console.log("nada"); let ele = document.getElementById("photoContainer"); ele.innerHTML += "NO IMAGES AVAILABLE ";})
... View more
01-31-2023
07:07 AM
|
0
|
0
|
492
|
|
POST
|
Check the url you are using and see if it has .../manager/.... If so take that part out of the URL when adding.
... View more
01-05-2023
10:47 AM
|
0
|
0
|
2933
|
|
POST
|
Understood. I was having similar problems getting QueryDef and Evaluate to work and found using QueryFilter and Search was able to accomplish the same goal.
... View more
01-05-2023
08:17 AM
|
0
|
0
|
2743
|
|
POST
|
Try using table search and QueryFilter instead. using (var tbl = featLayer.GetTable())..... var queryFilter = new QueryFilter {... using (var rowCursor = tbl.Search(queryFilter, false))....
... View more
01-05-2023
08:04 AM
|
0
|
6
|
2754
|
|
POST
|
The second solution I provided should do this. Symbolize the NULL only and the new features will show up as the all other values symbol no matter what the value is, if not NULL.
... View more
12-02-2022
06:10 AM
|
1
|
0
|
2173
|
|
POST
|
Symbolize by Unique Values. Move the NOT NULL values so they are all in a row. Click the first one -> Shift Click the last one -> Right click the Value or Label of one of those selected -> Group Values. OR Unique Values -> More -> Remove all. Click the + (Add unlisted values) -> add the NULL. More -> Show all other values.
... View more
11-28-2022
12:49 PM
|
1
|
0
|
2204
|
|
POST
|
Is is possible to add the thousands separators in the title section of the popup template? So 1000 shows as 1,000. I know you can format in the content using digitSeparator, but I cannot figure out how to do it in the title section.
... View more
10-27-2022
01:56 PM
|
0
|
1
|
1209
|
|
POST
|
I was wondering if its possible to customize how the featureMenuOpen option for the popup.open of the popup template. The default is for it to display the title of the popup template. Basically I want to display the menu options as a table, but not the final popup. See below. Desired Menu Desired Popup Not wanted Popup if I use the desired menu function getResults(results){
// get the resulting query features and set the symbology for the graphics layers to display the results
const searchResults = results.features.map(function(feature){
// popup for the result(s)
feature.popupTemplate = createPopupTemplate();
return feature
});
// response handlers from to many or not enough results.
if(searchResults.length > 100){
alert("Over 100 query results found, please provide a more specific query!");
}
if(searchResults.length == 0){
alert("No results found for this query!")
}
else if(searchResults.length <= 100){
resultsLayer.addMany(searchResults);
// add the popup of the results to the view
theView.popup.open({
features: searchResults,
featureMenuOpen: true,
//closeButton: true,
title: "testst",
collapsed: true
}); function createPopupTemplate(){
const urlTax = "https://";
const urlRC = "https://www."
var parInfo = 'https://www.html';
return{
title:
"<b>Owner: </b> {PartyName}" +
"<b>Address: </b> {PropertyAddress}" +
"<b>Property Number: </b> {PropertyNumber}", //+
//"<table>" +
//"<tr><th>Owner:</th><th>Address:</th><th>PropertyNumber</th></tr>" +
//"<tr><td>{PartyName}</td><td>{PropertyAddress}</td><td>{PropertyNumber}</td></tr></table>",
//"<a class='hyperlinkURL2' target='_blank' href='#{Plat_HL}'>View Plat</a>",
outFields: ["*"],
content:
[
{
type: "fields",
fieldInfos:[
{
fieldName: "QuickRefID",
label: "Quick Ref ID",
},
{
fieldName: "ACRES",
label: "Acres",
format:{
places: 2,
}
},
{
fieldName: "RP_AprTot",
label: "Total Appraised Value",
format: {
places: 2,
digitSeparator: true,
}
},
]
},
{
type: "text",
text: "<a class='hyperlinkURL' target='_blank' href=" + parInfo + "?PropertyID={PropertyID}&PID={PID}&PropNum={PropertyNumber}>Parcel Information</a>      <a class='hyperlinkURL' target='_blank' href=" + urlTax + "PID={PID}>Tax Information</a>"
},
{
type: "text",
text: "<a class='hyperlinkURL2' target='_blank' href=https://{expression/platlinked}>View Plat</a>      <a class='hyperlinkURL' href=" + urlRC + "{PropertyNumber}.pdf>Property Record Card</a>",
},
],
expressionInfos:[
{
name: "platlinked",
expression: platy,
},
]
}
... View more
10-25-2022
10:11 AM
|
0
|
0
|
953
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-23-2026 09:28 AM | |
| 2 | 05-21-2026 09:21 AM | |
| 1 | 05-19-2026 02:25 PM | |
| 1 | 05-19-2026 08:11 AM | |
| 1 | 04-17-2026 01:08 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-28-2026
06:06 AM
|