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

Comments

Projects
None yet
2 participants
@MikeMillerGIS
Member

MikeMillerGIS commented Apr 5, 2016

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

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Apr 5, 2016

Member

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

Member

MikeMillerGIS commented Apr 5, 2016

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

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS May 3, 2016

Member

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

Member

MikeMillerGIS commented May 3, 2016

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

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Feb 16, 2017

Member

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

Member

MikeMillerGIS commented Feb 16, 2017

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