Forum Replies Created
-
AuthorPosts
-
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 6 years, 2 months 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