OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform SYSTEM SETTINGS IN OROCRM

This topic contains 1 reply, has 2 voices, and was last updated by  Yevhen Shyshkin 8 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36942

    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 :D
    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
  • #36943

    Yevhen Shyshkin
    Participant

    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)

The forum ‘OroPlatform’ is closed to new topics and replies.

Back to top