|
POST
|
The OTB Query widget is already helpful but there are some features missing or I just don't understand well how to configure it better. I have a couple of variables the user should be able to set ranges. I used the expression set to combine those values and say "All of the following expressions in this set are true" to get in the end the parcel that meets all requirements. In general that works fine but... 1) My user doesn't know the range of the values that are available. That's why I would find something like these sliders in the business analyst online very helpful: 2) Maybe one or two of the variables don't matter to my user. But in the Query tool for all variables a value is required. Even when I put unique values and one of the values is being blank it is not accepted as a choice. Thus it would be great if the user could decide not to use this variable either by just leaving it blank or by unselecting it like it is possible in Business Analyst. Do you know of a widget that is getting closer to what I am looking for? I have to admit that I'm very new to this field of (customized) widgets for the app builder. So here are two more things I would be interested in: 3) Is something like a cascading select possible in a widget? For example if the size is the most important variable, then for the other variables only those values should be available that match the desired size. Or if someone is looking for a plot in the Eastern Province then the other attributes should adjust accordingly to show only the available values for plots in the Eastern Province. 4) Could I do "drag and drop" for variables in a query window to set priorities for variables? Technically I mean. So if for one user the size is most important he would drag and drop it to the top of the list of attributes, if for another one the region is more important he could put this attribute to the top of the list. Thanks for your ideas!
... View more
05-09-2016
01:38 AM
|
0
|
1
|
706
|
|
POST
|
When testing Business Analyst Online I found it very comfortable to be able to select a number of attributes and select a range in these attributes by defining the lower and the upper limit as you can do for the visibility of a layer for example. Do you know what I mean? Is such a widget available for a web app?
... View more
05-04-2016
01:19 AM
|
0
|
4
|
2335
|
|
POST
|
Thank you Mark! That helped! I thought I took the same headers as in the sample csv file but obviously I didn't.
... View more
05-03-2016
12:52 PM
|
0
|
0
|
1029
|
|
POST
|
For those who want to have a look at the issue: The map where the pictures show in the popup: http://arcg.is/24v9rYv And the app where only the thumbnails show: http://esri-rw.maps.arcgis.com/apps/MapTour/index.html?appid=b40b5d01e15948d5800262c2aaab8740
... View more
05-03-2016
02:55 AM
|
0
|
2
|
1029
|
|
POST
|
When putting my Story map together I had the references to the pictures and the thumbnails already correctly stored in my feature class that I uploaded to AGOL. Unfortunately for the big pictures the URLs were missing and were only saying something with "undefined?token=...." So I added the URLs manually for every single picture (which was annoying enough). All big pictures were showing after that process. After editing, saving and sharing the Story Map I opened it with the provided link and had to find my big pictures missing again. Opening it in edit mode was driving me almost mad now because I found the same link as before with "undefined?token=....." Can please someone advise what I did wrong with my picture URL? I have the pictures on my own website e.g. http://www.nicole-in-ruanda.de/wp-content/uploads/2016/04/20160423-120235_Dubai_Eingang_Internet_City.jpg for the big picture and http://www.nicole-in-ruanda.de/wp-content/uploads/2016/04/20160423-120235_Dubai_Eingang_Internet_City-150x150.jpg for the corresponding thumbnail. Both links are stored in my feature class but only the thumbnails showed up. Just found this question Paths to pictures are not being saved. Paths to pictures keep being set to undefined after saving. as very similar to my problem. Somehow unfortunately I have in contrast to this posting a field called pict_url, and in the popup I defined in my map, the pictures show. At least I'm glad that the links are still there...
... View more
04-30-2016
05:37 PM
|
0
|
3
|
4305
|
|
POST
|
Dear Marika, Thanks for your comment. The best would be that the plus button even disappears after the fourth crop was entered. You also don't have an idea where I could access this plus button, do you?
... View more
04-28-2016
05:48 AM
|
0
|
1
|
596
|
|
POST
|
Can I write a value straight to the table instead of setting a form field to a certain value? Following scenario: I have a question that can be answered yes or no. If no is selected the next question can be skipped and N/A should be written to the table. Is that possible and if yes, how can I do that?
... View more
04-21-2016
02:03 AM
|
0
|
0
|
2768
|
|
POST
|
Let me share with you how I solved my tasks, maybe it will help one or the other person looking for similar problems: 1) to concatenate the values from two fields in a form, txtfarmer_id and txtplot_id and to write the new value in txtplot_ident: Dim objControl, objPage, plotId, plotIdent
Set objControl = ThisEvent.Object
Set objPage = ThisEvent.Object.Parent
plotId = objControl.Value
plotIdent = objPage.Controls("txtFarmer").Value + plotId
objPage.Controls("txtPlot_ident").Value = plotIdent
Set objControl = Nothing
Set objPage = Nothing I have put this on the onchange event of the second text field. Issue here is, when the first field is edited the "calculated" field does not change. But you could put (almost) the same script as onchange event in the first text field, too, to be on the safer side. 2) to hide/show a second comboBox (cboOther) depending on the selection in the first comboBox (cboMain). My script here is based on https://community.esri.com/thread/74367 Dim objPage, objControl
Set objControl = ThisEvent.Object
Set objPage = ThisEvent.Object.Parent
objPage.Controls("cboMain").Value = 0
objPage.Controls("cboOther").Value = 0
If objPage.Controls("cboMain").Value = 99 Then
objPage.Controls("Label2").Visible = True
objPage.Controls("cboOther").Visible = True
ElseIf objPage.Controls("cboMain").Value < 99 Then
objPage.Controls("cboOther").Value = 8
objPage.Controls("Label2").Visible = False
objPage.Controls("cboOther").Visible = False
End If
Set objControl = Nothing
Set objPage = Nothing Only when the last option (Value=99) is selected, the second comboBox shows up, including the leading text (Label2). This script is placed in the onselchange of the first comboBox. Maybe someone can shed some light on the difference between onchange and onselchange? Still working on some other issues...
... View more
04-21-2016
12:53 AM
|
1
|
0
|
933
|
|
POST
|
I got an ArcPad project file from our client which includes related tables. The related tables are loaded within the form when a new polygon is added. Now I want to limit the number of features that can be added for this polygon. I thought of putting a loop on the "add" button, but I don't find a way to access or manipulate it. Can anyone help me on this? Besides: I found a spelling mistake in the Alias and the field name, when looking at the list view of the related table. Can I correct those somewhere? I can only access the caption at this point.
... View more
04-21-2016
12:25 AM
|
0
|
3
|
4257
|
|
POST
|
Two more questions: 1) Can I write a value straight to the table instead of setting a form field to a certain value? Following scenario: I have a question that can be answered yes or no. If no is selected the next question can be skipped and N/A should be written to the table. Which leads me to my second question: 2) I can set the group property of an item to true. How can this help me? I was wondering if it could be of use when having a multiple choice answer for example. Can I give the group a name to make it and it's children accessible? And possibly count the selected items for example? Thanks for your comments!
... View more
04-05-2016
05:15 PM
|
0
|
0
|
933
|
|
POST
|
Thanks for looking at it, Rebecca. I figured out in the meanwhile that I just have to remove the Sub... and End Sub to make the script to run. So the concatenate works already (can't test though if it's also written to the file but that should be enough for now). For making the combobox invisible I wasn't that successful yet unfortunately. I have tried it first in the onchange event but nothing happened when I changed the selection. So I tried with the onselchange event. At the moment it works quite ok: the second comboBox is disabled when in the first the selection with the value=96 is selected. Funnily in between only the values not the texts for the comboBox list items were shown but now it's fine. But I can't tell what I did differently now... That's the current status: Dim objPage, objControl
Set objControl = ThisEvent.Object
Set objPage = ThisEvent.Object.Parent
If objPage.Controls("cboMain").Value = 96 Then
objPage.Controls("cboOther").Enabled = False
objPage.Controls("cboOther").Value = 8
ElseIf objPage.Controls("cboMain").Value > 96 Then
objPage.Controls("cboOther").Enabled = True
End If
Set objControl = Nothing
Set objPage = Nothing In fact I don't have an option anymore to convert my lists I have in excel to dbf but I helped myself by saving as csv, search+replace to make list items and then just put the whole list in the (xml) form. I have already some other requests I am trying to solve: My client has a TableForm (something I don't find in any help document for ArcPad). Unfortunately when I try to edit it via double click as I do with the EditForm ArcPad Studio crashes. So I helped myself with the xml view but of course this it not very handy. Has someone a hint how I can solve this? There are two tasks about this TableForm: 1) When adding a polygon first different data is entered through the EditForm before opening a related table (this is something my client figured out how to do, I have no clue...) where the user can add data through a new form that opens. So first question: in this table only maximum four entries should be possible. I assume I can do something with a loop but I didn't find the position yet - will keep you posted on this... 2) When adding a crop the user should enter a number (2-3 digits) and then the next field should automatically change to the crop name according the before typed crop number (e.g. 01 -> Maize). I thought if I put the names in a comboBox (values=numbers, text=names), look for the entered number and put the value back as output to the comboBox it should show the names but unfortunately it shows the value. Somehow comprehensible but I would be very happy if someone could tell me if (and how) I could show the text (names) instead. This is what I have so far: Dim objControl, objPage, cropId, cropName
Set objControl = ThisEvent.Object
Set objPage = ThisEvent.Object.Parent
cropId = objControl.Value
objPage.Controls("cboCropName").Value = cropId
Set objControl = Nothing
Set objPage = Nothing Is something possible like cropName=objPage.Controls("cboCropName").Value(cropId).Text
objPage.Controls("cboCropName").Value = cropName ? The name should also end up in the table in the end if possible...
... View more
04-05-2016
11:48 AM
|
0
|
0
|
933
|
|
POST
|
Thanks Rebecca, this code wasn't meant to be in the posting, don't know what happened... I removed it from the initial posting...
... View more
04-04-2016
11:47 PM
|
0
|
1
|
933
|
|
POST
|
I looked already through a couple of postings here but I'm still lost somehow... I used vb and js some time ago so the structure itself is quite familiar. Still I'm not familiar how to use it in ArcPad Studio and I'm wondering if someone could shed some light on where I'm wrong... I have two main objectives: 1) seems to be very easy: I need to concatenate the values from two fields in a form, txtfarmer_id and txtplot_id and to write the new value in txtplot_ident. This is what I constructed from other scripts so far: Sub SumPlotIdent
Dim objControl, objPage, plotId, plotIdent
Set objControl = ThisEvent.Object
Set objPage = ThisEvent.Object.Parent
plotId = objControl.Value
plotIdent = objPage.Controls("txtfarmer_id").Value + plotId
objPage.Controls("txtplot_ident").Value = plotIdent
End Sub
(There is an End Sub in the last line but its not visible) I have set plotId and plotIdent as variables, from my understanding "txtfarmer_id" and "txtplot_ident" should be the fields identifiers used in the form. I have put this script in the onchange event for the txtplot_id field, which should be objControl, right? I keep getting following error message and have no clue what to look for: 2) For the second challenge I already found a script which I think should do what I need: https://community.esri.com/thread/74367 only that I have radio buttons at the moment and no combo box . It's also not that complicated - I only want to hide the next set of radio buttons when for the first question the answer is Agriculture: I changed the radio buttons to combo boxes to make it easier to check for the selection, so the first is cboMain, the second cboOther. This is what I did so far: Sub hideShow
'Create and define Page, and Control
Dim objPage, objControl
'If cboMain field value is Ariculture (1), do the following:
If objControl.Item("cboMain").value = 1 Then
'disable cboOther field
objControl.Item("cboOther").Enabled = False
'and set value of Other_Landuse field to "N/A"
objControl.Item("cboOther").Value = "8"
Else
'enable cboOther field
objControl.Item("cboOther").Enabled = True
End Sub I am getting the same error message as for the first script SumPlotIdent. Question beyond these issues: At the moment I remove the layer with the form in ArcPad and add it again to test it (and to get the error message). Is there an easier way to do it? Any leads are highly appreciated!
... View more
04-04-2016
03:26 AM
|
0
|
6
|
7250
|
|
POST
|
Hello, I'm trying to get familiar with the Schematics functionality of ArcGIS (10.3). I went through the tutorials and I followed the quick start configuration for transportation (Quick start configuration for Transportation | ArcGIS Resource Center) but I am not able to "tell" schematics what I want. I also looked at this post Create route maps with the ArcGIS schematics extension | ArcGIS Blog but I neither worked with a geometric network before so maybe I didn't configure the geometric network well enough for using it in schematics. What I have: - Several bus lines, partly overlapping - Bus lines that operate in a certain area only one way (like a loop) - bus stops which are partly served by different busses - bus stops that are only served in one direction What I need: - A schematic view of the bus lines (routes), e.g. with reduced vertices or just as straight lines, showing where the routes intersect/connect, and showing the bus stops for each line. - Where bus routes overlap they should be shifted automatically (should be solved by "Partly overlapping links" as far as I understood). - The Schematic view should also be able to symbolize the one way loop, e.g. with small arrows. - The Schematic view should visualize differently the stops that are only served in one direction. What I tried: - creating a Network Dataset of the bus lines and the bus stops. I managed to get a schematic view of a route but how do I show all the bus routes at once? - creating a Geometric Network. I selected all my bus stops and all my bus lines and created a schematic view and was able to create a smart tree of the bus lines with all the stops which comes close to what I want. But it does not distinguish visually between the bus lines although in the Layers Data Frame I was giving colors depending on the number of the bus. The lines are all stored in one feature class. And the overlapping lines are not separated how I would like them to be. My question: How do I have to organize my data to enable Schematics to make the best out of it (and to do with it what I want)? I am happy to go more into detail if needed. I hope someone can push me in the right way...
... View more
03-24-2016
04:28 AM
|
0
|
2
|
3342
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2023 03:26 AM | |
| 1 | 02-13-2019 01:51 AM | |
| 1 | 04-03-2025 11:07 AM | |
| 1 | 01-14-2024 01:34 PM | |
| 1 | 10-01-2018 10:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|