API for Save As functionality

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

API for Save As functionality

Postby vponnada02 » Thu Jun 29, 2023 12:53 am

Hi,

We are looking for an API for the Save As functionality which downloads the resource folder and the .html file on doing Ctrl+S in any Chrome Webpage into a user selected directory.
We had an API from the Browser side which only downloads ".html file" and it's not downloading the "resource folder" using BrowserAxHost.StartDownload(string url).

As migrating the SDM application from IE to Chrome, we need an API for the SAVE AS(Ctrl+S) functionality.

We have verified the "cefclient.exe --enable-print-preview" for both 4324 and 5195 CEF versions and launched a webpage followed by Ctrl+S, but we are not seeing any SaveAs popup populated in the same webpage.

Thanks in advance.
vponnada02
Newbie
 
Posts: 2
Joined: Mon Aug 08, 2022 5:25 am

Re: API for Save As functionality

Postby magreenblatt » Thu Jun 29, 2023 1:22 am

Save As functionality is available with the Chrome runtime. Try “cefclient --enable-chrome-runtime”
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: API for Save As functionality

Postby vponnada02 » Fri Jul 28, 2023 11:50 am

Hi Team,

I have verified that the Save as functionality is working as expected in 5195 CEF version with cefclient.exe --enable-chrome-runtime flag.

I would like to know that whether it is possible to use just Save as functionality from chrome runtime as chrome runtime is having multiple features ? or is it possible to use the Save as functionality using cefclient without chrome-runtime?

Thanks in advance.
vponnada02
Newbie
 
Posts: 2
Joined: Mon Aug 08, 2022 5:25 am

Re: API for Save As functionality

Postby magreenblatt » Fri Jul 28, 2023 12:13 pm

The Save As functionality is currently only available with the Chrome runtime.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 215 guests