Delete zepp life data from Google fit - google-fit

Does anyone know how to delete data from Zepp Life app in Google fit? The option above by clicking three dots doesn't show delete in this case.
Regards

Related

Moving an item from one Google form to a new Google form using google apps script

When editing a Google form manually, you can usually click on an item, and on the side appears a menu, which includes the button "import questions". This button is very useful for me as it allows me to collect questions from past Google forms and import them to new Google forms.
But I'm looking through the Forms documentation, and I can't figure out how to do this via Google apps script programatically.
Here is the documentation:
https://developers.google.com/apps-script/reference/forms/form
The closest thing to what I want is the .moveItem() method, which moves an item from one spot in a form to another. But it only works within the same form. I want to know if I could do it across forms. And ideally, instead of moving the item, it would make a copy of the item in the new form.
I considered the .getItems() method, but there doesn't seem to be a general .addItem() method I could use on the new form. Would I have to go through the painstaking process of having to identify each item type, and specify how the details of each one should be copied to the new form, including things like point values of a question and whether or not the question is required?
I want to import from forms that have all kinds of content: video, images, multiple choice questions, grid questions, number scale questions, etc. I feel that if I have to specify the details of each item type, it would take too long, and I would be bound to miss something or run into an error that may be impossible to solve. Is there not an easier way?
And if specifying each item type is what I have to do to import everything properly, has someone else created that code already that I can re-use?
Issue:
In the current stage, unfortunately, it seems that Forms Service cannot copy all items. Ref1, Ref2 Ref3. And, unfortunately, moveItem can be used for the same Google Form as you say.
Workaround:
In your situation, as a workaround, how about copying the source Google Form? And, when there are some items you want to remove, you can remove them. I thought that this process can be achieved by Google Apps Script.
But, I'm not sure about your actual Google Form. So I'm not sure whether this is a suitable method.
Future:
Recently, Google Forms API was announced. Ref When this API got to be able to be used, your goal might be able to be achieved by retrieving the object from Google Form. Unfortunately, I'm still not sure about the detail of it.

How to edit choices with images in Google Script Editor?

I've got a Google Form which is attached to a spreadsheet and a script. It's got one radio button field. When a choice is made, I want to run the script to remove the choice from the list. So far so good - I've got this working well.
However, when I use images with the choices, the script removes all of the images. Is there a way of not deleting the images? Or at least a way of accessing the images associaed with a Choice to get me started?

How to Hide Images in Google Spreadsheets with Google Apps Script?

I'm building a dashboard in Google Spreadsheets and want to include some images to be shown when certain rows are hidden/shown. Is this possible? I've used insertImage to insert the image but I can't find a way to delete or hide the image (hiding the rows does not affect images).
Any ideas?
There is no straightforward way of removing an image from the Apps Script API. Even if you delete a row, the image will still remain.
You should raise a request for this feature in the Issue Tracker ( http://code.google.com/p/google-apps-script-issues/issues/list ) .
EDIT:
Looks like there is already a very old issue for this https://code.google.com/p/google-apps-script-issues/issues/detail?id=64 . Along with a workaround mentioned there
Why don't you directly use the spreadsheet native function =Image(URL,section), it will be show or hide with the cells

How to call a script in Google Spreadsheet above a frozen row?

Above a frozen row I want to put an image that is linked to a script; e.g. click the image and a script runs.
I can insert an image and add a script to it, problem: can only be
done under frozen row.
I can insert an image using =image("imageurl";2), I can even put a
hyperlink to this =hyperlink("url"; image("imageurl";2)) and this
works nicely but I can't call a script.
Any ideas on how to solve this?
How do you add UI inside cells in a google spreadsheet using app script? ... shows how to insert a drawing and link it to a script. Unfortunately, as you've found, floating images are not allowed in frozen rows or columns, so that technique breaks down if you must freeze rows. A quick search on the interwebs will show that this has been a long-term complaint about Google Sheets. (For instance.)
There are options, none of them ideal:
Use a custom menu function instead. That means users need to hunt a bit to find the menu option to kick your script, but it does stay in view no matter where they are.
Use the hyperlink & image work-around you've described, but use a published script url as the target. That will allow you to run a google apps script, indirectly.
Use a sidebar. OK, this isn't actually supported in Sheets yet - visit Issue 3162 and star it for updates.

saving content editable html for Google Earth application

I just started working with html, and I am creating balloon description templates for Google Earth. I am creating site logs for gps locations around the world, and these sites get updated every now and then with a new receiver or antenna.
I have a table set up with all the information about the equipment we have at these sites, and I want to be able to change values in the table when the equipment is changed.
Right now the only way to do that is to go into the html code and find the specific value you need to change and then save the new html code. This works, but it would be nice if I could edit the values without having to go into the code. I know you can do contenteditable=true and then have some text you can edit, but when you refresh the page it goes back to the orignal text.
My question is if there is a way to edit the html code permanently without actually going through all the lines of code to find the one thing you want to change. If this cannot be done, or if my question makes no sense let me know. I probably just need to work with this stuff for more than a week.