POST
|
The sdk is out if you want to build a Field Maps like app yourself. The current version of field maps is still running 100 I believe. Based on the state the Field Maps Preview app, they are rebuilding much of Field Maps from the ground up using 200.x. I would not expect to see that in production until the end of 24 or beginning of 25
... View more
Monday
|
0
|
0
|
4
|
POST
|
No, I don't think you are missing anything. I don't see much value there either, besides having another font type. I think they released these info elements kind of bare bones. I suspect additional options will be supported in the future.
... View more
2 weeks ago
|
0
|
0
|
57
|
POST
|
It will just format the text you type as a code block. Code blocks are still just text though... nothing is executed. https://www.codecademy.com/resources/docs/markdown/code-blocks In Designer In Field Maps In the Layer Definition The JSONified version as saved in the layer definition's Form Elements: You will notice that each code block in the JSON string is wrapped with backticks instead of single quotes.
... View more
3 weeks ago
|
0
|
2
|
114
|
POST
|
Hello, What do you mean by "..., such as if a field is filled in or not (see code below)"? To test whether or not a field has a value or not, you need to use the built-in function `IsEmpty`. if($editcontext.editType == "UPDATE" && !IsEmpty($feature.qaqc)){
return true
}
else{
return false
} Also, the code above is a bit verbose and can be simplified a bit. The else can be implicit with simple expressions like this, since Arcade returns the last executed line of code, unless it encounters another return statement before the end. if($editcontext.editType == "UPDATE" && !IsEmpty($feature.qaqc)){ return true };
return false;
... View more
02-16-2024
12:16 PM
|
0
|
2
|
238
|
IDEA
|
Hello, There is a map setting you can apply that should prevent users from being able to create orphaned records called "Show Related Types". It should be "off" by default, which would prevent users from adding these records. https://doc.arcgis.com/en/field-maps/latest/prepare-maps/configure-the-map.htm#ESRI_SECTION2_06FA2FF97D85433CBDE524AE4D81531D
... View more
12-14-2023
07:32 AM
|
0
|
0
|
271
|
IDEA
|
I asked an ESRI Field Maps Dev at the ESRI UC2023. The idea was a hard no, they would not be doing that for security reasons. The proposed solution was instead of providing the token directly they would perhaps manage that behind the scenes with the Attachment functions. They would see that you are trying to display the attachment and handle the token on the users behalf (similar to how it works for attachments of a feature you are currently viewing in a popup).
... View more
11-16-2023
02:28 PM
|
0
|
0
|
667
|
POST
|
Hi Haley, It is likely failing because $OriginalFeature is a null object when the edit type is "INSERT". $OriginalFeature is something you only want to use when editing an existing feature. I would wrap the if block where you are using $OriginalFeature in another if where you check the edit context first to see if it is "UPDATE". Something like the following ...
if ($editcontext.editType == 'UPDATE') {
if (!IsEmpty($originalFeature)) {
if ($originalFeature.id_num > 0) {
return $originalFeature.id_num;
};
};
};
// else return newID
return newID;
... View more
10-25-2023
08:23 AM
|
2
|
2
|
782
|
POST
|
While you wait for the DateOnly() function with to become available you can use the following: Set the field's input type to "date" rather than the default "date and time". The user will then only see the date. You can also use Today() instead of Now(). Today returns the current date at midnight, which is what will be stored in the database, but since you set the input type "Date" the user will of course only see the date.
... View more
10-25-2023
08:00 AM
|
2
|
1
|
1170
|
POST
|
Hello, It may be helpful if you paste the code you tried already in your original post as it may not be working for a simple correctable reason. I'm assuming that you are using ArcGIS Online. Given that you have the two following fields: hw_completed hw_not_completed_reason The visibility expression assigned to hw_not_completed_reason field looks like the following: if (Lower($feature.hw_completed) != 'yes') { return true };
return false;
/*
Constraints (like visibility, requiredness, & editability) need to return either true or false (aka Boolean).
This expression returns true (visible) if the users response is anything other than 'Yes' or 'yes', indicating that the homework was not completed.
Otherwise, it returns false (not visible) because the homework was completed, so no reason is need.
*/ Here I created two text fields to support the example: I clicked the gear icon next to visibility (found in the logic section after selecting the field "hw_not_completed_reason"). Then clicked add new expression. Then, near the bottom right corner I clicked the "Launch Arcade Editor" Option. Then I gave my expression the name "vis_hw_not_completed_reason" based on the my field's name. Then I wrote the expression and saved it.
... View more
10-12-2023
02:40 PM
|
1
|
0
|
702
|
POST
|
I appreciate that, but you may want to roll back on my post being the solution. I did a little more exploration here. While the emojis render fine in a popup, they definitely do not work in labels in map viewer or Field maps. I tested this in AGOL and FM Android and iOS.
... View more
10-05-2023
07:15 AM
|
0
|
3
|
644
|
POST
|
Hey Jonathan, Have you tried using FromCharCode(code) Arcade function? The number the function takes is the decimal representation of the emoji or any character. I tried this in a popup it works okay, but it may or may not translate to your labels FromCharCode(9989) // check mark
FromCharCode(10060) // cross mark
... View more
10-05-2023
06:46 AM
|
2
|
5
|
661
|
POST
|
Hi Staci, It is definitely possible. We save all of our forms as JSON files and maintain them in using Version Control (GIT). There is no button that will enable you to export to a file. There are two ways that we go about it. Using ArcGIS Assistant we can access the JSON of a web map or layer, then we copy and paste into our file... in this case a JSON file. Using the Python API, you can access the map or layer definition and pull out the Form JSON and save it to a file. Our standard workflow is to create a template form using Field Maps Designer, save the from to a JSON file in a code repository, then any time we publish a feature layer to AGO or AGE from a template we then use the ArcGIS Python API to apply that template Form.
... View more
10-02-2023
07:58 AM
|
3
|
1
|
638
|
POST
|
Hello Staci These types of functions are pretty well documented here. The function you are looking for is the GetUser function https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser GetUser()
... View more
09-27-2023
02:10 PM
|
1
|
1
|
666
|
IDEA
|
@StacyCecil_ Perhaps that is the case, or maybe your question or idea changed somewhere along the line, but your post is in Field Maps Ideas, it discusses collecting data in Field Maps vs Collector, and the screenshots in the PDF are of data entry using Collector and Field Maps Forms. So it seems to me that we are talking about the same thing, but using different terms. This is assuming that by "attribute table" you actually mean "Form". In your original post, you have a pdf that shows form fields in a Field Maps Form during data entry. In this case, what ESRI calls a "Form", you may be calling an attribute table. Here is how ESRI defines an attribute table . You can find attribute tables in Map Viewer, in other apps like Experience builder and Dashboards, or in ArcGIS Pro, but not in Field Maps or Collector. Previously, with Collector, forms were configured in the web map's pop-up. Aliases and visible fields were set at that point and that is what the user could edit in the app. With Field Maps, that is still true, except that by default, text fields are now single line inputs. Esri is giving the designer the flexibility to choose input types for fields, which is awesome. If you want or need multi-line inputs, you must explicitly define this in Field Maps Designer by configuring the Form. If you don't configure the form, then you are stuck with the default configuration, based on your popup, which will default to single line mode for text. The reference to the popup in the previous post is simply to convey that to get started configuring your form in Field Maps you can do so by converting your existing popup. By doing this, you get a list of fields for data collection based on that popup that you can know configure however you see fit, including changing your a field's input type to multi-line text. So you have Popups (which are read-only), you have Forms (which are editable, and by default, are based on your Popups), and you have attribute tables (that allow you to see data for multiple features in an excel table like format, which may or may not be editable). Here is a decent tutorial by Geo Jobe for configuring a form by converting your Popup to a Form. https://geo-jobe.com/mapthis/take-advantage-of-these-new-features-in-arcgis-field-maps/#:~:text=With%20the%20current%20version%20of,could%20edit%20in%20the%20app Here are the ESRI docs on how to configure a form, but is quite convoluted. https://doc.arcgis.com/en/field-maps/android/help/configure-the-form.htm To summarize, text wrapping of text fields in your Field Maps Form is still a thing, but the Map/Form author must decide which fields will wrap and which won't and this is done in Field Maps Designer.
... View more
09-25-2023
12:44 PM
|
0
|
0
|
533
|
POST
|
It should work based on the documentation. The field calculate Arcade Profile lists "Portal Access" as one of its function bundles. The FeatureSetByPortalItem function is a member of the "Portal Access" function bundle. This function has been around since Arcade 1.8 and ArcGIS Pro 2.4. The error you specify above seems to suggest that you are not pointing to the correct portal or it is having issues authenticating. I don't really use model builder but you may need to sign-in to the portal of interest in the model... https://community.esri.com/t5/arcgis-pro-questions/setting-a-portal-connection-in-modelbuilder-in/td-p/1142868 .
... View more
09-25-2023
11:43 AM
|
0
|
0
|
398
|
Title | Kudos | Posted |
---|---|---|
1 | 01-11-2021 07:43 PM | |
1 | 07-03-2023 03:03 PM | |
1 | 05-24-2023 04:34 PM | |
1 | 06-22-2021 07:47 AM | |
1 | 04-18-2023 01:58 PM |
Online Status |
Offline
|
Date Last Visited |
Monday
|