Search the Community
Showing results for tags 'python2.7'.
Found 1 result
Hi , I was trying code in python for updating note. note_obj = note_store.getNote(token, reqpara_note["ntdtanoteguid"], True, False, False, False)I came across i was not able to remove all tag from note. if taglist is not None: note_obj.tagNames = taglist # here it will have list ['newtag','todo']else: note_obj.tagNames = None I tried to remove this tag in my code way , just updated the tagGuids to None note_obj.tagGuids = Nonereturnnote = note_store.updateNote(token, note_obj)I was able to updated the tags (add or remove) for a Note yeha! tag is not deleted from account. I don't need to delete. It should just remove from the note i want to update . probelm: When I try to remove the last tag (i.e there is only one tag to the Note) It not get removed returnnote do have that last tag with him . I don't know why? u can also try to add many tags to note and then remove all tag at once the returnnote will return list of tag again. Any body have solution? or Why ?