Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,366 through 4,380 (of 4,756 total)
  • Author
    Posts
  • in reply to: Configuration issues #8310
    Alexander Bautz
    Keymaster

      Hi,
      This should work, but it might be a timing issue where the cascading dropdown is created before the value is set using vLookup.

      First ensure you have the latest version of SPJS-casc.js

      Then activate the “Write debug information to the top of the page” setting in the cascading dropdown config.

      Now you should see the “Single line of text” field below the dropdown – does this have the correct value?

      Alexander

      in reply to: Custom Workflow with DFFS List #8267
      Alexander Bautz
      Keymaster

        This does not have to do with DFFS, but could it be that the users don’t have rights to see the users in the group? – look at the group settings for the specific group in the “Who can view the membership of the group”.

        If this does not help, you can use an “Impersonation step” in the WF to have the WF run with admin (your) rights.

        Alexander

        in reply to: How to bold column names #8266
        Alexander Bautz
        Keymaster

          Hi,
          Add this to the Custom CSS textarea in DFFS backend:

          td.ms-formlabel h3.ms-standardheader{
          	font-weight:bold;
          }

          Alexander

          in reply to: Rules with Readonly Checkboxes #8265
          Alexander Bautz
          Keymaster

            Using a readonly representation of a checkbox field makes sense, I have therefore added this to the upcoming release.

            Your other request will however not be added as default functionality, but you can add this custom code to achieve it.

            Add this to the “Run these functions / trigger these rules” in the rule:

            readonlyCheckbox

            Then add this to the Custom JS textarea in the “Field table, Custom JS and CSS” tab:

            function readonlyCheckbox(){
            	spjs.$("#dffs_Color").find("input:checkbox").each(function(i,c){
            		if(spjs.$(c).next().text() === "Blue"){
            			spjs.$(c).prop("disabled",true);
            		}
            	});
            }

            Change “Color” to your field internal name and “Blue” to the option you want to set as readonly.

            Alexander

            in reply to: vlookup 2007 #8263
            Alexander Bautz
            Keymaster

              Hi,
              Could you upload a few screenshots so I can see exactly what you mean?

              Alexander

              in reply to: vLookup List Views #8238
              Alexander Bautz
              Keymaster

                Hi,
                Unfortunately vLookup does not currently load using JSLink in list view. You must therefore use the “old” CEWP approach. You find instructions in the user manual.

                Alexander

                in reply to: Installing and activating #8235
                Alexander Bautz
                Keymaster

                  I’m glad it was an easy fix!

                  Alexander

                  in reply to: Installing and activating #8233
                  Alexander Bautz
                  Keymaster

                    Hi,
                    Even though you did not change any settings in the configuration page, you need to press “Save” at the bottom to write the path to where you have placed the script files in “Select file location”.

                    Could this be the issue?

                    Alexander

                    in reply to: Dynamically add new documents to folder #8228
                    Alexander Bautz
                    Keymaster

                      This should be possible by using the “URL” option in the “Prefill values in child” settings. Hover over the help icon for details.

                      Alexander

                      in reply to: Validation – empty/non empty vlookup field #8227
                      Alexander Bautz
                      Keymaster

                        Hi,
                        Sorry for the delay.

                        It’s not possible to set this field as required, but in the latest (BETA) version of vLookup you can access the data object and check the count of vLookup children using a custom function.

                        This way you could disable the save button or in some other ways inform the users about this being required.

                        Look at the user manual for details

                        Alexander

                        in reply to: Dynamically add new documents to folder #8225
                        Alexander Bautz
                        Keymaster

                          Hi,
                          Check out the latest BETA of DFFS and vLookup to find the new upload to folder (when hovering over a folder).

                          Let me know if you have any questions.

                          I’m not sure I understand your last request (August 11) – can you clarify?

                          Alexander

                          in reply to: Dynamic Tooltips #8224
                          Alexander Bautz
                          Keymaster

                            Add a function like this to the Custom JS textarea.

                            Show tooltip:

                            function showTooltip(){
                            	$("#dffs_TheFieldName div.customTooltip").show();
                            }

                            Hide tooltip

                            function hideTooltip(){
                            	$("#dffs_TheFieldName div.customTooltip").hide();
                            }

                            Change “TheFieldName” for your FieldInternalName.

                            Call the “showTooltip” or “hideTooltip” from your rules – in the “Run these functions / trigger these rules” field.

                            Alexander

                            • This reply was modified 9 years, 8 months ago by Alexander Bautz. Reason: Wrong function name in the "hideTooltip" function
                            in reply to: Error: Value does not fall within the expected range. #8223
                            Alexander Bautz
                            Keymaster

                              Hi,
                              I’m sorry, but I’ll need some more explanation. I’m a bit confused about what is the parent and what is the child here. Can you explain in detail how the connection is between the two lists?

                              Alexander

                              in reply to: Tooltips from Sharepoint List #8222
                              Alexander Bautz
                              Keymaster

                                This example uses a custom list called “CustomDFFSTooltip”, with the “tooltip ID” in the Title field, and a multiline plain text field for the tooltip text.

                                Add this in the “Field tooltip” tab for the field you want the tooltip for:

                                <img onload="getMyCustomTooltip(this,'Tip1')" src="/_layouts/15/images/loadingcirclests16.gif" />

                                “Tip1” is the “tooltip ID” found in the Title field in the custom tooltip list. The spinner image is the SP2013 one – change the link to any image you like.

                                Then add this to the Custom JS textarea in the “Field table, Custom JS and CSS” tab:

                                function getMyCustomTooltip(img,id){
                                	var res = spjs.utility.queryItems({"listName":"CustomDFFSTooltip","query":"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>"+id+"</Value></Eq></Where>","viewFields":["Tooltip"]});
                                	if(res.count > 0){
                                		spjs.$(img).replaceWith(res.items[0].Tooltip);
                                	}else{
                                		spjs.$(img).replaceWith("No tooltip found");
                                	}
                                }

                                This will query the list when you hover over the “help icon” and replace the “spinner image” from your tooltip with the text from the custom list.

                                Let me know how it works out.

                                Alexander

                                in reply to: Tab Colors #8209
                                Alexander Bautz
                                Keymaster

                                  Hi,
                                  I’m glad you figured it out.

                                  Alexander

                                Viewing 15 posts - 4,366 through 4,380 (of 4,756 total)