Skip to content

setReadOnly:Error #166

@GermanBob

Description

@GermanBob

Hi,
I try to set the Author field on an Item but I get everytime an error "Uncaught [SharepointPlus 'setReadOnly']: the list ID/Name is required"

I try this at the end:
$SP().list("Listname").setReadOnly("Author", false)
.then(function () {
$SP().list("Listname").update({ ID: 1, Author: 1478 })
});
I tried the same with add but I get the same error.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions