Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,591 through 4,605 (of 4,711 total)
  • Author
    Posts
  • in reply to: Hide Sve Button #6733
    Alexander Bautz
    Keymaster

      Hi,
      I cannot think of any other method than to set up a rule for a selection of fields that you want them to change, use the trigger “is changed from initial value” and call “showTheSaveBtn” in the “Run these functions.

      Then add this to the Custom JS:

      // Hide initially
      spjs.dffs.toggleSaveBtn(false);
      
      // This function triggers on a rule
      function showTheSaveBtn(){
      	spjs.dffs.toggleSaveBtn(true);
      }

      Alexander

      in reply to: White Space in DFFS #6728
      Alexander Bautz
      Keymaster

        Hit F12 and look at the console for errors. Also check the “Document mode” and the “User agent string”. You may also check to see whether or not you have the site in “Compatibility mode” – if it is on, switch it off and the other way around.

        There are other reporting the same issue and it might be due to a timing issue and possibly that the user clicks two times on the calendar icon.

        Alexander

        in reply to: White Space in DFFS #6726
        Alexander Bautz
        Keymaster

          It looks like this is the datepicker window that resides. Which version of SharePoint are you using, and what browser are you using?

          Alexander

          in reply to: Save Message Dialog Box #6714
          Alexander Bautz
          Keymaster

            This is possible. Add this code to the custon JS in the Misc tab:

            (function(){
            	var b = [""];
            	b.push("<td class='ms-toolbar' nowrap='nowrap'>");
            	b.push("<input type='button' class='ms-ButtonHeightWidth' value='Final save' onclick='finalSave();' />");
            	b.push("</td>"); 
            	b.push("<td class='ms-separator'> </td>");
            	$("input[id$=diidIOSaveItem]:last").parents("table:first").parents("td:first").before(b.join(""));
            })();
            
            function finalSave(){
            	setFieldValue("YourFieldInternalName","Completed");
            	$("input[id$=diidIOSaveItem]:last").click();
            }

            You must change the “YourFieldInternalName” in the finalSave function.

            Alexander

            in reply to: vLookup in List View #6713
            Alexander Bautz
            Keymaster

              Hi David,
              I have tried to set up a site and list as you describe, but I cannot recreate the issue. Can you email me some screenshots of your setup so I can look into it?

              You find my email in the “About me” tab in the top of the page.

              Best regards,
              Alexander

              in reply to: Updating cascading dropdown list selection does not save #6708
              Alexander Bautz
              Keymaster

                If you use the debug option to make the original input fields visible – does this give you any clues?

                Could it be that you have a rule in DFFS that strips away your value?

                Alexander

                in reply to: Save Message Dialog Box #6707
                Alexander Bautz
                Keymaster

                  Sorry for the delay. This is not possible without custom making a dialog. In the example you have an ok or cancel button, and you can use them to set a field value for OK and another for Cancel. Here is an example on how to set the value:

                  setFieldValue("FieldNameHere","value you want to set");

                  Hope this helps,
                  Alexander

                  Alexander Bautz
                  Keymaster

                    You can send some screenshots by email. You find my email in the “About me” tab.
                    Alexander

                    Alexander Bautz
                    Keymaster

                      Ensure you have put the license code above the DFFS_backend.min.js in the “DFFS_backend_CEWP.js.aspx”, and above the DFFS_frontend_min.js in the file “DFFS_frontend_CEWP.js.aspx”.

                      Refer the installation manual section 2.3.3. and 2.3.4: https://files.spjsworks.com/files/DynamicFormsForSharePoint/v4/InstallationManual/How%20to%20set%20up%20DFFS%20v4.pdf

                      Let me know if this helps,
                      Alexander

                      in reply to: vLookup in List View #6702
                      Alexander Bautz
                      Keymaster

                        Hi,
                        Sorry for the late reply. Somehow the email regarding this post ended up in my spam folder. It seems I have a bug with the “list name detection” in the vLookup script as the proper CAML query parameter should be “Issue%20and%20Process%20Escalation:vLooup” and not “sites:vLookup”.

                        I’ll look into it and post a fix.

                        PS: When creating vLookup columns, you only have to prefix it with vLookup. Your field names can be like this:
                        vLookup_issues
                        vLookup_tasks
                        and so on…

                        Alexander

                        in reply to: Access Denied for User with Permission #6696
                        Alexander Bautz
                        Keymaster

                          Hi,
                          I have not seed this before, can you post a screenshot of the error message?

                          Could there be some items with item level security, or items with that have lookup columns into other lists that the person does not have access to?

                          Alexander

                          in reply to: Permission Issue #6687
                          Alexander Bautz
                          Keymaster

                            I’m glad you figured it out – I had no knowledge of this setting!

                            Alexander

                            in reply to: Permission Issue #6683
                            Alexander Bautz
                            Keymaster

                              Hi,
                              Have you tested without DFFS to verify if it is actually DFFS that causes this login prompt?

                              You can try using the “Network” debugger in the developer tools (hit F12) to see what is requested when the login prompt occurs.

                              Alexander

                              in reply to: vLookup in List View #6682
                              Alexander Bautz
                              Keymaster

                                Hi,
                                Finally published v2.003 of the frontend vLookup script. This fixes the bug with space in the list name (in the URL). You find the link to the updated file under “Download and install” here: https://spjsblog.com/vlookup-for-sharepoint/

                                Alexander

                                in reply to: vLookup Set up not functioning #6677
                                Alexander Bautz
                                Keymaster

                                  Hi,
                                  It looks like the scripts are wrapped in

                                  <!-- a comment tag -->

                                  The comment tag is there in the example code, but you must move the vLookup script out of this comment tag to “activate” it when you have fixed the src.

                                  Alexander

                                Viewing 15 posts - 4,591 through 4,605 (of 4,711 total)