Using ArcGIS Pro 3.1.3 with ArcGIS Enterprise 11.0 (soon to be upgraded to 11.1) the field for RouteName on the Create Route tool dialog allows me to type any text up to 255 characters.
We use the values in RouteName for a few Attribute Rules triggered when Create Route is run.
Is there any way to validate the text entered into RouteName prior to Create Route being run so that values which will break an Attribute Rule cannot reach it?
Solved! Go to Solution.
@GraemeBrowning_Aurizon There are 2 primary use cases to Route creation and my notes on how I see this worked out.
Unfortunately, the underlying API calls to applyEdits does not occur until after you click Run. Therefore, you'll need to consider alternative methods to validate/construct your Route Name field.
amit@esri | Transportation LRS Team
@GraemeBrowning_Aurizon There are 2 primary use cases to Route creation and my notes on how I see this worked out.
Thanks @AyanPalit
Your Route Bulk Load sounds similar to the code I developed for our initial data load via a file geodatabase, and I've adapted that to perform subsequent bulk data loads.
Your Create Individual Route sounds like what I need for the current use case. If you had any code for that which could be shared it would be useful but, in the absence of that, I think the advice "to be prepared with all the relevant details to build the route" and having a route editor "create the route in fGDB, validate and then re-create the route" using a tiny "bulk" load might be the way for me to go.
- Graeme