Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search

    API create object from template

    Development
    4
    15
    294
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LFischer
      LFischer @Kleinrotti last edited by

      Hey @kleinrotti

      that's interesting - but I believe we should be able to reproduce this issue very easily. Are you using any placeholders in your object title (either the default template and the object you try to create)?

      I will adjust the bug I previously created... I'm afraid I have no "work around" up my sleeve, so you might need to wait for a new API version.

      I'll also create a feature request regarding "create object from template" 🙂

      Kleinrotti 1 Reply Last reply Reply Quote 0
      • Kleinrotti
        Kleinrotti @LFischer last edited by

        @lfischer No I don't use placeholders in titles of the objects/templates.
        For testing purposes I disabled the validation/unique setting for the title and it's working this way - no error. But I need this settings for production, so I have to enable it again.
        This bug definitely has something to do with the validation setting.
        I would really appreciate if that bug could be fixed and if that feature request would be implemented.

        1 Reply Last reply Reply Quote 0
        • Kleinrotti
          Kleinrotti last edited by

          @LFischer Are there already any news when a bugfix will be released?

          LFischer 1 Reply Last reply Reply Quote 0
          • LFischer
            LFischer @Kleinrotti last edited by

            Hey @kleinrotti

            sadly I have no updates yet, currently we are working on the i-doit 1.17.2 version which is going to be released shortly.
            I believe after that we will check the API add-on 🙂

            Best regards

            1 Reply Last reply Reply Quote 0
            • Kleinrotti
              Kleinrotti last edited by

              Hey @LFischer
              are there any new information?

              LFischer 1 Reply Last reply Reply Quote 0
              • LFischer
                LFischer @Kleinrotti last edited by

                Hi @kleinrotti ,

                I'm afraid I have no new information for you 😞 Right now the team is working on the upcoming i-doit 1.18 version. There will also be a API release around that time, but it will not contain this feature.

                Best regards

                Kleinrotti 1 Reply Last reply Reply Quote 0
                • Kleinrotti
                  Kleinrotti @LFischer last edited by

                  @lfischer
                  And what about the bugfix for the default template? Even that would help me 🙂

                  LFischer 1 Reply Last reply Reply Quote 0
                  • LFischer
                    LFischer @Kleinrotti last edited by

                    Hey @kleinrotti

                    again - sadly no updates regarding this topic 😞

                    1 Reply Last reply Reply Quote 0
                    • Kleinrotti
                      Kleinrotti last edited by

                      It's quite a while now but are there new information to this topic?
                      Unfortunately our workflow is not that good due to this bug. Every time we want to mass import ordered products from delivery notes with a tool, we have to disable the validation with a user which has the appropriate rights in i-doit. Afterwards we have to enable it again. This causes loss in time or if someone forgets to disable the validation, the products are not imported correctly and it has to be repeated.
                      Or is there a possibility to provide a pull request for the official API-Addon to provide a bug fix myself?

                      1 Reply Last reply Reply Quote 0
                      • L
                        leobaer last edited by

                        Hi
                        Did you check
                        system settings > Tenantsettings > Unique checks > object title
                        But I don't know if this is only valid for the Extras > import mechanism or for API as well.

                        Du you really need global unique titles in your daily processes? Maybe "Unique (per Object type)" is sufficient (but not sure if this triggers the bug or not)

                        Regards
                        Leo

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post