BLOG
|
Just FYI, the last option worked. Thanks for your help. JIM LONG Senior GIS Analyst DIRECT 520-887-1010 Ext. 2917 jlong@northwestfire.org NORTHWEST FIRE DISTRICT 5225 W. Massingale Rd. Tucson, AZ 85743 www.northwestfire.org ISO CLASS 2 - INTERNATIONALLY ACCREDITED /NorthwestFireDistrict @NorthwestFire Confidentiality Notice: This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error please delete the material immediately.
... View more
06-13-2019
11:34 AM
|
0
|
0
|
3575
|
BLOG
|
I’m going to try the third option because flow didn’t give me an error {"source":"la-draft-clipboard","value":[{"tokenKey":"2C9FC210-9471-4AA5-9F6B-486CE6C021B5","type":"literal","tokenExpression":"addSeconds('1970-01-01',div(triggerBody()?['feature']?['attributes']?['incident_date'],1000))"}]} JIM LONG Senior GIS Analyst DIRECT 520-887-1010 Ext. 2917 jlong@northwestfire.org NORTHWEST FIRE DISTRICT 5225 W. Massingale Rd. Tucson, AZ 85743 www.northwestfire.org ISO CLASS 2 - INTERNATIONALLY ACCREDITED /NorthwestFireDistrict @NorthwestFire Confidentiality Notice: This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error please delete the material immediately.
... View more
06-13-2019
11:13 AM
|
0
|
0
|
3575
|
BLOG
|
OK, so this is nice but it doesn’t really answer my question. Input what? Input where? I found your Geonet post https://community.esri.com/thread/232692-date-from-survey123-in-microsoft-flow So some clarifying questions: You posted addSeconds('1970-01-01', div(, 1000)) Is this the correct Syntax? addSeconds('1970-01-01', div(incident_date, 1000)) Or is it addSeconds('1970-01-01', div(feature incident_date, 1000)) Or addSeconds('1970-01-01',div(triggerBody()?['feature']?['attributes']?['incident_date'],1000)) JIM LONG Senior GIS Analyst DIRECT 520-887-1010 Ext. 2917 jlong@northwestfire.org NORTHWEST FIRE DISTRICT 5225 W. Massingale Rd. Tucson, AZ 85743 www.northwestfire.org ISO CLASS 2 - INTERNATIONALLY ACCREDITED /NorthwestFireDistrict @NorthwestFire Confidentiality Notice: This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error please delete the material immediately.
... View more
06-13-2019
11:07 AM
|
0
|
0
|
3575
|
BLOG
|
It would seem this section is the critical syntax portion that I am lacking. " expression syntax : addseconds('1970-1-1', Div(triggerBody()?['feature']?['attributes']?['dateTime'],1000) , 'HH:mm:ss') this part ['feature']?['attributes']?['dateTime'] is time field in your featureservice." Here are my questions, I hope you can help me. I do get the epoch time integers that will pass through Microsoft low to an email. I would like to format these as Date time. >is the '1970-1-1' just a place holder is is that something specific needed to be entered? >is the ['feature'] the feature service URL from Survey123 or the text name of the feature service, or is it the feature service at all. >I'm having trouble differentiating ['attributes'] and ['dateTime'] (Which I'm assuming is your field name). How does 'attribute' differ from 'field'? If you could be more specific about what get's entered, and the syntax, I would be very appreciative. Thank you
... View more
06-12-2019
09:43 AM
|
0
|
0
|
3575
|
POST
|
Thanks for the reply Kevin, unfortunately, my lack of understanding of how to go from python script to toolbox and back out to python script has unfortunately caused me to reach the end of the road on this. The script screen shot a couple of posts above references C:\ProgramFiles\To answer your questions: I "cannot successfully run any of the Collector tools either from the toolbox in Pro or as stand-alone scripts" "Or does this only effect the Reset Required Fields tool?" I really haven't tried other tools. "are those downloaded scripts and toolboxes located on the local machine they are being ran from or are they currently stored on a network drive?" A local Drive, my second hard drive (Not C:) which is my data drive. My Docs\Arcgis\Projects\Hydrantmanager is the folder where it is. I have added the toolbox to my project file and will try again. Then it's going to be a call to tech support. No Joy: Thank you to everyone that tried to help me get this to work. I did finally find the python script for reset_required_fields_python_api.py
... View more
02-05-2019
07:53 AM
|
0
|
0
|
1166
|
POST
|
I ran the script in Pycharm but didn’t copy it to the “C” drive. Pro Version is 2.2.4 It auto updates usually The feature layer is hosted on AGOL. It’s this: https://nwfd.maps.arcgis.com/home/item.html?id=d6ab6797967f4c409d328c6f92445b2a (I’ve shared it with ESRI Support) Versions of Python import matplotlibimport numpyimport scipyprint(sys.version)print(matplotlib.__version__)print(numpy.__version__)print(scipy.__version__) 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) 2.2.2 1.14.2 1.0.1 I’m going to try run this script again. Unfortunately the standalone python does not take me to the script:
... View more
01-24-2019
09:09 AM
|
0
|
2
|
1166
|
POST
|
Thank you for the reply, I downloaded and ran the tool, however I got this error message:
... View more
01-04-2019
12:04 PM
|
0
|
4
|
1166
|
POST
|
Greetings, Hydrant inspection time. I need to mark an "inspected Date/Time" in collector for an inspection of an asset. This time must be static and using the "Last Editor" date/time stamp overwrites when edits are made to the asset (Repairs for example of reported defects). I have created an "Inspected" field and made the parameter "Null Allowed" unchecked in ArcGIS Pro. This fills the field with a default value of "12/30/1899" and does, in fact, satisfy the "Null Not Allowed" condition so it's worthless to us. Is there a way to create a date/time field, with NULL values in it, so that when a user opens collector they MUST collect the time of action? (in this case an inspection). Thank you.
... View more
01-02-2019
02:08 PM
|
0
|
6
|
1680
|
POST
|
I'm curious to know the path to learn more about adding a little more functionality to the Web Apps such as: Generating the next number in a series (Such as an Asset ID) Launching Survey123 from within an app Linking items together automatically such as a building and assets contained within/near it. Thanks in advance. Jim
... View more
09-07-2018
11:39 AM
|
3
|
1
|
1872
|
Title | Kudos | Posted |
---|---|---|
3 | 09-07-2018 11:39 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|