[owncloud-devel] Owncloud 8.2 FileActions

Hoffmann, Patrick hop at bito.de
Tue Dec 1 11:32:33 GMT 2015

Hello Vincent,

thank you for your reply. Yes it is showing a state.

I checked with your documentation for the syntax (http://vincentpetry.net/ocjsdocs/OCA.Files.FileActions.html)
I was also able to update my old register call to an registerAction :)
Thanks the rest should be easy.



Von: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] Im Auftrag von Vincent Petry
Gesendet: Dienstag, 1. Dezember 2015 12:00
An: List for Developers of ownCloud <devel at owncloud.org>
Betreff: Re: [owncloud-devel] Owncloud 8.2 FileActions


Why do you need to change the text dynamically ?
Is it because of some sort of state ?

The API doesn't allow for this officially.
Can you raise a ticket in owncloud/core to make the action text dynamically adjustable ?

A quick hack would be to make the action visible inline again by adding an attribute "type" to the file action registration and set its type to "FileActions.TYPE_INLINE".


On 01.12.2015 11:54, Hoffmann, Patrick wrote:


I'm struggling with the new file actions menu in OC 8.2.

My app creates an action called filelock. I changed it previously with JS by changing the html code (the text) of the action.

Now the problem is, if I want to change it, it isn't present, because it isn't visible at that time. I checked it with my development console in the browser and

the whole bubble-menu code disappears after it hides. How is it possible to find the fileaction even if the menu is not present?



Gesch?ftsf?hrer: Werner Magin, Winfried Schmuck | HRB 2704 Bad Kreuznach | Gesellschafter: Fritz Bittmann Holding GmbH | USt-ID: DE 811 202 181


Bittmann GmbH

Obertor 29

D-55590 Meisenheim      Telefon:



Internet:       +49 (0) 6753 122 0

+49 (0) 6753 122 399

info at bito.de<mailto:info at bito.de>


Dieses E-Mail ist nur f?r den Empf?nger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs?u?erung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von BITO-Lagertechnik Bittmann GmbH dar.

Sind Sie nicht der Empf?nger und haben diese E-Mail irrt?mlich erhalten, sind jegliche Verwendung, Ver?ffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail strengstens untersagt.

Jede ausgehende E-Mail wird von uns mit h?chster Sorgfalt auf Viren gepr?ft. Jedoch ?bernehmen weder BITO-Lagertechnik Bittmann GmbH noch der Absender (Patrick Hoffmann) die Haftung f?r Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anh?nge auf Viren zu pr?fen.

This email is exclusively meant for the addressee and may contain confidential information or information which can be classified as professional secret. Any view or opinion stated in this email is that of the author and does not necessarily represent the view or the opinion of BITO-Lagertechnik Bittmann GmbH. If you are not the addressee and if this email has been transmitted to you by mistake, you may not make use of, publish, transmit, reproduce or print the information contained therein for whatever purpose. We take every reasonable care to check all out-bound emails for viruses. However, neither BITO-Lagertechnik Bittmann GmbH nor the sender (Patrick Hoffmann) can be held liable for the occurrence of viruses and any consequential damages. It is therefore the addressee's sole responsibility to check incoming emails and attachments for viruses.

Anh?nge - :

Versand am 01.12.2015 11:55 von Patrick Hoffmann


Devel mailing list

Devel at owncloud.org<mailto:Devel at owncloud.org>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20151201/2ace4f25/attachment-0001.html>

More information about the Devel mailing list