smartsheet api - How can I rename image attachments with the row number using python through the API? -


i started learning python address issue(only having html experience previously). backup our sheets sharepoint. problem came across backing smartsheet drops images single zip file , there isn't way know row went to. therefore programming thing download separately row names or modify images in place , adding row name.

i've managed access api , download images but, can't row numbers on image files.

modifying attachment inside smartsheet make backups easier isn't best solution. rows can moved around, or multitude of other things can occur make relying on filename provide row number problematic.

when you're getting attachment information, there parameter in data called parentid unique id row. should use row id, rather row number. then, when download attachment, can set local file name include row id information.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -