I am having an issue with viewing custom entity in an iFrame on a form. We have one entity called new_hbc and another entity called new_dhi_privatenotes with a 1:N relationship. The new_dhi_privatenotes works like the out of the box Notes (annotation)
but is just custom so we can control who sees it via security.
I have an iframe on the form that i want to display the new_dhi_privatenotes record data for a new_hbc record. The following works when I set the iFrame.src as "/_controls/notes/notesdata.aspx?id=8AF163CF-C645-E411-AA0A-00155D1C2871&ParentEntity=10006&EnableInlineEdit=true&EnableInsert-true".
The out of the box notes display fine and i can add and edit the standard notes (annotation).
The following does not work to display the custom entity notes (new_dhi_privatenotes) in the iframe. "/UserDefined/edit.aspx?id=8AF163CF-C645-E411-AA0A-00155D1C2871&ParentEntity=10006&EnableInlineEdit=true&EnableInsert=true"
The "id" parameter in the URL's above is the primary key from the new_hbc record linking to the Annotation and new_dhi_privatenotes entity. The ParentEntity (10006) is the ObjectTypeCode value of the new_hbc entity.
I receive the error message "An error has occurred. Try this action again. If the problem continues...".