Skip to content

Created Client Script to Conditional Display of Section on User Role #1566

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

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

prash5595
Copy link
Contributor

I created folder code-snippets -> client scripts -> Conditional Form Section based on Role

OnLoad client script to conditionally display the section based on the logged in user role. For instance, manager can see budget approval section, others cannot.

Created README.md
Created script.js

@am-shakeel am-shakeel self-assigned this Oct 30, 2024
Copy link

@am-shakeel am-shakeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@am-shakeel am-shakeel merged commit 7566048 into ServiceNowDevProgram:main Oct 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants