Just out of curiosity, which app or mechanism would you like to register there? :)

Richard Parsons – Fri., 20. November 2015 9:44
Yes, I meant the files app. Thank you!


On Fri, Nov 20, 2015 at 8:42 AM, Vincent Petry <[email protected]> wrote:
Hi,


Which three dot menu ? In the files app ?


You can use OCA.Files.fileActions.registerAction() to create new file

actions. See how the text editor does it:
https://github.com/owncloud/files_texteditor/blob/master/js/editor.js#L256

Don't use "setDefault" though.


Cheers,


Vincent


On 11/20/2015 09:32 AM, Richard Parsons wrote:

> Hello

>

> I'm a new Owncloud app developer, but I've looked at the tutorial and so

> forth.

>

> When writing an app, how do I get a new option avaliable in the "three dot"

> menu to run some code in my app?

>

> Many thanks

> Richard

>

>

>


> _______________________________________________

> Devel mailing list

> [email protected]

> http://mailman.owncloud.org/mailman/listinfo/devel

>



_______________________________________________

Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel




--
Richard Parsons
 
Email:  [email protected]








_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to