This topic contains 1 reply, has 1 voice, and was last updated by adriwan_kenoby 5 years, 9 months ago.
- Topic
Hi Oro Team,
I need your help again,
How can I access to the form fields attributes in my action.yml
Here is my code :
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950container_restore:label: sinabs.hosting.container.widgets.restoreroutes:- sinabs_container_viewacl_resource: [UPDATE, entity:Sinabs\Bundle\HostingBundle\Entity\Container]button_options:icon: fa-window-restoreclass: btnpreconditions:'@not_equal': [$backupedAt, null]frontend_options:template: SinabsHostingBundle:Action:restore.html.twigtitle: sinabs.hosting.container.widgets.restoreoptions:width: 550modal: falsestateEnabled: falseincrementalPosition: falseallowMaximize: trueallowMinimize: truedblclick: maximizemaximizedHeightDecreaseBy: minimize-barattributes:restore:label: 'Restoration Point'type: entityoptions:class: Sinabs\Bundle\HostingBundle\Form\Model\RestoreTypeModelform_options:attribute_fields:restore:form_type: Sinabs\Bundle\HostingBundle\Form\Type\RestoreTypeoptions:container: $.dataactions:- '@assign_constant_value':attribute: $.topicvalue: Sinabs\Bundle\HostingBundle\Async\Topics::CONTAINER_RESTORE- '@call_service_method':service: oro_message_queue.message_producermethod: sendmethod_parameters:- $.topic- { id_ct: $id, id_backup: $.restore.backup.id , filename: $.restore.filename }- '@flash_message':message: sinabs.hosting.container.widgets.restore_save_successMy problem is that
$.restore return me null value
.
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.