Custom Action

88 views
Skip to first unread message

Hisnan Faudan Azmia

unread,
Nov 11, 2022, 1:19:59 AM11/11/22
to Fusio
Hello Christoph

I already follwing step for create custom action, from documentation ( https://docs.fusio-project.org/docs/use_cases/develop_custom_action/  )  but nothing happen, did i miss something ?

here my response :
image_2022-11-11_131952726.png  

Christoph Kappestein

unread,
Nov 12, 2022, 2:48:05 PM11/12/22
to Fusio
Hi,

so the form endpoint returns basically the form config of your action, could you show me the source of your action, I would guess, that there is a problem at this configuration.
Also can you take a look at the error logs to see whether there are some errors.

best regards
Christoph

Hisnan Faudan Azmia

unread,
Nov 21, 2022, 8:28:55 PM11/21/22
to Fusio
SS_CustomAction.png
here's my custom action i put to folder src > action with name file "Version.php" and i already config in composer.json as i know in fusio before version 3^   its work well and error log not recorded

error_log.png

composer.json 
composer_src.png

Hisnan Faudan Azmia

unread,
Dec 13, 2022, 8:14:54 PM12/13/22
to Fusio
Can You Answer, My Question ?

On Sunday, November 13, 2022 at 2:48:05 AM UTC+7 christoph....@gmail.com wrote:

Colin Vander Veen

unread,
Jan 20, 2024, 11:08:36 AM1/20/24
to Fusio
I just came across the same problem. I keep just using the PHP Sandbox... but would rather use files and have some version control. Anyways, I was able to finally get 'autoload' to work by enabling in '/resources/container.php'. (remove the remarks for 'Action') This should load your file as a new class available in Actions.
Reply all
Reply to author
Forward
0 new messages