-
Notifications
You must be signed in to change notification settings - Fork 9
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
Additional common table functions #9
Comments
Added: Get-SNOWSCRequestedItem |
Gone down a bit of rabbit hole with this one. Figured I'd make a 'functionBuilder', since the underlying framework is set and the process is the same to create new TABLE CRUD functions. I've come up with a script that, given the input of a table name and function name, it will pull all the associated fields for that table from sys_dictionary & their types. It will use the boilerplate for the template CRUD functions and just fill in the parameter set based on those fields. Then spit out a function.ps1 file in the correct folder & add it to the manifest. Only looking at the GET function builder at the moment... I've noticed two issues so far, some fields are not listed in my method to pull from sys_dictionary, not sure if this is to do with classes/extended from tables etc. |
I've fixed the issue with sysparm_query and literal values. Currently I'm looking up all sys_dictionary definitions based on the table name. |
Function builder enhancement #24 |
Completed initial functionality of function builder.
|
Once #7 is completed, the most common table functions should be added for basic use.
Incident
Request
RequestedItem
Task
Approvals
Change
The text was updated successfully, but these errors were encountered: