|
DOC
|
I cannot get the Show Relates to do anything. I think I set it up correctly just nothing happens when I click on it. What I really was hoping to do is map all the Features that have a certain value in a related Table. So I am searching in a non spatial table but want to display those features that are related to the table records found from the search. Not an easy one to solve. I can do it in ArcMap with Subquery but have found nothing for online. For example PrimaryKey IN (SELECT PrimaryKey FROM SpecDetail WHERE SpeciesList = 'ARTR2') I tried going from table to Relate FC and the reverse but just nothing ever happens. What should happen? Get a list, selects in the attribute table? Any more guidance on this? Thanks a lot
... View more
03-11-2019
12:33 PM
|
0
|
0
|
13705
|
|
DOC
|
I was able to poll SAML using this code here. https://github.com/DOI-BLM/requests-arcgis-auth My script does not "sync" it just sends a request to download a GDB, then renames and adds that GDB to a local directory each night.
... View more
03-11-2019
09:50 AM
|
0
|
0
|
16550
|
|
POST
|
Anyone know if there is pulldata support for pulling vertexes, centroids, etc? Can't seem to get it. Thanks
... View more
03-11-2019
07:09 AM
|
0
|
2
|
2868
|
|
POST
|
Just posted a way you can kinda do it yesterday https://community.esri.com/thread/191518-remove-an-entry-or-item-from-the-dropdown-list-after-it-has-been-picked-once
... View more
03-08-2019
08:30 AM
|
2
|
0
|
1505
|
|
POST
|
Thanks Phil I actually did not know you could do that now. Sorry about that. This is actually really cool and it totally changed how I may layout my schema now. It may really help me get around some table support issues in ArcMap and AGOL. (As you can see by all the crazy stuff I tried above.) Thanks!
... View more
03-08-2019
08:27 AM
|
1
|
0
|
5292
|
|
POST
|
I have an old school way using data driven pages that I came up with 3+ years ago now. Full code is here https://community.esri.com/thread/170563 In my new job we flat out told people we cannot spend our limited resources developing ways to print out a piece of paper that will just go into a file cabinet never to be looked at again. Moderate success at that, esp in government. But at some point people need to move on from paper. Usually when we provide a more modern solution we get them to convert.
... View more
03-07-2019
10:33 AM
|
0
|
0
|
3607
|
|
POST
|
James Osundwa Floyd Bull I was able to at least simulate this now. My project has 8 fields all with the same drop down but that only show once the one above gets a value. A value should never repeat across the 8. I cannot remove the choice from the list but I can yell at them if they pick it again. Use a Constraint that checks the other fields. Example Field2 has a constraint of .!=${Field1} Then just expand .!=${TopCanopy} and .!=${Lower1} and .!=${Lower2} and .!=${Lower3} and .!=${Lower4} and .!=${Lower5} and .!=${Lower6} You can even make exceptions with a If (surprised but you can use If in a constraint) this says if my choice had a XXXX pattern in it then it IS ok to repeat but everything else cannot repeat. if(not(contains(${Lower1}, "XXXX")), .!=${TopCanopy},1) What about across repeats? Harder one where I have a field that does a join() on a repeat to get a list. I then check my field against this list using contains. That way I can see if a choice has ever been used across the repeats. The trick is that the second you pick the last option, it adds to the list, then yells at you. So for that I did a substr to take off the last 3 chars (since my codes at 3-5 digits) then I do a contains on that substr. It works great UNLESS a user goes back in a repeat and tries to change a value. The search will find it and complain. I just teach my users to delete a repeat and then add a new one at the end. Was ok for me. This would be a lot easier if survey had a contains that returns the number of times the string was found not just a yes/no. With these tricks I was able to get the checks in there that I needed. Hope it helps.
... View more
03-07-2019
07:54 AM
|
0
|
0
|
3171
|
|
POST
|
This turned out to be commas and other special chars in the list! Thanks to Esri for finding. It seems like you cannot use != in a choice filter. If I do layer != ${nonplant} I get nothing. Thanks
... View more
03-06-2019
08:56 AM
|
1
|
5
|
6241
|
|
POST
|
A Repeat will always be a table. There can only be one GPS point in the form and that becomes the FC. I have a bunch of tables in mine and mapping an attribute of a repeat table if rather hard. You need to make that table spatial somehow. Table support is spotty. Here are some options. Form -You can add a Lat and Long to the repeat table and have it calc in from the main part of the form. Then use these via XY event layer to turn them into FCs. Again not dynamic. -If it is a specific field (like species for me) then outside the repeat add a field that has a list of all the values from the repeat. The new join () is perfect for this. join(", ", ${repeatfield}). Then you can do Def Query on the FC - for example ListField contains "Value". If in AGOL -Do a Join features from the table back to the FC (Feature Class). This is of course static and would need to be redone on each add. -You can use Arcade in a web map to query the related table and display results in a popup. But it is popup only and you cannot change colors based on the field or anything. Also it will show in a attribute table put you must click each one to show the value. Code is like this - I found a better way to write it but I cannot find it var tbl = FeatureSetByName($datastore,"LayerName"); var sql = "SpeciesList = 'JUMO' And PrimaryKey = '" + $feature.PrimaryKey + "'"; Console(sql); var species = Filter(tbl, sql); var cnt = Count(species); return iif(cnt > 0, "Yes", "No") In ArcMap IF it is brought into a SDE or GDB -You can use subquiers which are pretty slick PrimaryKey IN (SELECT PrimaryKey FROM tblDetail WHERE SpeciesList = 'ARTR2') Ops Dashboard you can do it kind of. Hope it helps. I beat on this for a day or so and never really got it to what I wanted. Once it is a table you are pretty stuck. In the end I am going with the List in the FC using join() but not fully tested yet.
... View more
03-06-2019
07:44 AM
|
1
|
3
|
5292
|
|
POST
|
Thanks for the answer. Hopefully this will get added soon. My users keep telling me that the old Access on a tablet has it .
... View more
03-06-2019
07:12 AM
|
1
|
0
|
2933
|
|
POST
|
I second that vote - in fact I posted on this yesterday. Some may want to be able to advance pages while some of us want the validation to occur. This is very important with later parts of the forms need that value to continue. Just add it as an option that can be turned on and off per page - that way we all win. Thanks
... View more
03-06-2019
07:11 AM
|
1
|
2
|
2794
|
|
POST
|
Just do ${FieldName} in the calculation column no put needed
... View more
03-05-2019
02:41 PM
|
2
|
1
|
3469
|
|
POST
|
I was just working on this today actually. And what Mike listed is what I did. Field 1 - outside of repeat gets calc max(0, max(${repeatfield})) the 0 is to handle the very first one. Field 2 - inside the repeat gets once(${Field1}) That way when a new repeat is added it gets the held max value just that once. Then when max() changes no biggie. Once a new max is entered Field 1 changes and then in turn is used on repeat 3. In once case I went ahead and filled in the last value for the user. In others I left the field viable so the user can see the value from the last repeat right there. I am still a bit concerned about users going 3 repeats back and "fixing" something. This may then fall apart.
... View more
03-05-2019
01:27 PM
|
2
|
0
|
8487
|
|
POST
|
My purpose is to hide, or not let a user change, a certain value once they start filling out a repeat later in the form. I have a question before the repeat of Forward or Backward. This is used in calculations in a repeat. This works great (was surprised if statements work on a constraint). So If(${field} = Forward, max-min, min-max) But I want to make sure the user does not go back and change the value of Forward and Backward once they enter anything in the repeat. I tried added a Relevant of count(${repeatfield}) = 0 and it does disappear once they enter a value in repeatfield. BUT then all my If statements in the constraints start flipping to the else part instead. I assume this means the Forward value is somehow hidden from the form once it becomes not relevant? Is that value then lost? If this is true any ideas on how to handle this? I would calc into another field but then that will change values when the relevant goes off right? I can't use once as they may change it. Thanks
... View more
03-05-2019
01:22 PM
|
0
|
7
|
3193
|
|
POST
|
My users have been getting pretty confused with field validation. Most of my forms have several pages with a middle page having a repeat. If a user enters a bad value in a repeat and tries to add a repeat they are stopped right away. This makes sense to them. But if I have an error on page 1 the form waits all the way until I hit the submit button before it gives an error. This is sometimes 5 pages back. This means a user hitting submit on page 5 has to tap back through to page 1, fix, then submit again. Plus it does not go to the field or even page with the error. So the user is having to go back page by page trying to find the field to fix. With 100s of fields this gets frustrating. It can also cause problems using that field later in the form since it is invalid the whole time. Is it possible to have the field validation occur at the page level? That would make so much more sense workflow wise I think. An option on when to do validation would be even better. I could see a global setting such as Field, Page, or Submit or a field by field level setting. thanks
... View more
03-05-2019
09:40 AM
|
0
|
8
|
3166
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | Wednesday | |
| 1 | Wednesday | |
| 1 | Wednesday | |
| 3 | 2 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|