Alexander Bautz

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 4,724 total)
  • Author
    Posts
  • Alexander Bautz
    Keymaster

      Hi,
      I was able to get the same error when having a list in a web part in a modern sitepage. I’ll look into it and try to figure it out.

      Alexander

      in reply to: Modern DFFS not loading #38069
      Alexander Bautz
      Keymaster

        There is most likely a compatibility issue with the old config. If you could email me the form configuration for the form that is not working that would help me identifying the problem.

        You can find the config by opening this list (it is hidden from site contents so you must type in the URL):

        /sites/your_site/lists/DFFSConfigurationList/
        

        Send me both the FormJSON and the RulesJSON.

        You can find my email address in the Contact tab at the top of the page.

        Alexander

        in reply to: Modern DFFS not loading #38065
        Alexander Bautz
        Keymaster

          I found an article online (an old one from 2022 – link) mentioning that different “complex” field types like lookups or managed metadata will stop syncing of that list. Microsoft has most likely changed the functionality since that article, but I assume it might be something like that preventing you from finding the “stop syncing” option.

          Alexander

          in reply to: Modern DFFS not loading #38063
          Alexander Bautz
          Keymaster

            Not sure what that could be. Did you see any errors in the developer tools (F12 > Console)?

            Also, does your list load with the “New modern UI” or the “Old modern UI”?

            Did you try turning off “Sync” as described in the first post in this thread?

            You can email me any screenshots or other information.

            Alexander

            in reply to: Modern DFFS not loading #38059
            Alexander Bautz
            Keymaster

              No problem,
              I’ll fix the issue related to lists with content types turned on later tonight. If you only use the Item content type in your list you can turn it off under “List settings > Advance settings > Allow management of content types”.

              Alexander

              in reply to: Modern DFFS not loading #38050
              Alexander Bautz
              Keymaster

                Are you sure you have DispForm configured with DFFS for the list? – the title-click only opens DFFS if DFFS is configured.

                Please note that it looks like the “Sync” feature must still be turned OFF for the command-set-extension to load – read more here.

                Alexander

                • This reply was modified 6 months ago by Alexander Bautz. Reason: Fixed link
                in reply to: Modern DFFS not loading #38049
                Alexander Bautz
                Keymaster

                  It looks like the “new item” button is different when you have the “Settings > Advance settings > Allow management of content types” turned on.

                  I’ll look into it and fix it. If you don’t actually use content types you can turn it off to fix the problem.

                  Alexander

                  in reply to: Modern DFFS not loading #38044
                  Alexander Bautz
                  Keymaster

                    Hi Wayne,
                    I’m not able to recreate this issue. I have tried both with “single action” button and “double action” where you get a dropdown to select item or folder.

                    Can you give me some more information (and possibly a screenshot)?

                    Best regards,
                    Alexander

                    in reply to: Modern DFFS not loading #38042
                    Alexander Bautz
                    Keymaster

                      I have released a new version of the Modern DFFS that should fix the problem with the new Modern UI that Microsoft have pushed on September 4, 2024.

                      Read more here: https://spjsblog.com/2024/09/04/modern-dffs-v1-0-66-0-has-been-released/

                      Please let me know how it works out – and let me know if you have any questions.

                      Best regards,
                      Alexander

                      in reply to: Modern DFFS not loading #38036
                      Alexander Bautz
                      Keymaster

                        Thanks for letting me know. Now that the new UI is rolled out and the command set extension can be properly tested, there are some changes I need to do to make it properly override the out of the box form.

                        Right click > Edit still works, but click on title and … does not.

                        I’ll look through it and try to get it fixed later today or tomorrow and release a new version.

                        Alexander

                        in reply to: One user not seeing dffs formatting #38029
                        Alexander Bautz
                        Keymaster

                          Hi,
                          I suspect this is because the user don’t have read access to the SPJS document library where the DFFS code files are located.

                          Alexander

                          in reply to: Child list is – Loading always… #38027
                          Alexander Bautz
                          Keymaster

                            Sorry, I missed your reply. The problem is that you in the “Build query” part queries the child list for items where the field _vLookupParentID is equal to the current items ID, but you are not transferring the ID to the child item in the “Prefill values in child”.

                            If you want to use the parent items ID to link to the child items you must change this line

                            From _vLookupID to _vLookupParentID

                            to

                            From ID to _vLookupParentID

                            Alternatively you can change the Build query “Search value” from [currentItem:ID] to [currentItem:_vLookupID]

                            Alexander

                            in reply to: vLookup Functionality Questions #38024
                            Alexander Bautz
                            Keymaster

                              1. To do this you can use the function dffs_vLookup_callback (see this post for instructions). If the field you want to read back to the parent item is not in your vLookup table you can include it in the “Include additional fields for use in customizer functions” dropdown at the bottom of the Build the table tab.

                              This function will show you all the child items as an array and you can loop through them to get the value you want.

                              Alternatively you can add a PreSaveAction like this in your child form:

                              dffs_PreSaveAction = function(){
                                child_status = getFieldValue("Status");
                                return true;
                              }
                              

                              This variable (because it is not defined with var, let or const) will be available in Custom JS in the parent item. You can use the dffs_vLookup_callback function to pick up the variable and write it to a field in the current item.

                              2. There is no built in support for nested vLookups so that must be done using custom js.

                              Alexander

                              in reply to: Using filtered options from REST API in a lookup field #38023
                              Alexander Bautz
                              Keymaster

                                Not sure why it did not work when you used a file, but based on the fact that you use the old JSLink installer, I assume you use an older version of DFFS. If you hover over the Enhanced with DFFS link below the form and click the License and version information link you can see the version numbers.

                                The SP Services license is an OEM license for the core functionality that they deliver. This means you cannot use that license for additional lists that are not part of the package delivered by SP Services.

                                If you want to use DFFS in additional sites you must purchase a site or site collection license.

                                Alexander

                                in reply to: Using filtered options from REST API in a lookup field #38012
                                Alexander Bautz
                                Keymaster

                                  I have created a test config that you can import into a list. It will show you how to use the custom js and call one of the functions from a HTML section.

                                  Create a new list with only the title field and install DFFS. Go to the Export, import and restore tab and import the config by copy pasting from the attached file.

                                  Please note that the function will obviously not work in this test list because the target fields are missing.

                                  It looks like my attachment plugin suddenly blocks txt files – trying again with a zip.

                                  Alexander

                                Viewing 15 posts - 91 through 105 (of 4,724 total)