fiori-dynamic-feature-control
Making one object page field non-editable from the value of another, implemented twice — through a default-value entity with side effects, and through a virtual element with a CAP Java handler.
The rule is a single line of business logic — stock stops being editable once status is 2 — and the sample exists because the two ways of expressing it in CAP Java pull in different machinery. The article linked from the repository walks through both.
Facts
Where it sits
Who is behind it
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
Before choosing this
Signals
LicenceNo licenseNeither the package manifest nor the repository tree declares a licence
Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
- Runtime
- Java
As a sample
- Form
- does not say
Connections
Describing a service so a Fiori client renders it without UI code
Download
Learn more
- CAP JavaでObject Pageの項目の動的な入力制御を実装するCAP JavaでObject Pageの項目の動的な入力制御を実装するTwo ways to make an object page field editable or not from the value of another field in CAP Java, with the same rule implemented both ways. The first routes the decision through a separate entity holding default values, reached by Side Effects annotations; the second adds a virtual element the Java event handler fills. The piece is about the trade the two make — annotation-only versus a handler that runs — rather than about which is correct, and the running code is the repository it links.published 2025-10-13Mio Yasutake, Qiita
README
quoted from miyasuta/fiori-dynamic-feature-control, read目的
Object Pageでの動的な項目制御の検証
Object Pageで"status"に2が設定された場合、"stock"を入力不可にする
詳細は以下の記事を参照: https://qiita.com/tami/items/2241fb388ce26d4e65f2
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:miyasuta-fiori-dynamic-feature-control- JSON
- /artifacts/miyasuta-fiori-dynamic-feature-control.json
- MCP
- Connecting an agent