Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy Linked Record #102

Closed
MikeMillerGIS opened this issue Apr 5, 2016 · 3 comments
Closed

Copy Linked Record #102

MikeMillerGIS opened this issue Apr 5, 2016 · 3 comments

Comments

@MikeMillerGIS
Copy link
Member

Reported on Geonet:
one AA rule we're working on for signs is copying linked record between the sign point and sign__attach table to fill in the sign ID (FacilityID) so we can recognize IDs that we're familiar with. We've tried the method with GLOBALID|REL_GLOBALID but that fails, however; substituting a different ID for the PK/FK relate works.

https://geonet.esri.com/message/596805?et=watches.email.thread#comment-596805

@MikeMillerGIS MikeMillerGIS self-assigned this Apr 5, 2016
@MikeMillerGIS
Copy link
Member Author

More details:
Awesome! Thanks. I had a fleeting thought that I was to remember to do this. So, here's the set up using the LGIM:
FacilitiesStreets/Sign feature with the FACILITYID column (text 20)
in the Sign_ATTACH table we added a column: FACILITYID (text 20)
We wanted copy linked record to drive the FACILITYID from Sign to Sign_ATTACH using the PK/FK of Sign.GlobalID and Attach.REL_GLOBALID
This doesn't work. But if we changed the method to fill in a different field and PK/FK on FACILITYID that we manually entered, it works. Makes me suspicious that it doesn't like to use the GlobalID.
Also, with the attachments enabled there is the relationship class in the LGIM--don't know if that affects the AA method.

DynamicValue example:
Sign__Attach|FACILITYID|COPY_LINKED_RECORD|Sign|FACILITYID|GlobalID|REL_GLOBALID

@MikeMillerGIS
Copy link
Member Author

Copy Linked Record failed to properly format the sql statement for GLOBAL and GUID fields

@MikeMillerGIS MikeMillerGIS added this to the Next Release milestone Sep 23, 2016
@MikeMillerGIS
Copy link
Member Author

verified, email sent to paul with details and repo case if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants