I am working in Pro 3.6 and I added the Utility Network Package Tools (untools) from the Package Manager in Pro. So I believe this question applies to 3.5+.
I was of the understanding there would be a tool to help me add rules to my asset package. I had an iteration of Utility Network that needed a few rules added to make everything work. That was all successful. So, now i am trying to add to the "rules" table in the Asset Package (B_Rules). I added them manually, but I believe that made me skip important GUID application.
I'm struggling to understand how to add these rules to the Asset Package so that my next iteration of a Utility Network will automatically start with the rules I know I need.
Solved! Go to Solution.
Do you have all the rules in a built UN? If so, I would just export the UN to an asset package, then copy the b_rules table from the exported asset package to the source asset package(deleting the b_rules table first).
If not, you can use the rules matrix from the UDMS toolbox:
https://github.com/Esri/Utility-Data-Management-Support-Tools
Do you have all the rules in a built UN? If so, I would just export the UN to an asset package, then copy the b_rules table from the exported asset package to the source asset package(deleting the b_rules table first).
If not, you can use the rules matrix from the UDMS toolbox:
https://github.com/Esri/Utility-Data-Management-Support-Tools
Thank you @MikeMillerGIS!!!
That initial copy and replace suggestion worked perfectly. Very smooth process and then I can be very confident that I am passing along what I just saw working. This is great!
@BrandoCrozier note, if your original asset package used a D_Rename table to rename asset groups/types then the final asset types in your deployed utility network will be different and you will need to un-rename your asset types in the new rule table.
Thank you for the follow-up. In my case I do not see a D_Rename table in the Original Asset Package.