Skip to content

RestrictedMode field definition - has it become obsolete?  #8880

@MathieuMarchant

Description

@MathieuMarchant

What type of issue is this?

Documentation issue / typo

What SharePoint development model, framework, SDK or API is this about?

Declarative list formatting

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Google Chrome Version 111.0.5563.148

Issue description

The documentation of RestrictedMode states the following:
https://github.com/SharePoint/sp-dev-docs/blob/main/docs/schema/field-element-field.md#attributes

RestrictedMode Optional Boolean. TRUE to not allow the Note field to contain enhanced rich text formatting, such as pictures, tables, or hyperlinks, nor to allow pasting formatted text into the field.

However when creating both a "Plain Text" and an "Enhanced rich text" multiple lines of text field, in the SchemaXml defintion the RestrictedMode is nowhere to be seen. It seems as if the rich text properties of a Note field are purely defined by the RichtText boolean field and the RichTextMode.

If so, can it be clearly pointed out that "RestrictedMode" has become obsolete? Or if it hasn't, can it be cleared out in which scenario it should be used or why it is there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:otherCategory: unknown (does not fit any other category)type:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions