function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Suma G 7Suma G 7 

inline vf page not working as accepted in lightning view

Hi,
i have my vf page & Controller with custom buttons and my controller will do DML on child object.
this VF is on my customobject detail page as a inline VF.
which is working perctly when i am in classic view, now the problem is in lightning view.
In Lightning view, when i click on button, it is changing url of the brower and url is like my vf page. finally, it is gving me "Invalid Page." Error.

Need help on this.

Thanks in Advance.

-Suma.
NagendraNagendra (Salesforce Developers) 
Hi Suma,

May I suggest you please check with "Available for Salesforce mobile apps and Lightning Pages on your Visualforce page" permission which might be causing the issue.

Please let us know if this helps.

Thanks,
Nagendra
 
Suma G 7Suma G 7
Hi Nagendra,
Thank you for your reply.
I have enabled that checkbox for VF page. but, no luck.

Thanks,
Suma.
Ritabrata BoseRitabrata Bose

Hi Suma,
I know it's a bit late, but you can try increasing the height from the page layout. 
Click on the settings icon in ----> Increase the height in pixels according to your need.

PS: It sometimes doesn't appear instantly, I had log in and log out. It worked for me hope it works for everyone.