chrome extension to write user data on an existing excel sheet - google-chrome-extension

I've created a chrome extension with user form, which has list of existing bookmark folder in chrome and user comment via text box.
Is it possible to write the user form data to an existing excel sheet in local drive, with aid of chrome extension ?
Thanks for your time !

chrome extension is not alowed to access local files(see here).
to solve this problem, I sugest you to building a little webapp, host it on you localhost or server, then use XMLHttpRequest send your user data to your webapp, after that you can write it on an existing excel sheet.

Related

Excel Hyperlink adding redirectURL

I'm creating a hyperlink in excel
=HYPERLINK("https://www.redacted.com/index.html?Display=GroupMeetings/index","link")
When I click on this link it changes the Url to
https://www.redacted.com/index.html?redirectURL=Display%3DGroupMeetings%2Findex
if I change the URL to have ?Displayy= with two y's it does not add the redirectURL attribute. I cannot find any documentation about why this is added. Anyone know why?
The end goal is to deep launch users to specific pages within the application via a hyperlink in excel.
Do the users need to be authenticated to view the pages you are sending them to?
If so the cause may be this (taken from this answer on super user https://superuser.com/a/445431/154198):
Clicking a URL in Excel seems to open it in your default browser. But that's not really true. Before opening it in your browser, Excel first runs Microsoft Office Protocol Discovery. This uses a Windows/Internet Explorer component to determine if the URL works. (It does not identify itself as Internet Explorer, but as "User Agent: Microsoft Office Existence Discovery".) And if the results are (somehow) okay then it will open the result of that check in your default browser.
Microsoft have issued a fix for this KB218153 - which can be found here:https://support.microsoft.com/en-gb/help/218153/error-message-when-clicking-hyperlink-in-office-cannot-locate-the-inte
This may not be your specific problem, but it is at least worth knowing about.

MS Excel 365: localhost urls open in native browsers instead of pop-up dialogue

I am using dialogueAsync to open some html pages for my custom application. When the urls are hosted on a remote system e.g. https://so-and-so.com/etc.html it opens up as a pop-up which is like a dialogue box.
The moment I change the url to localhost i.e.to a webpage deployed locally in my system - http://localhost:8080/etc.html, the html opens up in my default browser which as a new tab.
It is very painful to implement waiting / progress dialogues on my local, as dialogue does not close automatically - dialogWindow.close() never works.
Is there any way around?
For the first part: in the manifest that you are sideloading, what is the original base URL? It might be that you need to add your localhost to the AddDomains list:
https://dev.office.com/reference/add-ins/manifest/appdomain.
For the dialogWindow.close(), I suggest you open a separate question, to ensure that the question/suggestion doesn't get lost in being mixed in with your first question.

Is it possible to show Edit Web Query window when the workbook is opened in excel

We have a url say:
http://www.example.com/myexcelbigdata/data.aspx which requires authentication. We want our users to be able to access this page via excel by using web query.
If I add the url as web query, it will be redirected to the login page (which is good). Then I type in username and password and login, /myexcelbigdata/data.aspx will be displayed again.
However, if I close and open the excel workbook again, the worksheet actually shows the login page (not the data page). Is there a way that excel can automatically show "edit web query" window every time the excel file is opened, so the users can provide username and password?
If possible, we don't want to use vba in excel book as customers will have to either use the excel we provide or knows how to type in the vba code.

How to open a new tab in a chrome extension and show data

I have a chrome extension which allows the user to perform actions and build up data. How can I get my chrome extension to open a new tab to allow my user to interact with the data they've accumulated? I could build a separate web app service where I pass the users data to. I currently persist the users data in local storage but I want a way for them to view/edit that data.
Not sure what exactly to google to get a chrome extensions to launch a new page under it's url...
Edit:
Ideally I'd like for my user to press a button from the popup.html popup to open up the new tab, if possible.
I got it to work, basically from the popup.html page I can make this javascript call,
chrome.tabs.create({url: chrome.extension.getURL('dashboard.html')})
where 'dashboard.html' is file belonging to my chrome extension.

how to open a itunes link in uiwebview

Is it possible to load a app store link in uiwebview. I have tried to open it in uiwebview but it doesnt load in there. I dont want users to leave my app when they click on the url from my app. Is it possible?
Regards
Pankaj
iTunes content does not have an "iTunes Preview" page on mobile - iOS automatically recognizes itunes.apple.com links and opens the store.
If you want to keep the user within your app, use SKStoreProductViewController to open the store to a specific piece of content. After the user dismisses the sheet, they are still within your app.
http://developer.apple.com/library/ios/#documentation/StoreKit/Reference/SKITunesProductViewController_Ref/Introduction/Introduction.html

Resources