|
POST
|
I had to work with Esri to get this situated. I've included a screenshot of the Power Automate workflow. In "Parse JSON," in "Content" I had to put the Current item from the "For each 3" step and under "Schema," I had to paste the following: {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {}
},
"geometry": {
"type": "object",
"properties": {}
},
"changeType": {
"type": "string"
}
}
} Then, in the "Create a record in a feature layer" step, under "Geometry," open the "Insert function" box and then click on the Dynamic content tab in that box. This will give the option to choose and add "Body geometry" from Parse JSON. I think that should make it work.
... View more
05-16-2024
11:45 AM
|
0
|
1
|
5425
|
|
POST
|
I'm having a similar issue, too. I have a hosted polygon feature layer that I'd like to have points visible at small scales, and then when a user zooms in, the points disappear and the polygon appears. To do this, I have filtered the hosted feature layer to display a subset of the layer. I added a field that's populated with '0' so I can display the features using the "Color and Size" symbology, which makes the polygon layer look like a point. Then, I've added the layer again to the map and customized the polygon symbology. I then adjusted both layers' extents to turn off and on at certain scales. The layer that's being displayed as a point shows some points and then when I zoom in and out some appear and some disappear. Seemingly random. I've tried downloading the hosted feature class and checking geometry and there are no errors. I've rebuilt the cache and optimized layer drawing but to no avail. Any suggestions on what to do next would be appreciated. Unfortunately, the data are sensitive so they can't be shared publicly.
... View more
05-16-2024
06:56 AM
|
0
|
1
|
4122
|
|
POST
|
No, I saw that one, but this specific issue is not to do with position anchors or call outs; it assigns a negative vertical offset when there wasn't one. Furthermore, the vertical offsets are different for different elements; the legend offset is -1 and other text boxes are -2 and -3. But, to your point, I did notice, too, that position anchors aren't consistent between elements, even though they were before. They are showing in one of the 8 spots they are supposed to be (that is, not just anywhere along the border, as in the bug you referenced), but each element is random on which of the 8 is actually chosen/set.
... View more
05-03-2024
08:01 AM
|
0
|
0
|
1414
|
|
POST
|
My organization just recently upgraded to ArcPro 3.2.2 and now all of my existing projects that include layouts, as well as my saved layouts, have vertical offsets applied. The map elements that are affected are rectangle text boxes (those texts that have a bounding box) and legends. It seems as there was a bug that was fixed in 3.2 with regards to offset, but I wasn't having that issue before (BUG-000138577). Anyone else have the same issue? Any fixes? Manually fixing all these maps would be tedious at the best.
... View more
05-03-2024
06:38 AM
|
0
|
2
|
1465
|
|
POST
|
@VivianPham, I think there may be some type of bug going on here. I found another post from a user that was having similar issues. The Fed UC is this week so it's likely Esri employees are pretty busy and haven't had time to respond. Hopefully something can get figured out!
... View more
02-15-2024
11:45 AM
|
0
|
0
|
3674
|
|
POST
|
@AnthonyLatini : any updates on this issue? I think I'm running into the same thing.
... View more
02-01-2024
07:12 AM
|
0
|
0
|
1563
|
|
POST
|
Following up on this with an update: I found some documentation about the Geometry attribute and found out to find this attribute you have to type in "geometry" in the search bar in the Dynamic content window. After trial and error, I found a flow that partially worked: using the trigger "When a record is updated in a feature layer," run the "Get data from feature layer action." After that, run the "Fetch updates, changes, or deletions from feature layer" action and then run the "Create a record in a feature layer" action. The geometry gets written to the feature layer however it creates a polygon for each record in the original feature layer (not just the updated one) and the attributes are incorrect (the attribute is populated with the same value across each record, even those that are different). I have gotten just one record to be written (with the correct attribute) but in that flow there is no geometry associated with the record.
... View more
01-29-2024
11:07 AM
|
0
|
0
|
3759
|
|
POST
|
Oooh, success! After looking at your expression, I modified mine a bit to remove the duplicate lines (e.g. I didn't need to run the FeatureSetByPortalItem twice) and to check if the Secondary Contact existed before I did all of the Secondary Contact information gathering. It worked! I copied my expression here just in case it will help someone else. Appreciate your input! var primPhone = $feature.prim_phone
var secPhone = $feature.sec_phone
var fs = FeatureSetByPortalItem(Portal(Removed for Privacy), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var primPhoneID = First(Filter(fs, 'contact_phone=@primPhone'))
var primPhoneConcat = Concatenate("Primary Contact Name:" + TextFormatting.NewLine + primPhoneID.contact_name + " (" + Proper($feature.prim_contact_type) + ")" + TextFormatting.NewLine +
primPhoneID.contact_address1 + (IIf(IsEmpty(primPhoneID.contact_address2), '', TextFormatting.NewLine + primPhoneID.contact_address2)) + TextFormatting.NewLine + primPhoneID.contact_city +
", " + primPhoneID.contact_state + " " + primPhoneID.contact_zip + TextFormatting.NewLine + primPhoneID.contact_phone + TextFormatting.NewLine + primPhoneID.contact_email)
if(secPhone==null) {return primPhoneConcat}
var secPhoneID = First(Filter(fs, 'contact_phone=@secPhone'))
var secPhoneConcat = ("Secondary Contact Name:" + TextFormatting.NewLine + secPhoneID.contact_name + " (" + Proper($feature.sec_contact_type) + ")" + TextFormatting.NewLine +
secPhoneID.contact_address1 + (IIf(IsEmpty(secPhoneID.contact_address2), '', TextFormatting.NewLine + secPhoneID.contact_address2)) + TextFormatting.NewLine + secPhoneID.contact_city +
", " + secPhoneID.contact_state + " " + secPhoneID.contact_zip + TextFormatting.NewLine + secPhoneID.contact_phone + TextFormatting.NewLine + secPhoneID.contact_email)
return primPhoneConcat + TextFormatting.NewLine + TextFormatting.NewLine + secPhoneConcat
... View more
01-25-2024
11:29 AM
|
0
|
0
|
3094
|
|
POST
|
All, I am using Power Automate to help automate a portion of a project's workflow. Unfortunately, I'm running into issues and my Flow is failing. Here's the goal: user updates an attribute in an ArcOnline hosted feature layer. When that attribute is changed to a certain value, we need that feature (polygon and some attributes) to be copied to another hosted feature layer. I've attached screenshots of my current Flow, but am having issues with getting the polygon to be copied. I can get the attributes copied: what happens is a attributed record is created but there is no geometry associated with it. I think it all has to do with the "Geometry" attribute in the "Create a record in a feature layer," but I can't figure out what to put there. I've tried all kinds of combinations. What am I doing wrong? Just a note, too: I haven't added the condition portion of the Flow yet that identifies the attribute and value that should trigger the copying of the record (I want to get the geometry copying portion to work first!). @SeanKMcGinnis @AnthonyLatini
... View more
01-25-2024
10:50 AM
|
1
|
3
|
3893
|
|
POST
|
No luck: I put exactly that in the expression and it's giving me the same response: For those polygons that have both Primary Contact (step3Phone) and Secondary Contact (step7Phone)--that is, they are not Null--the pop-up displays both Primary and Secondary Contact as expected. For those polygons that only have a Primary Contact (step3Phone)--that is, step7Phone is Null--the pop-up displays only a blank line. I have gotten both the Primary and Secondary Contact expressions working individually, so I know it's not something in lines 1-18. I would just like the blank line to disappear if there isn't a Secondary Contact, similar to what happens in lines 7 and 17, where if the second address line is Null it just goes on to the City/State/Zip and doesn't place a blank line in the address block. Appreciate the help...any other suggestions?
... View more
01-22-2024
07:59 AM
|
0
|
0
|
3154
|
|
POST
|
Thanks, Johannes. That makes sense, but it seems I'm still doing something wrong. If there are both Primary and Secondary, both "step4Phone" and "step8Phone" displays (as I want). However, if there is just Primary, nothing displays. Any ideas? I feel like there should be an "else" statement, but I tried that and it didn't work. var step1Phone = $feature.prim_phone
var step2Phone = FeatureSetByPortalItem(Portal('Removed for Privacy'), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var step3Phone = First(Filter(step2Phone, 'contact_phone=@step1Phone'))
var step4Phone = Concatenate("Primary Contact Name:" + TextFormatting.NewLine + step3Phone.contact_name + " (" + Proper($feature.prim_contact_type) + ")" + TextFormatting.NewLine +
step3Phone.contact_address1 + (IIf(IsEmpty(step3Phone.contact_address2), '', TextFormatting.NewLine + step3Phone.contact_address2)) + TextFormatting.NewLine + step3Phone.contact_city +
", " + step3Phone.contact_state + " " + step3Phone.contact_zip + TextFormatting.NewLine + step3Phone.contact_phone + TextFormatting.NewLine + step3Phone.contact_email)
var step5Phone = $feature.sec_phone
var step6Phone = FeatureSetByPortalItem(Portal('Removed for Privacy'), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var step7Phone = First(Filter(step6Phone, 'contact_phone=@step5Phone'))
if(step7Phone==null){return step4Phone}
var step8Phone = Concatenate("Secondary Contact Name:" + TextFormatting.NewLine + step7Phone.contact_name + " (" + Proper($feature.sec_contact_type) + ")" + TextFormatting.NewLine +
step7Phone.contact_address1 + (IIf(IsEmpty(step7Phone.contact_address2), '', TextFormatting.NewLine + step7Phone.contact_address2)) + TextFormatting.NewLine + step7Phone.contact_city +
", " + step7Phone.contact_state + " " + step7Phone.contact_zip + TextFormatting.NewLine + step7Phone.contact_phone + TextFormatting.NewLine + step7Phone.contact_email)
return step4Phone + TextFormatting.NewLine + TextFormatting.NewLine + step8Phone
... View more
01-19-2024
10:46 AM
|
0
|
0
|
3189
|
|
POST
|
All, I have been stumped with getting an Arcade expression working! In the end, I would like to have an expression that has a Primary Contact (with address information) and, if present, Secondary Contact (with address information). I have the two working separately, but if there is not a Secondary Contact, it returns a blank line. If there isn't a Secondary Contact I'd like it to just be skipped so there isn't an extra line in the pop-up. Below is my expression. Lines 1-8 are for the Primary Contact, lines 9-16 are the Secondary Contact, and line 17 is where my problem lies. If the expression returns false, it appears correctly. If the expression returns true, however, nothing is written. I've tried too many different things to list here--help is much appreciated! var step1Phone = $feature.prim_phone
var step2Phone = FeatureSetByPortalItem(Portal('Removed for Privacy'), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var step3Phone = First(Filter(step2Phone, 'contact_phone=@step1Phone'))
var step4Phone = Concatenate("Primary Contact Name:" + TextFormatting.NewLine + step3Phone.contact_name + " (" + Proper($feature.prim_contact_type) + ")" + TextFormatting.NewLine +
step3Phone.contact_address1 + (IIf(IsEmpty(step3Phone.contact_address2), '', TextFormatting.NewLine + step3Phone.contact_address2)) + TextFormatting.NewLine + step3Phone.contact_city +
", " + step3Phone.contact_state + " " + step3Phone.contact_zip + TextFormatting.NewLine + step3Phone.contact_phone + TextFormatting.NewLine + step3Phone.contact_email)
var step5Phone = $feature.sec_phone
var step6Phone = FeatureSetByPortalItem(Portal('Removed for Privacy'), 'Removed for Privacy',
0, ['contact_name', 'contact_address1', 'contact_address2', 'contact_city', 'contact_state',
'contact_zip', 'contact_phone', 'contact_email'], false )
var step7Phone = First(Filter(step6Phone, 'contact_phone=@step5Phone'))
var step8Phone = Concatenate("Secondary Contact Name:" + TextFormatting.NewLine + step7Phone.contact_name + " (" + Proper($feature.sec_contact_type) + ")" + TextFormatting.NewLine +
step7Phone.contact_address1 + (IIf(IsEmpty(step7Phone.contact_address2), '', TextFormatting.NewLine + step7Phone.contact_address2)) + TextFormatting.NewLine + step7Phone.contact_city +
", " + step7Phone.contact_state + " " + step7Phone.contact_zip + TextFormatting.NewLine + step7Phone.contact_phone + TextFormatting.NewLine + step7Phone.contact_email)
return IIf(IsEmpty(step7Phone), step4Phone, step4Phone + TextFormatting.NewLine + TextFormatting.NewLine + step8Phone)
... View more
01-19-2024
08:50 AM
|
0
|
6
|
3281
|
|
POST
|
Thanks for this solution! Also, in case anyone else is having trouble with this, just copy/paste the code directly into the "Geometry" bar--not the f(x) bar in the Expression window that appears when you click in the "Geometry" bar.
... View more
01-05-2024
10:36 AM
|
0
|
0
|
5936
|
|
POST
|
Rylee, thanks for your response! Unfortunately, the three layers/tables need to stay separate as they may not always relate to each other. For example, records in the Outreach Tracking table may not relate to a record in the spatial survey. The purpose of this table is for us to be able to summarize how much/what kind of outreach was done every month. Currently, techs are completing a spreadsheet that contains who they talked to, what kind of outreach it was (phone call, in-person meeting, workshop, etc.), contact information, among other things. Records in this table often aren't referencing a specific piece of land like the spatial survey is, although they can. In the case of the workshop outreach situation, we need to have the record added to the outreach table and also we'd need to add contact information directly to the Landowner Contact table (when the landowner attends the workshop they check in with the tech and the tech adds their information to the contact list). This way, if we end up talking specifically to that landowner about a piece of property late, when we start the landowner survey, the contact information is available and doesn't need to be added again. I've started to play around with the pulldata("@layer") and the link you provided hopefully will help me out--I hadn't found that page before. Let me know if I can expand on more of my workflow or needs; I know it's complicated and I'm not doing a great job of explaining. It's just that there's not one starting point! Annina
... View more
01-02-2024
10:34 AM
|
0
|
0
|
2034
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-03-2026 12:15 PM | |
| 1 | 02-23-2026 11:59 AM | |
| 1 | 02-06-2026 05:48 AM | |
| 1 | 02-04-2026 07:38 AM | |
| 1 | 02-04-2025 05:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|