notion-py icon indicating copy to clipboard operation
notion-py copied to clipboard

Question: Rename File in Collection

Open Daveismus opened this issue 3 years ago • 4 comments

I have file fieled in a Collection Row. I want to rename my linked files, because it just uses a fraction of the link as a name.

Daveismus avatar Apr 13 '21 10:04 Daveismus

It's not clear for me what you need, can explain more?

kamikazebr avatar Apr 14 '21 00:04 kamikazebr

I linked a file, as seen in the image. (Inside a Table) grafik I want to change the name notion shows for the Image, because right now it just auto generated it from the Link

Daveismus avatar Apr 14 '21 06:04 Daveismus

You want rename one file you upload in Notion, but via code its? I dont have experience with that yet,, but i suppose you need get the collection, view and block and list all till you find what returned to change.

kamikazebr avatar Apr 22 '21 18:04 kamikazebr

yeah, that's what i want. I looked at the code here but couldn't find a property, that changes this. So if i have time i will work this out like you said

Daveismus avatar Apr 23 '21 11:04 Daveismus