Skip to content
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

gliderecord_get_method.js #170

Closed
wants to merge 1 commit into from
Closed

gliderecord_get_method.js #170

wants to merge 1 commit into from

Conversation

pallipoina92
Copy link

Shortcut GlideRecord Queries with get

Shortcut GlideRecord Queries with get
@SapphicFire SapphicFire self-assigned this Oct 31, 2024
Copy link

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

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

It appears that this contribution is a duplicate or resembles spam, potentially aiming to game the Hacktoberfest event. As a reminder, submissions marked as spam may lead to account restrictions or disqualifications. Please ensure to make unique and meaningful contributions, and refrain from spamming or duplicating submissions. Closing this as spam.

Comment on lines +2 to +3
if(grInc.get('57af7aec73d423002728660c4cf6a71c')){
grInc.short_description = "Hactoberfest_2024";

Choose a reason for hiding this comment

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

Don't use specific values in syntax_macros as these should be generalised. Additionally, don't swap between " and ' as this adds confusion.

Lastly, use setValue('field',value) as a setter for your short description

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