ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 1 year, 6 months ago.

  • Creator
    Topic
  • #16869
    Naâmèn
    Naâmèn
    Participant

    Hello,

    I created this file system_configuration.yml for my bundle

    oro_system_configuration:
    groups:
    symdrik_userbundle_settings:
    icon: icon-bullhorn
    title: 'Test Bundle'
    priority: 30
    symdrik_userbundle_general_settings:
    title: 'General'
    fields:
    symdrik_user_login.logo:
    ui_only: true
    data_type: file
    type: file
    priority: 1
    tree:
    system_configuration:
    platform:
    children:
    general_setup:
    children:
    symdrik_userbundle_settings:
    children:
    symdrik_userbundle_general_settings:
    children:
    - symdrik_user_login.logo

    And I get this result, It’s cool 😀
    Image and video hosting by TinyPic

    and when I save I get this error 🙁

    Image and video hosting by TinyPic

    Thanks for you help. Hope I’m clear enough.

    Thanks 🙂

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #16894
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    System configuration is basically a storage of scalar values, so if you want to store there some entity/object you should handle there transformation of this object to scalar/array values. It can be done with additional form data transformer, here is example.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.