Forum Replies Created
-
AuthorPosts
-
Alexander BautzKeymaster
This should be possible by using the “URL” option in the “Prefill values in child” settings. Hover over the help icon for details.
Alexander
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterAdd 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 8 years, 8 months ago by Alexander Bautz. Reason: Wrong function name in the "hideTooltip" function
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterThis 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
Alexander BautzKeymasterHi,
I’m glad you figured it out.Alexander
Alexander BautzKeymasterHi,
Sorry for the delay – I have quite a bit of emails and forum posts to go trough…I think this code must be somewhat custom made for each chart so I’m not sure you can create one that fits all.
Unfortunately I have not had the time to work on the Charts solution lately (most of my time goes into DFFS).
To have it work with a pie chart, you must debug the code (add some alerts or console.log) to locate the values to pick up, and change the code example accordingly.
Let me know how it goes.
Alexander
Alexander BautzKeymasterHi,
This is currently not possible, but in the upcoming release you can use a custom function to process the column value, and you could then have it render a link to a “delete child function”.Stay tuned for an update during the weekend, and bring the question up when this new version is out.
Alexander
Alexander BautzKeymasterHi,
Currently there is no method to show the full file name with the extention because I have “Hijacked” the FileLeafRef field to create the link to the document.What you can do is to include the “File_x0020_Type” or the “DocIcon” as a separate column.
I’ll see what I can do to let you show the full file name in the next release.
Alexander
Alexander BautzKeymasterI’m glad it worked. Please let me know if you have any questions.
Best regards,
AlexanderAlexander BautzKeymasterHi,
Sorry about this. As I wrote in the above post, something must have gone wrong in the minification. I have now released a new version of v4.306_patched that should work.There is no need to change it if yo already have v4.306 loaded (if you are not affected by the bug).
I’m working on an update, and will hopefully release a new release during the weekend.
Alexander
- This reply was modified 8 years, 8 months ago by Alexander Bautz. Reason: Fixed typo
Alexander BautzKeymasterSorry about this. Something funny must have happened when I minified the file. I tested and got the same error as you, but then I redid the minification without changing the source file, and now it behaves properly in my setup.
Can you download it and test this again?
PS: I have now zipped only the DFFS_Frontend_min.js file and not the full “package”.
Alexander
Alexander BautzKeymasterSorry for the delay – I’m in Norway, and I guess we have some time difference.
You replace the file “DFFS_Frontend_min.js” in the folder “/SPJS/DFFS/js” with the one from the linked zip-file.
Alexander
Alexander BautzKeymasterI have finally recreated this bug, and have released a patch to the v4.306 version of DFFS frontend.
Can you please test this one and let me know if the issue is resolved?
You find the updated file here.
Thank you for your patience,
Alexander -
AuthorPosts