Wish list
If you like this blog and want to say thanks in some way, here is my wish-list on Amazon. It'll be very cool to get a gift from my subscribers. Just don't forget to put your name on it -)Tags
Tag Archives: Screen
Switch to Attached Documents Page
A while back, when I worked with HR.Net version 3, I came up with a bunch of random JavaScript hacks. Now I’m working with version 4. JavaScript API has been changed and some of my tricks do not work in … Continue reading
Autosave a screen
I had a question asked ages ago about Auto-Save of a screen. And Dan Hutson have just posted an answer to this question: // auto-save after this many minutes var countDown = 15; // get current time at screen load … Continue reading
Find screens by name
Ever struggled to find the screen called “something” in a tree of folders? This script will give you full location of the screen with all the folders. Just change the name in the where-clause and run this against the HRNET … Continue reading
Disable Form Validation When Saving Workflow as a Draft
Again, thanks Dan Huston for a great question which was this: Is it possible to distinguish between when a workflow form is being submitted and when the user is saving it to their drafts folder? We have times when the … Continue reading
Posted in Uncategorized
Tagged code, custom script, javascript, Screen, snippet, validation, workflow, Workflows
3 Comments
Find screens that edit particular field in a table
As a follow-up from yesterday post about finding workflows that change field in a table, today I needed to find all the screens that contain particular field from a table. Here is the SQL query: select pppf.folder_name as [Folder], ppf.folder_name … Continue reading
JavaScript events triggered on screen via custom script
JavaScript has various event handlers, like onChange or onMouseOver. In HR.Net it is not obvious how things work and how to trigger functions based on events.. Here are some tips: This is how to trigger event when date field on … Continue reading
Screen Validation
Many times I need to validate entries on the screen via JavaScript (or Custom Script, in terms of HR.Net). For about a year I struggled with validation via overloading function “Page_ClientValidate“. But when you overload this function, you can’t run … Continue reading
Posted in Uncategorized
Tagged code, custom script, javascript, Screen, snippet, validation
3 Comments
Java Script to hide groups of fields
With version 3 of HR.Net (Yes, I know, there is version 4 out ages ago) Vizual gave ability to insert JavaScript into Screens and Workflows. And I have been using this ability rather a lot on screen. Very often you … Continue reading
Failed to insert a record via a Screen.
During the export of our legacy Issue Tracking system into HR.Net, I faced a problem that looks like this: The error was saying that something inside HR.Net do miss field called NOTENO in table ISSUENOTES. During the export of the … Continue reading
Message “The child record you are trying to save does not have any parent record.” when adding data.
Describes an issue that can occur when a save for a new record opened from a datagrid is attempted. Message “The child record you are trying to save does not have any parent record.” displayed when clicking save on a … Continue reading