0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Sharepoint] リストのフォームをセクション分けする

Last updated at Posted at 2025-02-20

参照リンク:
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration

リストの任意のレコードを選択し、フォームを開く、
右上の「フォームの編集」⇒「レイアウトの構成」を選択する。

{B812AF6D-6BF4-4491-BE99-8CA5686AAC7B}.png

書式の適用先をクリックして、本文を選ぶ

{E046BEB2-15E3-4EC0-BCAD-016B5D514578}.png

参照先リンクの内容を元に
必要に応じてセクションを追加し、カラムを配置する。

基本構文:

{
  "sections": [
    {
      //give a display name for the section
      "displayname": "",
      "fields": [
        //reference your fields here using their display name
        "Title"
      ]
    },
    {
      //give a display name for the section
      "displayname": "",
      "fields": [
        //reference your fields here using their display name
      ]
    }
  ]
}

※セクション内で指定した列が1行に並んで表示される。
※displaynameを省略するとセクション名がないので、複数セクションを1セッションぽっく見せることができる。
※カラムの表示順番は「リストの設定」の「列の順序」で指定する。

{78BC8BD2-BBCE-487D-AD0D-EC40024D81D9}.png

こんなイメージになりますよ(かなり適当に作った):
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?