Is it possible to have a attribute rule fire an external web app url

568
8
11-17-2023 07:31 AM
WayneClark
New Contributor II

This would be great for parcel/address editing via a web app after a new address is placed.

I have a parcel features that are a single shape and versioned .
A database that holds all the property data.
The address points are not versioned.

Sql processes stack the parcels as needed and updates address points

So I would really like to edit my data via a non esri web app.

Thanks in advance!

Tags (2)
0 Kudos
8 Replies
Jake_S
by
Occasional Contributor II

@WayneClark 

Attribute rules only fire when you edit through Esri apps through the applyEdits ArcGIS.Core Data function. Which also includes SDK Append, SOE (server object extensions)  and  SOI (Server object interceptors). 

So an example of where a rule wont trigger is if a database administrator was to make edits to the source data through the RDBMS utilities, such as SQL Server Management Studio or Toad for Oracle, the rules would not trigger. This is the same for all non Esri applications.

Hope this helps.

~Jake

0 Kudos
WayneClark
New Contributor II

Thanks Jake, this is good info to know!!

0 Kudos
Bud
by
Notable Contributor

It's not clear to me what you want.

  1. Do you want an attribute rule to make HTTP call?
  2. Or do you want to trigger an attribute rule when editing the geodatabase table using a non-ArcObjects mechanism?

For A), see this idea: Attribute rule arcade expression calling webservice and processing result. As mentioned in my comment in that post, there might be a mechanism in the enterprise database that can make an HTTP call when a row is edited. At least, there is in Oracle.

0 Kudos
WayneClark
New Contributor II

I wanted to have a address point after creation open a non Esri web application to complete filling out the parcel information. Using a keys 1 for parcel shape and one for address.
Here is an basic working layout  example url 

Really I am not a fan of filling out the data in the attribute table but that’s just me 😊
I want the user to fill out only what is needed and a background process complete the rest of the data. all in a flat table that will be used for parcel stacking as needed. I have this working by a pop up in Pro, I just wanted the process to fire without a extra click.

0 Kudos
Jake_S
by
Occasional Contributor II

Do users need to use the layout you provided (example url)? If you converted this process to the light weight Survey123 you could trigger these rules. 

0 Kudos
WayneClark
New Contributor II

Thanks! I will look into that.

I could be over thinking my process.
This was my thought.
If I have 1 parcel shape for like a condo that will be stacked later
You could force a new parcel number for that record

If you are just adding a extra address like a unit to a parcel
You would use the same parcel number and ownership etc.
And that could be processed by a SQL trigger to the flat table.

0 Kudos
Bud
by
Notable Contributor

I am not a fan of filling out the data in the attribute table

Is the attribute pane any better? (not the attribute table)

Related: Provide native attribute data entry forms and form design tools

 

0 Kudos
WayneClark
New Contributor II

Hey Bud
The pane is about the same, I am more used to that due to AutoCAD object data editing in the past.
I like the post Provide native attribute data entry forms and form design tools

I will continue my web editing project for now. (cant let it go yet)
Sql views from domains for web droboxes as needed.
I will end up embedding the form in a web experience for others to update only
All creations must be done in Arcpro

i am 1/2 done with it now, but i will be looking in to Survey123 as well.

0 Kudos