Forum Replies Created
-
AuthorPosts
-
Hi Alex,
v2.007 redirects me back to the loader page to add the custom DFFS folder there. Adding the current versioned folder (DFFS_v4.4.4.16_2019-11-28) and updating the loader file seems to stall the save (“Saving please wait” message stays up for over 2 minutes before I quit the page). This happens on Chrome and Edge.
Changing the field to “/SPJS/DFFS_v4.4.4.16_2019-11-28” gives a warning that the “/SPJS//SPJS/DFFS_v4.4.4.16_2019-11-28” folder doesn’t exist, so it seems to have picked up the folder correctly he first time. I also attempted to remove any special characters in the custom folder (“DFFSv44416”) but it still stalls when attempting to save the loader.I went back to the list and updated the custom folder to “DFFSv44416” and it successfully installed! I checked the list and it seems to behave correctly with DFFS loaded. I checked licensing on the list and it highlights in red the custom folder in use, so it feels like it has worked.
Returning to the loader modification screen and the Custom DFFS Folder is still blank. Not sure if that’s expected. There is a DFFS_Loader_v2.html file in /SPJS/DFFSv44416/loader so it looks like it might be complete.
HTH
Hi Alex,
Yes, there may be something amiss:
– Installed SPJS on site collection and created DFFS_Collection_Installer page. Links to all subsites. Navigation and exposure of all subsite DFFS installs is awesome!
– Uploaded DFFS_v4.4.4.16_2019-11-28 to /SPJS/DFFS_v4.4.4.16_2019-11-28
– Removed DFFS from /IP/IT “Site Setups” list and reinstalled with custom folder of “DFFS_v4.4.4.16_2019-11-28”. DFFS starts loading but times out.
– Added directory /IP/IT/SPJS/DFFS_v4.4.4.16_2019-11-28. DFFS starts loading but times out.
– Reinstalled DFFS with custom directory of “/SPJS/DFFS_v4.4.4.16_2019-11-28”. DFFS doesn’t seem to load at all.
– Reinstalled DFFS with no custom directory and list forms load correctly.HTH
Thanks Alex,
I have been hesitant to set up the installer on the site collection level as I wanted to control the DFFS rollout a little more tightly. From the above and reading up on installing custom versions, it looks like installing all DFFS versions as subfolders of SPJS at the site collection level and upgrading individual subsites or lists using the “custom version” option would suit better. I’ll give it a try.
Sorry, should have mentioned: DFFS Installer v2.0.0.6 – November 27, 2019
Edit item visible in: NewForm
Working well. Thanks.Works perfectly. Thanks!
Thanks, looking forward to it 😉
Thanks for the support.
Thanks Alexander. I have done a full update and it’s working now.
Hi Alexander,
From the changelog it looked like the fixed issue was that the added items were not appearing. On my list the items are appearing, but they are not able to be edited again (no icons next to record to edit / view. see attached pic). Once the form is closed and opened in display or edit mode the linked record can be edited or viewed.
Attachments:
Thanks for the heads up, autocomplete works as a slightly better alternative anyway.
I have a followup question, but I’ll raise it in the autocomplete section.The field doesn’t look like it is a droplist either, so I suspect that something in the setup is broken?
NewForm and EditForm are different forms and can have completely different setups. Are both using DFFS or both using JQuery / JS-Utility? Usually SPJS-Lookup will give pretty good error logging (on top of the form) once it has access to JQuery.
Sidestepped it by updating a rollup field instead:
function getSignificantEventsPercent() { var countKPImet = 0; var allFinalised = true; for (var currentItem = 1; currentItem <= spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].count; currentItem++){ if (spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].items[currentItem].Significant_x0020_Event_x0020_KP == "Yes") { countKPImet++; } if (spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].items[currentItem].Finalised == "No") { allFinalised = false; } } // For currentItem if (allFinalised) { if (spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].count > 0) { var newSignificantEventPercent = Math.round((countKPImet/spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].count) * 100); console.log(newSignificantEventPercent); // debug setFieldValue("SU_x0020_Significant_x0020_Event",newSignificantEventPercent); } $("span.FinalisedWarning").html(""); // clear warning } else { $("span.FinalisedWarning").html("Not all Service User Reports finalised!"); // show warning } // allFinalised } // getSignificantEventsPercent function vLookupIsLoadedCallback(fin){ if(fin === "vLookupSURsignificantEvents") { getSignificantEventsPercent(); } }
- This reply was modified 9 years ago by Tony Bowes.
I am attempting to average another field which is a checkbox. The values are presented as “Yes” or “No” strings and thus not eligible for aggregation. I can get to the vLookup.dataObj to do a manual count, but I’m wondering if there is a way to present the Boolean as 1 or 0 and aggregate normally? This total will also hopefully be a percentage.
Here’s my current tests for a manual count:
function getSignificantEventsPercent() { console.log(spjs.vLookup.dataObj); console.log(spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].count); console.log(spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].items[1].Significant_x0020_Event_x0020_KP); var countKPImet = 0; for (var currentItem = 1; currentItem <= spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].count; currentItem++){ if (spjs.vLookup.dataObj.vLookupSURsignificantEvents[1].items[currentItem].Significant_x0020_Event_x0020_KP == "Yes") { countKPImet++; } } // For currentItem console.log(countKPImet); }
- This reply was modified 9 years ago by Tony Bowes.
- This reply was modified 9 years ago by Tony Bowes.
Thanks, your solution works.
-
AuthorPosts