Forum Replies Created
-
AuthorPosts
-
Hi,
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
Hi,
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
Hi,
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
I’m glad it worked. Please let me know if you have any questions.
Best regards,
AlexanderHi,
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 9 years, 8 months ago by
Alexander Bautz. Reason: Fixed typo
Sorry 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
Sorry 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
I 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,
AlexanderThere must be some kind of error in my mechanism for identifying the page id. Open the developer console, select the “Console” tab, and paste this in the “Console input” textarea at the bottom:
var a = location.href.toLowerCase(); console.log("a:"+a); var b = unescape(location.href.toLowerCase().replace("_layouts/15/start.aspx#/","")); console.log("b:"+b); var c = unescape(location.href.toLowerCase().replace("_layouts/15/start.aspx#/","").split("?")[0]); console.log("c:"+c); var d = _spPageContextInfo.webAbsoluteUrl.toLowerCase(); console.log("d:"+d); var e = unescape(location.href.toLowerCase().replace("_layouts/15/start.aspx#/","").split("?")[0].split(_spPageContextInfo.webAbsoluteUrl.toLowerCase())[1]); console.log("e:"+e); var f = decodeURI(unescape(location.href.toLowerCase().replace("_layouts/15/start.aspx#/","").split("?")[0].split(_spPageContextInfo.webAbsoluteUrl.toLowerCase())[1])); console.log("f:"+f);
If you are using IE, you must press the little “play” button to the right to execute the code.
Paste the output here (change domain name).
Alexander
Hi,
Can you post the URL of the form you are entering the backend from, and the URL from the backend when this is loaded?You can change the domain name to “contoso.com” if you like.
Alexander
Hi,
Yes it is. I’ll add it to the next release (sometime later this week).Alexander
This is because you have an older verson of spjs-utility.js.
Either update to the latest version, or change the query to
var qRes = spjs_getItemByID( { "listName":_spPageContextInfo.pageListId, "id":spjs.dffs.data.thisItemID, "viewFields":["Column1","Column2","Column3","Column4"] } );
Alexander
I suspect this loading problem is related to the “Minimal download strategy” setting described below. When it comes to the plugin name, this is a bit confusing, but its referring to either “SPJS-vLooup_frontend.js” or “SPJS-vLookup_backend.js” – depending on what part you are loading.
Alexander
Hi,
It seems this is a problem with the “Minimal download strategy” setting (if you look at the URL you have “/_layouts/15/start.aspx#” in front of the list name.I have made an effort to try to support this setting, but it looks like it is not working as expected.
To fix this you must turn off this under “Site Settings” > “Manage site features” > “Minimal Download Strategy”.
Let me know how this works out.
Alexander
Hi,
If I understand correctly what you want, it’s just a matter of leaving the “Display name” of the column empty in the ViewFields configuration in vLookup.Alexander
-
This reply was modified 9 years, 8 months ago by
-
AuthorPosts