Hello everyone,
I changed the OMInternalOrganizationListPage form to include a infopart which is linked on the OMInternalOrganization table in the form to the OMHierarchyRelationship in the part, using a foreign key.
Web part displays the information correctly, the link is working. In the part web, I have an action which calls a class. This is where I am experiencing a difficulty. The args.record() transmitted to the class is OMOMInternalOrganization from the form, not OMHierarchyRelationship from the part's query. I need the OMHierarchyRelationship record and I can't figure why it is the form main datasource which is transmitted instead of the part query main datasource.
Thanks to anyone who could explain me the form-infopart datasource logic and how I could get a hold of the part's main datasource (OMHierarchyRelationship) in my action class.
Eric Lepage
*This post is locked for comments