Category Archives: Info

Breaking change in SharePoint online – Error with webservice calls: Value does not fall within the expected range

January 22 10:30PM: I got feedback from Microsoft and have verified that the problems is fixed.

When using the /_vti_bin/lists.asmx webservice call to a list to retrieve multichoice people picker fields, multichoice lookup fields or multichoice managed metadata fields it fails with this error:

Value does not fall within the expected range.

The error goes away when changing the fields back to single choice.

This will affect queries where you use spjs.utility.queryItems and spjs.utility.getItemByID in your CustomJS.

The issue does not affect all tenants at this moment, but the support ticked with Microsoft has been escalated to the product engineering team. Hopefully it will be resolved soon.

I’ll update this page as soon as I hear back from Microsoft.

Alexander

How to create a modern site with support for DFFS in SPO

Create the site

Unfortunately Microsoft have removed the scripting capability from the default templates in SharePoint Online, and this makes using Dynamic Forms for SharePoint impossible in these sites.

To have a modern site which scripting capabilities you must pick this template:

Using the Modern Content Editor Web Part will unfortunately not let you use DFFS in the NO SCRIPT templates.

Connect an Office 365 group (optional)

If you like to connect an Office 365 group to this new site you can follow the instructions here.

Alexander

Out of office

Hi,
I’m going on a vacation and have limited access to email. I’ll go through emails and forum questions every night, but cannot reply to all.

I plan to be back on Monday 22, 2018.

Best regards,
Alexander

DFFS package updated

I have made some further enhancements to the require.js loading method for “Custom JS files” in the Custom JS tab. Based on the feedback,  I’m fairly confident it will work as it did before Microsoft decided to include require.js in SharePoint online.

Read the change log to see all changes.

Please post any feedback on this version in the comments below, or in the forum.

Best regards,
Alexander

DFFS v4.4.3.5 – hopefully sorted the custom js loading files issue

Thanks for the patience!

I have now released a new version with a few changes, and hopefully a final fix for the loading custom js files problem. See change log and additional help text in the Custom JS tab in DFFS.

In addition to the hopefully last fix on the load custom js files, I have made a a hopefully significant improvement on the load time in large forms. Please report back how the load time changes with this new version.

Post your findings below, or use the forum.

Best regards,
Alexander