Josef Wainz
Forum Replies Created
-
AuthorPosts
-
September 26, 2026 at 18:58 in reply to: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON #39686
Thanks Alexander, it is working again.
September 24, 2026 at 23:08 in reply to: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON #39681So I updated both files, replacing
-Direction=” with Description=” in setup.html
-a.fieldSchema.Direction with a.fieldSchema.Description in DFFS_JSLink.jsWhen I run setup.html I get:
Some content didn't load. A script didn't run correctly on this page. Some content may be missing or not work as expected. Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined (about:srcdoc:679:2)Any ideas?
September 24, 2026 at 22:54 in reply to: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON #39680Thank you Alexander. Would you please point me to some instructions on the [“reinstall” the config on the loader-field] step in your response?
Alex,
Is it possible to install the old JSLink version side by side with the latest version? If so, can you point me to some guidance.
All the SPJS files were checked out. For some reason Title was a required field. I modified the Document Content Type at the Doc Lib level and made it Optional, then checked all the files in.
Tabs are working now for everyone. Thanks.
I’m in an SP Marketplace IT Portal site. They seem to have loaded DFFS using JSLink per this screenshot.
Attachments:
Thanks Alexander, I’ll give that a try. Wanted to make sure it was a viable solution for SharePoint Online before spending the time.
Hi Alex,
Where does DFFS stand in regards to Document Sets and SharePoint Online? I really need a tabbed interface when creating a new Doc Set.
Is there a work around?
-
This reply was modified 8 years, 1 month ago by
Josef Wainz.
Thanks Alexander,
Changing the quotes and putting the query on 1 line worked!
Here is the entire Custom JS:
spjs.lookup.init({
“fieldToConvertToDropdown”: [
“DFFSLookup”
],
“listName”: “List for FLow”,
“listBaseUrl”: “/sites/dev”,
“optTextFieldInternalName”: “Title”,
“optValFieldInternalName”: “ID”,
“orderBy”: {
“fin”: “Title”,
“ascending”: true
},
“clearInvalidSelections”: true,
“filterObj”: {
“on”: true,
“folder”: “”,
“CAML”: <Where>
<Eq>
<FieldRef Name=”Result” />
<Value Type=”Text”>Approve</Value>
</Eq>
</Where>,
“fin”: “Result”,
“isLookup”: false,
“operator”: “”,
“filterVal”: “”
},
“dropDownDefaultvalue”: “”,
“parseFunction”: “”,
“addYouOwnValue”: {
“on”: false,
“linkText”: “Write your own value”
},
“addToExternalList”: {
“on”: false,
“customFunction”: null,
“linkText”: “Add new item”,
“saveNewItemText”: “Save new item”
},
“debug”: false
});The lookup works now, except for the filter. Here is the filterObj:
“filterObj”: {
“on”: true,
“folder”: “”,
“CAML”: <Where>
<Eq>
<FieldRef Name=”Result” />
<Value Type=”Text”>Approve</Value>
</Eq>
</Where>,The parser errors on <Value Type=”Text”>Approve</Value> with: “Unclosed regular expression”
Below is from F12 > Console:
init.js:1 Uncaught DOMException: Failed to read the ‘cssRules’ property from ‘CSSStyleSheet’: Cannot access rules
at q (https://static.sharepointonline.com/bld/_layouts/15/16.0.8015.1218/init.js:1:171491)
at https://static.sharepointonline.com/bld/_layouts/15/16.0.8015.1218/init.js:1:172368
at arguments.(anonymous function) (https://static.sharepointonline.com/bld/_layouts/15/16.0.8015.1218/init.js:1:99822)
jquery.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/. -
AuthorPosts
