My Documents Component: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 67: Line 67:
dpId or docPackId - the document pack id
dpId or docPackId - the document pack id


''Notice that attributes will always override URL params and you can mix and match''
== Closing the Modal ==
Custom embedded pages can cause a document modal close by issuing an iframe post event from the page/visualforce page like so:<syntaxhighlight lang="javascript">
window.parent.postMessage(
    {
        event_id: 'x3b_close_modal',
        data: {
        }
    },
    "*"
);
</syntaxhighlight>


''Notice that attributes will always override URL params and you can mix and match''


[[Category:3B Portals]]
[[Category:3B Portals]]
[[Category:3B Onboarding]]
[[Category:3B Onboarding]]