Forum Replies Created
-
AuthorPosts
-
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
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
Hi,
Add this to the Custom CSS textarea in DFFS backend:td.ms-formlabel h3.ms-standardheader{ font-weight:bold; }
Alexander
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
Hi,
Could you upload a few screenshots so I can see exactly what you mean?Alexander
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
I’m glad it was an easy fix!
Alexander
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
This should be possible by using the “URL” option in the “Prefill values in child” settings. Hover over the help icon for details.
Alexander
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
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
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
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
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
Hi,
I’m glad you figured it out.Alexander
-
This reply was modified 9 years, 8 months ago by
-
AuthorPosts