Tony Bowes

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • in reply to: v2 Installer on multiple subsites #27984
    Tony Bowes
    Participant

    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

    in reply to: v2 Installer on multiple subsites #27956
    Tony Bowes
    Participant

    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

    in reply to: v2 Installer on multiple subsites #27952
    Tony Bowes
    Participant

    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.

    in reply to: v2 Installer on multiple subsites #27923
    Tony Bowes
    Participant

    Sorry, should have mentioned: DFFS Installer v2.0.0.6 – November 27, 2019

    in reply to: NewForm vLookup edit children #13430
    Tony Bowes
    Participant

    Edit item visible in: NewForm
    Working well. Thanks.

    in reply to: vLookup as read-only #13428
    Tony Bowes
    Participant

    Works perfectly. Thanks!

    in reply to: vLookup as read-only #13232
    Tony Bowes
    Participant

    Thanks, looking forward to it 😉

    in reply to: NewForm vLookup edit children #13125
    Tony Bowes
    Participant

    Thanks for the support.

    in reply to: Open child file link in new window #13116
    Tony Bowes
    Participant

    Thanks Alexander. I have done a full update and it’s working now.

    in reply to: NewForm vLookup edit children #13113
    Tony Bowes
    Participant

    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:
    in reply to: Set additional fields #12465
    Tony Bowes
    Participant

    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.

    in reply to: SP-JS Lookup inEdit Page #12409
    Tony Bowes
    Participant

    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.

    in reply to: average total type on vLookup #9365
    Tony Bowes
    Participant

    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 8 years, 5 months ago by Tony Bowes.
    in reply to: average total type on vLookup #9355
    Tony Bowes
    Participant

    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 8 years, 5 months ago by Tony Bowes.
    • This reply was modified 8 years, 5 months ago by Tony Bowes.
    in reply to: average total type on vLookup #9270
    Tony Bowes
    Participant

    Thanks, your solution works.

Viewing 15 posts - 1 through 15 (of 20 total)