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
Rajat Mahajan 21Rajat Mahajan 21 

VF in SF1 gets reloaded twice

Hi All

I am having a custom file upload functionality in an inline VF page.
However when i use this inline page on SF1 - I click on upload and the same VF opens its self again in a new window (not in inline form)
Then it allows me to upload files from my device

Could you please help me with this issue?

Thanks in advance!
SonamSonam (Salesforce Developers) 
Got a similar case once and understand that this is an expected behavior -
As stated in the article: Visualforce added to page layouts works best if it’s read-only, at-a-glance information.
Rahul SharmaRahul Sharma
What do you mean it opens a new window, Can you please elaborate or adding some screenshots would be helpful.