Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
2a9f65a1
Commit
2a9f65a1
authored
4 years ago
by
Tom Lutzenberger
Browse files
Options
Downloads
Patches
Plain Diff
#1058862: Entity Dokumentation
parent
a4b4a485
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
entity/Usersettings_entity/Usersettings_entity.aod
+1
-0
1 addition, 0 deletions
entity/Usersettings_entity/Usersettings_entity.aod
entity/Usersettings_entity/documentation.adoc
+44
-0
44 additions, 0 deletions
entity/Usersettings_entity/documentation.adoc
with
45 additions
and
0 deletions
entity/Usersettings_entity/Usersettings_entity.aod
+
1
−
0
View file @
2a9f65a1
...
...
@@ -2,6 +2,7 @@
<entity
xmlns=
"http://www.adito.de/2018/ao/Model"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
VERSION=
"1.3.14"
xsi:schemaLocation=
"http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14"
>
<name>
Usersettings_entity
</name>
<majorModelMode>
DISTRIBUTED
</majorModelMode>
<documentation>
%aditoprj%/entity/Usersettings_entity/documentation.adoc
</documentation>
<title>
Settings
</title>
<grantDelete
v=
"false"
/>
<afterUiInit>
%aditoprj%/entity/Usersettings_entity/afterUiInit.js
</afterUiInit>
...
...
This diff is collapsed.
Click to expand it.
entity/Usersettings_entity/documentation.adoc
0 → 100644
+
44
−
0
View file @
2a9f65a1
= Usersettings_entity
== Overview
=== Definition
Entity to read, write and handle user settings.
=== Purpose
Enables users to edit their own settings and change their password.
=== Particularities
* The settings are stored in the table `ASYS_USERS` as key-value pairs and therefore direct access via DB container is not possible
* The read/write logic is implemented in the `UserSettings_lib` and will be accessed in the jDito Container
* The field `UID` exists to prevent errors but is not actually needed
== Related entities
-
== Best Practice
-
== FAQ
[qanda]
How can I add more fields to the settings view?::
You need to do the following:
* Add a new field to this entity. The name must be the same as in the users data model/the settings table
* Add the field to `UsersettingsEdit_view`
* Add the name of the field to the arrays in `UserSettings_lib`. Most of them are located in the user objects `params` property => `paramSettings`
Which setting fields are possible?::
You can find out if you have a look at the return value of `tools.getCurrentUser()`
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment