Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web Previews] Can't get Parent content and model id when opening preview in a child (Referenced Model content) #98

Open
adeel-bright opened this issue Sep 25, 2023 · 1 comment

Comments

@adeel-bright
Copy link

I have model A which represents a page and i have a field in model "A" which reference to model "B".
I want to edit record B from record A and want to preview that as well.
I am able to get the ctx value of record B in preview modal, is there any way i can get the value of parent model i.e model A
in the similar iframe.

Any help will be appreciated.
Thanks

@adeel-bright adeel-bright changed the title Can't get Parent content and model id when opening preview in a child (Referenced Model content) Can't get Parent content and model id when opening preview in a child (Referenced Model content): Web Previews Plugin Sep 25, 2023
@adeel-bright adeel-bright changed the title Can't get Parent content and model id when opening preview in a child (Referenced Model content): Web Previews Plugin [ Web Previews ]: Can't get Parent content and model id when opening preview in a child (Referenced Model content) Sep 26, 2023
@adeel-bright adeel-bright changed the title [ Web Previews ]: Can't get Parent content and model id when opening preview in a child (Referenced Model content) [Web Previews]: Can't get Parent content and model id when opening preview in a child (Referenced Model content) Sep 26, 2023
@adeel-bright adeel-bright changed the title [Web Previews]: Can't get Parent content and model id when opening preview in a child (Referenced Model content) [Web Previews] Can't get Parent content and model id when opening preview in a child (Referenced Model content) Sep 26, 2023
@marcelofinamorvieira
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants