Skip to content

Default value #1608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Default Value/Default Value.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Default Value/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Scenario: Clerks want to create a special handling note. As an admin, I want to limit those that can see the special handling notes to only view notes with the same Location on their user record. To do this, I added a field on the special handling note "u_location" so the form has a reference field for the signed-in user. When a new special handling note record is loaded, the field is filled in with the Location on their user record without having to use GlideAjax. Now we have a field for an ACL to reference.

Application: Add the field, then go to the dictionary and place the @Default Value snippet in the Default Value field. Replace "u_location" with your field name.
Loading