Search Results for 'list form'

Home Forums Search Search Results for 'list form'

Viewing 15 results - 76 through 90 (of 1,358 total)
  • Author
    Search Results
  • #37428
    Greg Yamane
    Participant

      It’s been a long time since I’ve used this but recently installed it on SP2019. I got charts working. However, I asked a coworker to help me format a chart. When she goes to edit the chart, she only sees the lists at the root level, not the subsite lists that I used for my chart.

      Her list dropdown shows very little where as my dropdown shows a lot more. How do I fix this? I believe we both have Full Control in the sites.

      #37417

      In reply to: Deploying package

      Marcus Khoo
      Participant

        Hi Chrisoph,
        I have created my own view (not changed the default one) in this list that has “Title”, “Form” (first instance of the column) and Last Modified date.
        This is great if you want to see the last time you updated the form and what form type is being used.
        If you are developing your own forms, this is a great way of easily identifiing the form configurations to copy if you do updates
        You could also add a “Version” column to keep track of form changes
        /Marcus

        #37407
        Martin Čuchran
        Participant

          Hi Alexander,

          I have found out, that Modern DFFS sometime failed to load form (nothing happend after click) after clicking on default view/edit buttons in modern Sharepoint List View. I am not able to replicated issue, but when issue occurred I have been able to save console output with error message. It looks like problem in dffs-command-set.js in function getPageContextFromLegacy. Looks like window._spPageContextInfo is not available at that time.

          Could you please check my log and confirm or deny my findings? Is there some solution/workaround for this problem.

          Currently we are using Modern DFFS version 1.0.45.0. , locale cz-CS.

          LOG:

          dffs-command-set_518d16d3a4af8c21195d.js:2 Uncaught TypeError: Cannot read properties of undefined (reading ‘charAt’)
          at t.getPageContextFromLegacy (dffs-command-set_518d16d3a4af8c21195d.js:2:2384449)
          at t.getCurrentListContextOnClick (dffs-command-set_518d16d3a4af8c21195d.js:2:2379084)
          at d (dffs-command-set_518d16d3a4af8c21195d.js:2:2386247)
          at dffs-command-set_518d16d3a4af8c21195d.js:2:2389231
          t.getPageContextFromLegacy @ dffs-command-set_518d16d3a4af8c21195d.js:2
          t.getCurrentListContextOnClick @ dffs-command-set_518d16d3a4af8c21195d.js:2
          d @ dffs-command-set_518d16d3a4af8c21195d.js:2

          #37400

          Topic: Deploying package

          in forum Modern DFFS

          Hi Alexander,

          As a developer I develop on my own platform and would like to deploy DFFS including my “package” of lists and libraries on the clients environment after getting a licence for the client.

          Is there a way to do this?

          Thanks.
          Christoph

          #37347
          William Summers
          Participant

            Greetings. When placing a list part on a modern page and then clicking on the Title field to view the record, it opens in the default sharepoint form. Is there a way to

            create a modern page
            Add a list
            Click on the title field in a record and have it open the modern DFFS form

            Thanks!

            Alexander Bautz
            Keymaster

              Sure, just add this to your custom js:

              // Set this to false first
              var hasSaved = false;
              
              window.addEventListener("beforeunload", (event) => {
                  if(!hasSaved){
                    event.preventDefault();    
                    event.returnValue = true;
                  }
              });
              

              Now add this to the top of your dffs_PreSaveAction function:

              // Set the variable to true to to disable the warning when the form is saved
              hasSaved = true;
              

              Alexander

              #37308
              Rick Cedergren
              Participant

                Noticed I’m still having issues with this code. The selected options (email distlists) are not being saved to the form before the SPD Workflow kicks, and the workflow auto-cancels due to a coercion failure. Any ideas/suggestions would be greatly appreciated.

                var fin = “distlist”;
                var arrOfOptions = [“Staff Hires”, “Attorney Hires”];
                var b = [];
                b.push(“<div id=’customMultichoiceSelector’>”);
                jQuery.each(arrOfOptions, function (i, v) {
                b.push(“<input id=’customMultichoice_” + i + “‘ type=’checkbox’ value='” + v + “‘><label for=’customMultichoice_” + i + “‘>” + v + “</label>”);
                });
                b.push(“</div>”);
                spjs.dffs.alert({
                “title”: “Multichoice Example”,
                “msg”: b.join(“”),
                “ok”: function () {
                var arr = [];
                jQuery(“#customMultichoiceSelector”).find(“input:checkbox:checked”).each(function (i, elm) {
                arr.push(jQuery(elm).val());
                });
                setFieldValue(fin, arr);
                spjs.dffs.closeDlg();
                dlgBoxOkClicked = true;
                // Trigger save again
                jQspjs(“input[id$=’diidIOSaveItem’]:last”).trigger(“click”);
                },
                “okBtnLabel”:”Save & Send”,
                “cancel”: function () {
                // Close dialog
                },
                “cancelBtnLabel”: “Cancel”,
                });

                #37306
                Jeff Lynch
                Participant

                  I have a list with a lot of lookups, and some of those were not being used however, SharePoint stopped working on all edit, new and display forms.

                  I contacted Microsoft and found that there was an error that basically said JSON length over 41000 bytes too large, we finally figured it out that each call to a lookup ads to the JSON call.

                  Is this limit a known issue or is there another way to minimize the data call when rendering a form with classic dffs?

                  #37295
                  Wendi Watson
                  Participant

                    Hi Andrew,

                    I am creating an edit column on a list with Json which shows a link and icon that someone can click on and go straight to an edit form for the item. I can get that to work and get it to go to a DFFS Edit form but I can’t get it to be dynamic. Here is the URL I use:

                    /Lists/Communication%20Template/AllItems.aspx?viewid=681509d2%2Dc6a6%2D4701%2D8bca%2D2f72e446c477&DFFSID=374&DFFSForm=edit

                    You can see that in the string &DFFSID=37 is static. IS there any way to make this dynamic so it opens the appropriate numbered form?

                    Thank you

                    #37293
                    Wendi Watson
                    Participant

                      Hello Andrew,

                      All of the sudden I am getting the below error when trying to use DFFS forms on a list and all views on the list have errors. It happens on any site I have and with both version 27 and 30. I have never experienced this error before now and have been using DFFS forms for quite a while and this just occurred. My lists that have exisitng DFFS on them that I have customized before today are fine, it just seems to be any new list i try to customize. Once I remove DFFS from the app catalog everything in the list comes back and all errors resolve.

                      Expected double-quoted property name in JSON at position 60496 (line 605 column 13165)

                      Could this be an enterprise issue or do you have any ideas what may be wrong?

                      #37274
                      Jonathan Stamper
                      Participant

                        Got it! Thank you for the information!

                        I have one more question, and happy to add in the vlookup forum instead. I mentioned this to you before regarding the three lists and I was curious if vLookup would be a good approach.

                        List C is the main intake list with a dropdown that has selections A and B. If they select A then the new item is added to list A. If B is selected then the new item is added to list B.
                        It would be an automatic add after saving with checks to prevent duplication. Is this doable or difficult in a vLookup?

                        #37273
                        Alexander Bautz
                        Keymaster

                          When you enter the DFFS configuration either from the DFFS Installer “Direct to backend” or by clicking the “Enhanced with DFFS” from NewForm you don’t have an ID to a list item in the URL. If you then switch to edit the configuration on DispForm or EditForm and then save and exit, you are returned to the list and the form you are currently editing. If this is DispForm or EditForm you will see this message because the form expects the ID attribute to be in the URL to load the item with that ID.

                          Just click cancel to get back to the list and click an item to view or edit and all should be OK.

                          Alexander

                          #37271
                          Jonathan Stamper
                          Participant

                            When I save and exit from DFFS, I keep getting this error that says, “You are attempting to load a non-existing list item,” the form is reverted back to OOTB. There are no impacts to forms if I cancel and go back in. It only happens when I save and exit in DFFS.

                            I still have the issue where the “&” in the site name isn’t encoded correctly. Could that be it?

                            #37248
                            Alexander Bautz
                            Keymaster

                              Hi,
                              The configuration for the forms that use the Modern DFFS is stored in a hidden list named DFFSConfigurationList in each site that you can find by typing in the list path like this: “/Lists/DFFSConfigurationList/AllItems.aspx”.

                              You can use for example powershell to look for this list in all the sites and then loop over the items to list out the “Title” and the “Form” fields – it will show all the lists / forms that use the Modern DFFS in that site.

                              The method EJ mentioned will not work for the Modern DFFS because the form url override is not used by the Modern DFFS.

                              Alexander

                              #37246
                              E J
                              Participant

                                Hi Jorah,

                                From a brute-force approach, I think you could rely on getting the NewForm/EditForm/DispForm properties of all lists in the list of sites that you’re reporting on.

                                Here’s an article with a CSOM and PS script that may work: https://www.sharepointdiary.com/2021/03/sharepoint-online-get-default-list-form-new-edit-display-urls-using-powershell.html

                                There seems to be a difference between the Modern slide-out default form URL and a Classic DFFS form URL, but I’m not sure how reliable that may be.

                                SPJS-DynamicFormsForSharePoint entries, in my experience, aren’t a guarantee that the form is still using DFFS.

                                I’m not aware if Sharegate has a report column that might shed light on New/Edit/Disp forms but that’s another possible option.

                                Would love to know what the best way to do this would be as well.

                              Viewing 15 results - 76 through 90 (of 1,358 total)