Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kmxo committed Oct 1, 2024
1 parent b2e4cc1 commit 6235457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Server Side/HideRelatedList/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Leaving this question of personas aside and focusing on the problem, what would
The first workaround that came to my mind was to hide the Approval list if the user who registered was viewing his own record.
A workaround is not the ultimate solution. Just a palliative fix while we find time to think about the ideal one.


# The action plan

1) Every record has a field called sys_created_by;
Expand Down
1 change: 1 addition & 0 deletions Server Side/HideRelatedList/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ function onLoad() {
if (createdBy == loggedUser) {
g_form.hideRelatedList('put your related list name here');
}

}

0 comments on commit 6235457

Please sign in to comment.