Josef Wainz

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Document sets? #24361
    Josef Wainz
    Participant

    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.

    in reply to: DFFS Working for Certain Users Only #24208
    Josef Wainz
    Participant

    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.

    in reply to: TypeError: Cannot read property 'init' of undefined #23807
    Josef Wainz
    Participant

    I’m in an SP Marketplace IT Portal site. They seem to have loaded DFFS using JSLink per this screenshot.

    Attachments:
    in reply to: Document sets? #22291
    Josef Wainz
    Participant

    Thanks Alexander, I’ll give that a try. Wanted to make sure it was a viable solution for SharePoint Online before spending the time.

    in reply to: Document sets? #22228
    Josef Wainz
    Participant

    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 5 years, 9 months ago by Josef Wainz.
    in reply to: SPJS-Lookup with SharePoint Online #21948
    Josef Wainz
    Participant

    Thanks Alexander,

    Changing the quotes and putting the query on 1 line worked!

    in reply to: SPJS-Lookup with SharePoint Online #21944
    Josef Wainz
    Participant

    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
    });

    in reply to: SPJS-Lookup with SharePoint Online #21942
    Josef Wainz
    Participant

    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/.

Viewing 8 posts - 1 through 8 (of 8 total)