Alexander Bautz

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 4,756 total)
  • Author
    Posts
  • in reply to: New URL New license code? #38475
    Alexander Bautz
    Keymaster

      Please email me (see the contact tab for details) an example of a DFFS license that times out so I can look at the license code.

      Please also include a screenshot of any error messages you see in the developer tools console (hit F12 > Open developer tools > Select Console tab) when you load the form.

      Alexander

      in reply to: New URL New license code? #38472
      Alexander Bautz
      Keymaster

        Hi,
        I have made some changes to the license code validation to check both http:// and https:// prefix on the URL. Can you try closing and reopening the browser and see if this change helps?

        Alexander

        in reply to: Bug found in 1.1.3.0 #38470
        Alexander Bautz
        Keymaster

          Selecting the web is done individually for each vLookup so adding a new one should not affect the others.

          Can you email me some screenshots of what you see when you open the vLookup config and click the “Select web” button?

          Alexander

          in reply to: Modern DFFS v1.1.x has been released #38461
          Alexander Bautz
          Keymaster

            I have published a new version that attempts to fix the vLookup not loading issue. Let me know how it works out, and email me if it still doesn’t work so we can try to figure it out.

            Alexander

            in reply to: Modern DFFS v1.1.x has been released #38457
            Alexander Bautz
            Keymaster

              I see. Can you email me the config for this form so I can take a look? – go to “Import / Export” in the to left corner and select “Export the current configuration as JSON”. There should not be any sensitive information unless you have typed it into a HTML section in the form configuration. Is so, use a text editor to clear this information from the JSON file.

              Alexander

              in reply to: Modern DFFS v1.1.x has been released #38455
              Alexander Bautz
              Keymaster

                Hi,
                In the update I worked through all parts of the code to clean up and in this process I made some changes to the “site picker” of a vLookup, but didn’t think this should cause any issues.

                Did you try to enter the vLookup configuration and verify that it looks correct?

                Also, do you see any errors in the developer console (F12 > Console)?

                You can email me if you have some screenshots or more information.

                Alexander

                in reply to: Sharepoint Attachments #38440
                Alexander Bautz
                Keymaster

                  Sorry, but that is not possible without using a PowerAutomate FLOW (SharePoint online only).

                  Alexander

                  in reply to: Delay in Save #38438
                  Alexander Bautz
                  Keymaster

                    I’m glad you figured it out!

                    Alexander

                    in reply to: Potential for nested grouping in vLookup #38435
                    Alexander Bautz
                    Keymaster

                      Hi,
                      Currently the only way to achieve this is to use the “Customizer function” option on a field in the “Build the table” section in the configuration.

                      The child table must be build using custom js / rest queries to the child list. You can find an example of a simple customizer function by clicking the link below the “Name of customizer function” field.

                      Alexander

                      in reply to: Delay in Save #38430
                      Alexander Bautz
                      Keymaster

                        The only field types that have a delay when setting are lookup and people picker fields, but from the name of the field I assume this is a single line of text?

                        Alexander

                        in reply to: Delay in Save #38426
                        Alexander Bautz
                        Keymaster

                          Hi,
                          You must not run this line:

                          $(“input[id$=diidIOSaveItem]:last”).click();

                          until after your custom sendMail is completed to ensure the form is not closed before your email is sent.

                          I don´t see any reason the txtRequestStatus field would not be set though – are you sure it is not overwritten by for example a FLOW? – do you see the value in the version log of the list item?

                          Alexander

                          in reply to: Document Library dffs missing #38423
                          Alexander Bautz
                          Keymaster

                            After updating DFFS it sometimes struggle to load, but it should resolve itself after approximately 15 minutes. If not, try going to the Application tab in the developer tools and click the “Clear site data” button (if you use Chrome or Edge).

                            Alexander

                            in reply to: Add Rule on Lookup field #38421
                            Alexander Bautz
                            Keymaster

                              Hi,
                              I assume that this is the classic DFFS.

                              You must create a rule that has the trigger “No trigger (must be triggered manually)” and then use Custom JS like this:

                              // No changes to this function
                              function detectChangesOnMultiLookup(arg){
                                  let currSelection = getFieldValue(arg.fin);
                                  setInterval(function(){
                                      let newVal = getFieldValue(arg.fin);
                                      if(newVal.toString() !== currSelection.toString()){
                                          currSelection = newVal;
                                          currSelection.forEach(function(v){
                                              if(v === arg.targetValue){
                                                  arg.callback();
                                              }
                                          });
                                      }
                                  },1000);
                              }
                              
                              // Change fin, targetValue and TriggerMeOnLookupColumnChange
                              detectChangesOnMultiLookup({fin: "MultiLookup", targetValue: "Test item #3", callback: function(){
                                   spjs.dffs.triggerRule("TriggerMeOnLookupColumnChange")
                              }});
                              

                              Change the fin (MultiLookup) with the internal name of your lookup field and the targetValue (Test item #3) with the target value. Change TriggerMeOnLookupColumnChange to match the rule friendly name of the rule you want to trigger.

                              Alexander

                              in reply to: Document Library dffs missing #38413
                              Alexander Bautz
                              Keymaster

                                I have seen this before. I think this is caused by a “stuck” definition from an old installation of Modern DFFS.

                                Try going to the site collection app-catalog and remove the Modern DFFS solution. Empty the recycle-bin to completely remove it and then re-upload it to the site collection app-catalog. Remember to check the “Make this solution available to all sites in the organization”. In a site collection app catalog the text is misleading – it will only apply inside the current site collection.

                                Alexander

                                in reply to: Question on Best Practice for multi-form setup #38399
                                Alexander Bautz
                                Keymaster

                                  Hi,
                                  Thanks for contributing Steve!

                                  I usually set it up with the “Request type” choice field at the top of the form, and with a tabset below – with one tab for each request type.

                                  Now I set up one rule for each of the request types and set show / hide the tabs so only the one matching the choice in request type is show, and set required / optional fields in those rules. Ensure you set any fields that might be set as required in another request type as optional in the one where this field is not visible.

                                  When you create rules for fields that are shared between different request types, but the actions are not supposed to be the same, use the initial rules as the first condition in the rule using the “Run based on the result of another rule” – select the request-type-rule and set the toggle button to “Run if the rule is evaluated to TRUE”. Add the other condition in an “And” group as a new row. Now this new rule will only take effect if the primary rule is also true.

                                  Hope this makes sense.

                                  Alexander

                                Viewing 15 posts - 31 through 45 (of 4,756 total)