Jump to content

updating parent field when iframe tabular inline add is made

Recommended Posts


I have a details datapage with an iframe in it. The iframe is a tabular report with inline add enabled. When user adds the inline add record, I would like to update the value of a field on the parent datapage without reloading the parent page. How can I achieve this?

Thanks, Chris

Link to comment
Share on other sites

  • 1 year later...

Hi @Carlson - I think you can only do is update the whole page or parent page. Just like this one:

<script type="text/javascript">

document.addEventListener('DataPageReady', function (event) {

  document.addEventListener("change", function(event){

      var edit= document.querySelector('[name="Mod0InlineEdit"]');

        edit.addEventListener("click", function(){
          window.parent.location = document.referrer;
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...