Updating HR11 User Fields with AGS

 5 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
ChuckM
Advanced Member
Posts: 24
Advanced Member
Using the many suggestions I received in these forums (thanks David) I have successfully created a custom HR11 form, which includes populating three fields with User Field data retrieved via DME. 

Using the portal debug feature and Ctl-Alt-A, I build my first AGS update to update the EMP-EMAIL-ADDRESS field. 

But like many who have tried, when I try to update one of the user fields, I get a Transaction complete message, but the field does not get updated. 

I saw where someone had posted a link that includes a .js file with code to handle user fields, but the link is old and broken.

Could someone post a current link to information on how to update HR11 User Fields via AGS?

TIA...ChuckM
ChuckM
Advanced Member
Posts: 24
Advanced Member
I am finally producing an AGS string to update a single HR11 User field...the string looks like so:



But I get a message back that says:



Any idea what he's trying to tell me?

TIA...ChuckM
Ragu Raghavan
Veteran Member
Posts: 477
Veteran Member
The UF has a list of allowed values. What you are sending in the AGS call, is not one of them.
115 is the message number under the category HRHEU.

ChuckM
Advanced Member
Posts: 24
Advanced Member
Thanks,  I think I have cleaned up my code sufficiently to let the user test it.  However, before I can do that I have one problem that needs to be solved:

My form has 5 fields that can be updated...the first is bound to EMP-EMAIL-ADDRESS.  The other four fields are not bound...they are my HR User Fields.

The problem is that in these four un-bound fields, the system will not allow me to enter more than 6-characters...even though the field extends half-way across the screen.  I have been unable to find an option that will let me change this.

Can someone shed some light on this?...TIA...Chuck
David Williams
Veteran Member
Posts: 1127
Veteran Member
Go into the Sorce tab and find the reference to your fields and adjust the field length there.
David Williams
ChuckM
Advanced Member
Posts: 24
Advanced Member
That did it...thanks again, David!