Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,516 through 4,530 (of 4,756 total)
  • Author
    Posts
  • in reply to: Temporarily disable DFFS?? #7438
    Alexander Bautz
    Keymaster

      To completely disable DFFS you will have to remove the web part, but to “clear” the configuration for a form, go to the configuration list and rename the “Title” of the list item something like this:

      From

      /lists/dffsdemo/newform.aspx

      to

      /lists/dffsdemo/newform.aspx_

      This means DFFS will not find the configuration.

      Hope this helps,
      Alexander

      in reply to: Installing SPJS Charts #7430
      Alexander Bautz
      Keymaster

        Hi,
        Ensure you have all the scripts referred correctly in the CEWP. You can try the link in the src attribute in the address bar of your browser to see if you find it (please note that you may get error messages form the files – this is just to verify that the link is correct).

        Also you can open the developer tools (hit F12 > Console) and look for errors there.

        Hope this helps,
        Alexander

        in reply to: Cascading Dropdown plugin #7425
        Alexander Bautz
        Keymaster

          Hi,
          Take a look at the latest version of the cascading dropdown solution: https://spjsblog.com/2015/04/15/cascading-dropdowns-now-supports-multi-choice/

          Let me know how it works out.

          Alexander

          in reply to: Cascading Dropdown plugin #7400
          Alexander Bautz
          Keymaster

            Hi,
            Sorry for the delay. The setup you have tried will unfortunately not work. I have made a change to the cascading dropdown plugin to support multichoice, and will try to find time to publish this during the weekend.

            Best regards,
            Alexander

            in reply to: AD Group Permissions #7399
            Alexander Bautz
            Keymaster

              Unfortunately this is correct. There is no way DFFS can “see” the users in the AD group.

              Alexander

              in reply to: DocIcon for PDFs and upload multiple text #7397
              Alexander Bautz
              Keymaster

                Hi,
                The only way I can think of is to add this code to the master page of the site – put it at the BOTTOM, right before the closing </body> tag:

                <script type="text/javascript">
                	if(location.pathname.toLowerCase() === "/_layouts/upload.aspx"){
                		if(GetUrlKeyValue("List").toLowerCase() === "4c886136-1a92-4e8f-bf80-17880df177ab"){ // Change GUID to match your library
                			document.getElementById("ctl00_PlaceHolderMain_ctl01_ctl05_UploadMultipleLink").style.display = "none";
                		}
                	}
                </script>

                Change the path “/_layouts/upload.aspx” to include any subsites – like “/sites/mysite/_layouts/upload.aspx”, (note that the url is in lower case letters) and change the GUID to the library. You may also want to check that the ID of the upload link is correct.

                Hope this helps,
                Alexander

                in reply to: DocIcon for PDFs and upload multiple text #7395
                Alexander Bautz
                Keymaster

                  Oh, I forgot – the vLookup script will sense the pdf document type, but will try to add a link to an icon named “icpdf” of type gif for SP2007/10 and type png for SP2013.

                  If you change the name of your icon to icpdf.gif it should work.

                  If this is cumbersome, you can override the function that puts in the icgen icon like this (put this below where you include the vLookup script):

                  spjs.vLookup.imgErr = function(img){
                  	if(spjs.$(img).attr("src").match(/pdf\./)){
                  		spjs.$(img).attr("src","/_layouts/images/pdf16.gif"); // ensure the path is correct
                  	}else{
                  		spjs.$(img).attr("src","/_layouts/images/icgen.gif");
                  	}
                  }

                  Hope this helps,
                  Alexander

                  in reply to: DocIcon for PDFs and upload multiple text #7389
                  Alexander Bautz
                  Keymaster

                    Hi,
                    By default vLookup expects a gif icon for pre SP2013 and png icon for SP2013 when handling PDF files.

                    Does this explain the issue?

                    Regarding the upload multiple issue: are you using SP2010?

                    Alexander

                    in reply to: DFFS for anonymour users #7381
                    Alexander Bautz
                    Keymaster

                      Hope you figure it out. Please post back here when you (hopefully) find a solution.

                      Alexander

                      in reply to: Manually set the location of the configuration list #7379
                      Alexander Bautz
                      Keymaster

                        Good news: I have recreated the issue. It was caused by the spaces and the hyphen in the URL as this was not properly handled in the script.

                        I will post an update before the weekend to take care of this issue, but you might be able to use this workaround. Add the following snippet BELOW the scrip tag that refers dffs_frontend_min.js:

                        spjs.dffs.data.pageId = decodeURI(unescape(location.pathname).replace(L_Menu_BaseUrl,'')).toLowerCase();

                        Thank you for helping to sort out this bug.

                        Best regards,
                        Alexander

                        in reply to: DFFS for anonymour users #7373
                        Alexander Bautz
                        Keymaster

                          No, I have not, but I guess it should work if you give anonymous users read access to all the lists involved in the configuration (config list and scripts).

                          Alexander

                          in reply to: Manually set the location of the configuration list #7372
                          Alexander Bautz
                          Keymaster

                            Can you post the URL from the editing of the configuration of the “NewSite” (from the DFFS backend)?

                            You can change the domain name of your site to “contoso.com” when posting the URL.

                            Alexander

                            Alexander Bautz
                            Keymaster

                              Hi,
                              You must repeat the entire function call:

                              // First list
                              spjs.lookup.init({
                              	"fieldToConvertToDropdown":["Company"],	
                              	"listName":"ListA",
                              	"listBaseUrl":"/Sites/MySite",
                              	...
                              	...
                              }); 
                              
                              // Second list
                              spjs.lookup.init({
                              	"fieldToConvertToDropdown":["Project"],	
                              	"listName":"ListB",
                              	"listBaseUrl":"/Sites/MySite",
                              	...
                              	...
                              }); 

                              Alexander

                              in reply to: Redirect #7359
                              Alexander Bautz
                              Keymaster

                                There are a few methods – like the one described here: https://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/

                                Unfortunately this will not work for SP2013, but you find one workaround in the comments below: https://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/#comment-195397

                                Hope this helps,
                                Alexander

                                in reply to: Help. Default Display Page Stuck #7358
                                Alexander Bautz
                                Keymaster

                                  I’m glad you sorted it out. Unfortunately you cannot use DFFS with related lists. Have you considered using vLookup?

                                  By the way, DCH most likely had the correct answer, but if you have the ID attribute in the URL you must prefix the “contents” with & like this:

                                  .../DispForm.aspx?ID=2&contents=1

                                  Alexander

                                Viewing 15 posts - 4,516 through 4,530 (of 4,756 total)