|
POST
|
Are there any examples. When I use featureTable.print() I get the error that it is not a function. The link shows how to print from the export/print widget. I would like to print direct from the custom option newMenuItem to print the table. If I use a newMenuItem to open a new window to print the table using print(), it loses all the grids that make it a table. The HTML2DCanvas seems promising, I will work on testing that out.
... View more
01-11-2024
07:54 AM
|
0
|
0
|
2160
|
|
POST
|
Is there a print option for the popup feature menu? Also is there a print option for feature table? If anyone has done this I appreciate any tips you have.
... View more
01-04-2024
10:30 AM
|
0
|
4
|
2215
|
|
POST
|
Creation Mode is continuous by default. Use single. const sketch = new Sketch({
layer: sketchGraphicsLayer,
view: mapView,
creatioMode: "single"
})
... View more
12-07-2023
12:34 PM
|
0
|
0
|
939
|
|
POST
|
I have two hosted service tables, table 1 is the production for a old and newly created permits. Table 1 uses an index number field for its values. Table 2 has the index number field and a description values field. Is it possible to replace the description values, queried from table 2, to use as the value in replacement for a column in a Feature Table of table 1? Essential I need to users to see the description in that column instead of the index number.
... View more
12-07-2023
12:02 PM
|
0
|
0
|
727
|
|
POST
|
@GKmieliauskas is correct you need to use the IGPResult. Below is how I access python results in the cs. public async Task<IGPResult> ExecuteModel()
{
var progDlg = new ProgressDialog("Running Geoprocessing Tool", "Cancel");
progDlg.Show();
var progsrc=new CancelableProgressorSource(progDlg);
var pathPython = System.IO.Path.GetDirectoryName((new System.Uri(Assembly.GetExecutingAssembly().CodeBase)).AbsolutePath);
pathPython = Uri.UnescapeDataString(pathPython);
System.Diagnostics.Debug.WriteLine(pathPython);
var tool_path = System.IO.Path.Combine(pathPython, @"YourPythonScript.pyt\Tool");
var parameters = Geoprocessing.MakeValueArray();
IGPResult gp_result = await Geoprocessing.ExecuteToolAsync(tool_path, parameters, null, new CancelableProgressorSource(progDlg).Progressor);
return gp_result;
}
... View more
11-13-2023
06:41 AM
|
0
|
1
|
2908
|
|
POST
|
Did you have the same results taking it outside the property object of the sketch widget in 4.28?
... View more
10-30-2023
10:40 AM
|
0
|
0
|
2289
|
|
POST
|
It does seem to work if you use it that way. Must be a bug in 4.28. If you take it out and do this it does not. sketch.visibleElements = ({
createTools:{
circle: false,
rectangle: false,
},
selectionTools :{
"lasso-selection": false
},
creationMode: "update",
undoRedoMenu: false,
settingsMenu: false
});
... View more
10-27-2023
02:04 PM
|
0
|
0
|
2337
|
|
POST
|
sketch.visibleElements={selectionTools:{ "lasso-selection": false }}, is not removing the lasso tool from the menu in 4.28.
... View more
10-27-2023
09:42 AM
|
0
|
5
|
2421
|
|
POST
|
In 4.27 if your query had multiple results and you wanted to see them in a feature menu first you would use view.openPopup({featureMenuOpen:true}). This does not work in 4.28. What do we use now in 4.28?
... View more
10-27-2023
09:28 AM
|
1
|
2
|
1439
|
|
POST
|
At the end of your dockpane.xaml.cs add return result;
... View more
10-25-2023
09:33 AM
|
0
|
2
|
3050
|
|
POST
|
FYI featureMenuOpen does not work in 4.28. Since the documentation is not out for 4.28 I am not sure if this is changing. view.openPopup({
features: searchResults,
featureMenuOpen: true,
});
... View more
08-17-2023
08:01 AM
|
0
|
0
|
424
|
|
POST
|
Got it. I will comb through my code and figure out how I did this in 4.21 and what changed in the current version. How do I bold only some of my title in 4.28? If the default is bold, do I need to change the css font weight to normal? If so do you know the selector? Yep. I had changed the font weight in the CSS. All is good on 4.28. Thank you for taking the time to help me!
... View more
08-17-2023
06:37 AM
|
0
|
1
|
3161
|
|
POST
|
This behavior seems to happen anytime there is more then one HTML tag. I just tried it with a simple table with similar results. If I put a table header and table cells/rows, by default headers are bold and cell/row are not. But within the title of popups in esri javascript api it all takes on the bolding.
... View more
08-16-2023
12:54 PM
|
0
|
4
|
3177
|
|
POST
|
This fixes the new line. But the bold is messed up. "<b>Before new line.</b><br>After new line." After new line should not be bold. It's bolding everything, inside and outside of the <b></b>. It should look like this: Before new line. not Before new line. After new line. After new line.
... View more
08-16-2023
12:24 PM
|
0
|
0
|
3183
|
|
POST
|
After more testing, if I take out the bold<b> it works. Some sort of bug? If you use the code below, the last part "<br><b>Elevation: ft" will show up on line one with "Road Information" title: "Road Information <br> Trail:<br>City: <br>Cross Street: <br>Parking: <br><b>Elevation: ft",
... View more
08-16-2023
09:33 AM
|
0
|
0
|
3228
|
| 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
|