Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export field conf to yaml file #349

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

stonebuzz
Copy link
Contributor

@stonebuzz stonebuzz commented Jan 9, 2020

Export fields container configuration to YAML file

ex

container:
    2-Peripheral:
        id: 2
        name: ville
        itemtype: Peripheral
        fields:
            -
                id: 11
                label: simpletext
                xml_node: simpletextfield
                type: text
                ranking: '1'
                default_value: ''
                mandatory: '0'
                possible_value: ''
            -
                id: 12
                label: yesno
                xml_node: yesnofieldtwo
                type: yesno
                ranking: '2'
                default_value: ''
                mandatory: '0'
                possible_value:
                    -
                        id: 0
                        value: 'No'
                    -
                        id: 1
                        value: 'Yes'

export available for all containers

image

or just one

image

Signed-off-by: Stanislas skita@teclib.com

@stonebuzz stonebuzz force-pushed the add_export_yaml_feature branch from 6696565 to 918e157 Compare January 9, 2020 07:04
@stonebuzz stonebuzz requested a review from cedric-anne January 9, 2020 07:05
@stonebuzz stonebuzz force-pushed the add_export_yaml_feature branch 5 times, most recently from fcd0266 to 9e8231c Compare January 9, 2020 08:46
@stonebuzz stonebuzz changed the title Export field conf to yaml file WIP Export field conf to yaml file Jan 9, 2020
@stonebuzz stonebuzz force-pushed the add_export_yaml_feature branch from 58d4cdb to 1d27b17 Compare February 3, 2020 08:22
@stonebuzz stonebuzz force-pushed the add_export_yaml_feature branch from 1d27b17 to 5d00964 Compare March 24, 2020 08:44
@cedric-anne cedric-anne removed their request for review July 28, 2020 14:18
@stonebuzz stonebuzz force-pushed the add_export_yaml_feature branch from f123cbe to 641bc4c Compare October 13, 2020 11:56
@stonebuzz stonebuzz changed the title WIP Export field conf to yaml file Export field conf to yaml file Oct 13, 2020
setup.php Outdated Show resolved Hide resolved
setup.php Outdated Show resolved Hide resolved
setup.php Outdated Show resolved Hide resolved
setup.php Outdated Show resolved Hide resolved
setup.php Outdated Show resolved Hide resolved
Signed-off-by: Stanislas <skita@teclib.com>
@cedric-anne cedric-anne force-pushed the add_export_yaml_feature branch from ad70ea8 to 8c15b9b Compare October 26, 2020 14:39
@cedric-anne cedric-anne merged commit c36b476 into pluginsGLPI:develop Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants