Forum Discussion
Simplest way to get a connection is to unhide the "related_id" property in your Relationship ItemType (the 2nd one). Just as done in Part AML.
Hello, thanks for the answer.
Let me see if I understand, the Item Type "AuthorizationTittleRelation" is filled only when saving the view in Authorization and need to discover the ID of the parent(Authorization) when I save the AuthorizationTittle in this moment I don't have yet the AuthorizationTittleRelation.
If you can pass on more details, it'll help me a lot.
Thanks.
- AngelaIp4 years agoIdeator I
I am not sure if you are looking for something standard or something more complex.
If you can provide a screenshot or drawing where you show which data shall be displayed where, it will probably help even more :-)
- Helio4 years agoIdeator I
Hello, I have two forms one to insert new "Authorization" this below picture, and when I click in the in the button plus the new form is opened, to insert the new "AuthorizationTittle" second picture, and the issue is that I need the Authorization ID before save the AuthorizationTittle, second form.
Thanks.
- AngelaIp4 years agoIdeator I
Much better! [emoticon:c4563cd7d5574777a71c318021cbbcc8]
If your related item would be just a null-relationship things would be easy, cause you simply use the "source_id" property in your form.
If you have a related item with a relationship in between, things get more complicated. Problem: You can have more then one parent items.
Do you really need your mentioned "Authorization ID", or do you just search for a backlink option?
For viewing parent items the classical approach would be to use some kind of "Where Used / Parent items" tab with a TreeGridView that displays all parents of the item. For example ItemType "Manufacturer" uses this approach.
A custom html field in the Form that shows the ids or source elements itself would also be possible, but requires much more programming.