Table of Contents |
---|
exclude | This is a detailed.* |
---|
|
Application Maintenance
...
<TODO>Rush's notes</TODO>
...
...
Code Description | What is being done? |
---|
onNew | - Call SC_GetUser service which pre-populates certain fields for the user who is filling out the form (i.e. initiating the request) — information is fetched based on authenticated user's NetID
Call SC_GetDeptList service. This populates the "What UConn department...?" dropdown initally with:
orgCode = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Saved Value
orgName = Foreign National Form > Personal Information > What UConn department are you working for? > Options > Displayed Value - We are binding to onCallFinished so that we can do couple of things:
- Create a new array of selectable options; next, with the new array the first thing we do is add the first option that should be displayed/selectable by the user, per customer request: "NOT APPLICABLE, NON-EMPLOYEE"
- Then, we iterate through the current options and combine the `Saved value and Displayed value` to create a `Department Name — Code` string per each current option, and before moving to the next option in the list we add this new to the new array
- Finally, we set the "What UConn department...?" dropdown with the `new array`
- This allowed us to eliminate the hidden dropdown altogether and improve the QoC (Quality of Code)
- One last improvement we did was; we moved this logic from onLoad to onNew... we do not need to execute the service call each time a form is loaded... because once the Record Initiator submits, if we had left it in onLoad, the code would have executed it again...Why? So overall, albeit minuscule, we improved the form's performance over the life of it
|
...
Service Name | Why did you create this service and what does it do? |
---|
|
|
|
|
|
|
...
Post Production/Go-Live Enhancements
v1.1
Task # | Task | Developer Notes | Type | Status |
---|
1 | Change the Action Confirmation Message, of when the user submits the form, as requested |
| Enhancement | |
2 | Change the Confirmation Email that the user receives after submitting the form, as requested - Follow-up request: Added Salutation
- Follow-up request: Added T&C Dept. signature
|
| Enhancement | |
3 | If the user saves the form as a draft PRIOR TO selecting a department, the next time the user goes back to the form (i.e. resumes the draft), the department list won't be populated / i.e. the drop-down won't be populated with the list of departments that the user can pick from | I noticed this while I was doing (dev) testing... so I rectified this bug by moving the logic that populates department dropdown from "onNew" event to "onLoad" — apparently, as soon as the user saves the form as a draft, it is no longer considered a "New" form... | Bug Fix | |
4 | Since the SSN/TIN field is: not required AND part of the section that auto-populates, the customer was concerned that the user might skip over that field... so requested if the field could be highlighted... | The field had a custom class already; all that was needed to be done was some jQuery magic | Enhancement | |