Adding option to "+ New" Button with Python ExApp #360
Unanswered
cedric-fauth
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to write an ExApp in python with custom Frontend. However all tutorials out there do not show what I need. I want the "+ New" Button in the files app to have another option "from url" where I can download a file from url. A dialog should show up where I can enter an url and select some options. After that the request is send to my backend and processed.
So far I looked at the to_gif example but this only adds an option to the files_dropdown_menu. But how can I send JS to the frontend now which shows my dialog?
Apart from that I looked at other Apps not ExApps using addScript function in PHP to register a script which modifies the "+ New" using something like:
I tried using set_script() from the python api to register that script but the option does not show up. Also I am confused which parameters I have to provide to this method.
Do you know how I can
Beta Was this translation helpful? Give feedback.
All reactions