Thank you for the tool. I am 71 years old and somewhat technology challenged! I tried to create the script. I do not understand the meaning of repo (Is this the Library??), so I was not sure what to do when it says “paste the contents of AmazonOrders.js from this repo”, or paste the contents of AmazonOrdersDialog.html from this repo. Below is what I have so far. Can I get help here to understand how to create this script (Import Tool), or should I ask my neighborhood young IT expert, or is there another solution that was discussed in this thread that could be easier for a technology-challenged person. Thanks!
yes, the process is not that simple. I’m sure you’re not alone in this experience.
The challenge is that there are really only three options for running somebody else’s solution within your spreadsheet:
Use the tiller side bar or the community side bar from official Tiller community development people. We all trust these people not to do anything improper with our data or miss anything up. This is easy to install and to use. But I am not a member of that community and not authorized to make contributions to it.
Create my own sidebar and publish it to the Google extensions website. You could then install it very easily and use it. However, my code would have complete access to your Tiller spreadsheet, and there’s no way for you to know with any certainty exactly what it’s doing with your data.
I opted for the third solution: you copy and paste my code into your own project. If you care to look, you can see exactly what the code is doing. But as you can see, it’s a bit challenging.
I will update the instructions to provide more clarity, and I will include some screenshots showing you exactly what it should look like so that you can make yours match. It’s mainly a matter of creating empty files and giving them the right names in the app script folder, and then pasting the contents from my code on GitHub into those files. But give me a few days to update the instructions and it should be more clear.
Thank you for your kind and prompt answer. Yes, not being computer savy, it is very challenging for me to understand what you mean. I could pay an IT college student to help me install your solution but not the most convenient solution!
Yes is unfortunate that the Tiller sidebar is no longer working. I get the error message (see screenshot in my original question). “The Importer does not recognize the uploaded file”. Would a simple tweak each time I run the solution work? Could it be as simple as mapping change, which, if I understand correctly, would be to change the column name in the Order History.csv file I got from Amazon. Your comments are very much appreciated. Thanks again. Pierre
I tried changing the column names back to their originals, but still could not import. there were other changes as well, which is why I wrote my own. And I imagine it will break again. You can see a longer discussion here: Amazon orders CSV format has changed as of 2.19.26 - #30 by daveahlers
Hi Pierre - those are the old instructions. Did you try refreshing the page containing the instructions? They should look like this:
How to get the code out of this page and into Apps Script
Open your Tiller Google sheet.
Click Extensions, then App Script
A new window will appear with a list of files on the left. Chances are you’ll only have one file named “Code.gs”
Switch back to this page
Click on AmazonOrders.gs in the file list above.
Just to the right of the Raw button is a copy button (two little squares). Click that to copy the code to your clipboard.
Switch back to the AppScript window.
Click the + sign.
Select Script as the file type from the dropdown
Name the file exactly AmazonOrders. The .gs part will be added automatically when you save it.
Once the file is created, you will see a new area to the right of the file name with a few lines of text like “function myFunction”. Delete all that text.